Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-14224

Drive: encoding issues

    XMLWordPrintable

    Details

      Description

      • 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)
        

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: