-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.6.0-HF34, 5.8.0-HF12, 5.9.3
-
Component/s: Nuxeo Drive
- Crashes at startup if user home path contains non ascii characters, typically C:\Users\Michaƫl\Documents\Nuxeo Drive:
2014-04-11 13:46:52,700 3368 4776 ERROR nxdrive.commandline Error executing 'launch': 'ascii' codec can't encode character u'\xeb' in position 14: ordinal not in range(128) Traceback (most recent call last): File "nuxeo-drive-client\nxdrive\commandline.py", line 341, in handle File "nuxeo-drive-client\nxdrive\commandline.py", line 355, in launch File "nuxeo-drive-client\nxdrive\gui\application.py", line 120, in __init__ File "nuxeo-drive-client\nxdrive\gui\application.py", line 585, in start_synchronization_thread File "nuxeo-drive-client\nxdrive\gui\application.py", line 581, in settings File "nuxeo-drive-client\nxdrive\gui\settings.py", line 557, in prompt_settings File "nuxeo-drive-client\nxdrive\gui\settings.py", line 86, in __init__ File "nuxeo-drive-client\nxdrive\gui\settings.py", line 134, in get_account_box UnicodeEncodeError: 'ascii' codec can't encode character u'\xeb' in position 14: ordinal not in range(128)
- Crashes when trying to validate account settings if password contains non ascii characters:
Traceback (most recent call last): File "/home/ataillefer/sources/nuxeo/addons/nuxeo-drive/nuxeo-drive-client/nxdrive/gui/settings.py", line 285, in accept if not self.callback(values, self): File "/home/ataillefer/sources/nuxeo/addons/nuxeo-drive/nuxeo-drive-client/nxdrive/gui/settings.py", line 430, in validate if not bind_server(values, proxy_settings, dialog): File "/home/ataillefer/sources/nuxeo/addons/nuxeo-drive/nuxeo-drive-client/nxdrive/gui/settings.py", line 522, in bind_server password = str(values['password']) UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-1: ordinal not in range(128)