Tryton - Issues



Title Client crash when user name on Windows has special character
Priority bug Status need-eg
Superseder Nosy List ced, oscar
Type crash Components
Assigned To Keywords

Created on 2016-08-21.16:32:15 by oscar, last changed by ced.

msg27843 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2016-08-21.17:23:37
If it is easy, please provide the full traceback if you want to ease the job.
msg27841 (view) Author: [hidden] (oscar) (Tryton translator) Date: 2016-08-21.16:58:14
As I say dont have all traceback, but reproduce it is easy,

1. On windows create a new OS user Windows using on name 'ñ' and spaces, example:'carlos cataño'

2. Install tryton 4.0 with the user session

3. Try start Tryton client with this new user.
msg27839 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2016-08-21.16:41:01
We need the full traceback.
msg27837 (view) Author: [hidden] (oscar) (Tryton translator) Date: 2016-08-21.16:32:14
When user name on Windows OS has special character has "ñ" tryton client crash when user try start the login, example:

c:/users/my name with ñ/documents/...

This is traceback:
File "ntpath.pyc", line 85, in join
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf1 in position 22: invalid...

the last part of the traceback is no visible because is a sended photo by user, sorry.
Date User Action Args
2016-08-21 17:23:37cedsetmessages: + msg27843
2016-08-21 16:58:14oscarsetmessages: + msg27841
2016-08-21 16:41:01cedsetstatus: unread -> need-eg
nosy: + ced
messages: + msg27839
2016-08-21 16:32:15oscarcreate

Showing 10 items. Show all history (warning: this could be VERY long)