Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-116

Drive Edit fails to open files with accents

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.1107
    • Component/s: Direct Edit
    • Environment:
      Win 7
      IE 10
      MSOffice 2010 x86
      nuxeo-drive-1.3.1010-win32.msi

      Description

      See the two files attached:

      • Copie de test1.doc is edited and saved sucessfully with Drive Edit.
      • Copié de test1.doc (duplicated from Copie de test1.doc): nothing occurs when I click Edit with Drive.

      Here are the logs I get:

      2014-10-13 14:50:05,244 2992 1532 DEBUG    nxdrive.synchronizer [C:\Users\Nuxeo\Documents\Nuxeo Drive] - [https://nightly.nuxeo.com/nuxeo/]: synchronized: 0, pending: 0, local: 0.016s, remote: 0.515s sync: 0.015s
      2014-10-13 14:50:05,244 2992 1532 DEBUG    nxdrive.synchronizer Sleeping 4.454s
      2014-10-13 14:50:10,190 2992 1532 DEBUG    nxdrive.synchronizer [C:\Users\Nuxeo\Documents\Nuxeo Drive] - [https://nightly.nuxeo.com/nuxeo/]: synchronized: 0, pending: 0, local: 0.031s, remote: 0.375s sync: 0.016s
      2014-10-13 14:50:10,190 2992 1532 DEBUG    nxdrive.synchronizer Sleeping 4.578s
      2014-10-13 14:50:15,085 2992 1532 DEBUG    nxdrive.synchronizer [C:\Users\Nuxeo\Documents\Nuxeo Drive] - [https://nightly.nuxeo.com/nuxeo/]: synchronized: 0, pending: 0, local: 0.016s, remote: 0.251s sync: 0.016s
      2014-10-13 14:50:15,085 2992 1532 DEBUG    nxdrive.synchronizer Sleeping 4.715s
      2014-10-13 14:50:20,082 2992 1532 DEBUG    nxdrive.synchronizer [C:\Users\Nuxeo\Documents\Nuxeo Drive] - [https://nightly.nuxeo.com/nuxeo/]: synchronized: 0, pending: 0, local: 0.031s, remote: 0.203s sync: 0.000s
      2014-10-13 14:50:20,082 2992 1532 DEBUG    nxdrive.synchronizer Sleeping 4.766s
      2014-10-13 14:50:20,612 3016 2976 INFO     nxdrive.controller nxdrive installed in 'C:\Program Files (x86)\Nuxeo\Drive\appdata\nuxeo-drive-1.3.1010.win32\library.zip\nxdrive'
      2014-10-13 14:50:20,612 3016 2976 INFO     nxdrive.controller nxdrive configured in 'C:\Users\Nuxeo\.nuxeo-drive'
      2014-10-13 14:50:20,628 3016 2976 INFO     alembic.migration  Context impl SQLiteImpl.
      2014-10-13 14:50:20,628 3016 2976 INFO     alembic.migration  Will assume non-transactional DDL.
      2014-10-13 14:50:20,628 3016 2976 DEBUG    nxdrive.migration  Checking if SQLite database migration is needed.
      2014-10-13 14:50:20,628 3016 2976 DEBUG    nxdrive.migration  Head Alembic revision: 2f126b5f61a6
      2014-10-13 14:50:20,628 3016 2976 DEBUG    nxdrive.migration  Current Alembic revision: 2f126b5f61a6
      2014-10-13 14:50:20,628 3016 2976 DEBUG    nxdrive.migration  No migration to process as current Alembic revision in SQLite database is already the head revision.
      2014-10-13 14:50:20,644 3016 2976 DEBUG    nxdrive.commandline Command line: C:\Program Files (x86)\Nuxeo\Drive\appdata\nuxeo-drive-1.3.1010.win32\ndrivew.exe nxdrive://edit/https/nightly.nuxeo.com/nuxeo/repo/default/nxdocid/eb58a923-3129-4b82-b388-0b80ffef1dd9/filename/Copié de test1.doc
      2014-10-13 14:50:20,644 3016 2976 DEBUG    nxdrive.commandline Enabling faulthandler to trace segfaults in ~/.nuxeo-drive\logs\segfault.log
      2014-10-13 14:50:21,953 3016 2976 ERROR    nxdrive.commandline Error executing 'edit': 'ascii' codec can't decode byte 0xc3 in position 4: ordinal not in range(128)
      Traceback (most recent call last):
        File "nuxeo-drive-client\nxdrive\commandline.py", line 410, in handle
        File "nuxeo-drive-client\nxdrive\commandline.py", line 474, in edit
        File "nuxeo-drive-client\nxdrive\controller.py", line 1038, in locally_edit
      UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 4: ordinal not in range(128)
      2014-10-13 14:50:25,151 2992 1532 DEBUG    nxdrive.synchronizer [C:\Users\Nuxeo\Documents\Nuxeo Drive] - [https://nightly.nuxeo.com/nuxeo/]: synchronized: 0, pending: 0, local: 0.016s, remote: 0.203s sync: 0.015s
      2014-10-13 14:50:25,151 2992 1532 DEBUG    nxdrive.synchronizer Sleeping 4.766s
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: