-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Nuxeo Drive
A file containing ":
C:\Program Files\nuxeo-drive>ndrive bind-root "/default-domain/workspaces/sales/ proposal-eu/UNIVERSITE DE STRASBOURG/" 2012-09-21 14:56:43,211 INFO nxdrive.controller Binding local root 'C:\Users \Martin\My Documents\Nuxeo Drive\UNIVERSITE DE STRASBOURG' to 'UNIVERSITE DE STR ASBOURG' (id=08a8eefd-a91c-4b7d-8c25-6026a1376253) on server 'https://intranet.n uxeo.com/nuxeo' Traceback (most recent call last): File "C:\Python27\lib\site-packages\cx_Freeze\initscripts\Console.py", line 27 , in <module> File "bin/ndrive", line 6, in <module> File "C:\Jenkins\workspace\IT-nuxeo-drive-master-windows\nuxeo-drive-client\nx drive\commandline.py", line 288, in main File "C:\Jenkins\workspace\IT-nuxeo-drive-master-windows\nuxeo-drive-client\nx drive\commandline.py", line 206, in handle File "C:\Jenkins\workspace\IT-nuxeo-drive-master-windows\nuxeo-drive-client\nx drive\commandline.py", line 247, in bind_root File "C:\Jenkins\workspace\IT-nuxeo-drive-master-windows\nuxeo-drive-client\nx drive\controller.py", line 325, in bind_root File "C:\Jenkins\workspace\IT-nuxeo-drive-master-windows\nuxeo-drive-client\nx drive\controller.py", line 359, in _local_bind_root File "C:\Jenkins\workspace\IT-nuxeo-drive-master-windows\nuxeo-drive-client\nx drive\controller.py", line 396, in _recursive_init File "C:\Jenkins\workspace\IT-nuxeo-drive-master-windows\nuxeo-drive-client\nx drive\controller.py", line 393, in _recursive_init File "C:\Jenkins\workspace\IT-nuxeo-drive-master-windows\nuxeo-drive-client\nx drive\client.py", line 218, in make_file IOError: [Errno 22] invalid mode ('wb') or filename: u'C:\\Users\\Martin\\My Doc uments\\Nuxeo Drive\\UNIVERSITE DE STRASBOURG\\Offres et commandes\\Offre Format ion "modules candidatures" Univ_Strasbourg.odt'
A file in a folder containing containing é.
Note that if bind-root argument is folder without é, with a child folder containing é, there is no error.
C:\Program Files\nuxeo-drive>ndrive bind-root "/default-domain/workspaces/sales/ proposal-eu/UNIVERSITE DE STRASBOURG/Dépot de candidatures/" Traceback (most recent call last): File "C:\Python27\lib\site-packages\cx_Freeze\initscripts\Console.py", line 27 , in <module> File "bin/ndrive", line 6, in <module> File "C:\Jenkins\workspace\IT-nuxeo-drive-master-windows\nuxeo-drive-client\nx drive\commandline.py", line 288, in main File "C:\Jenkins\workspace\IT-nuxeo-drive-master-windows\nuxeo-drive-client\nx drive\commandline.py", line 206, in handle File "C:\Jenkins\workspace\IT-nuxeo-drive-master-windows\nuxeo-drive-client\nx drive\commandline.py", line 247, in bind_root File "C:\Jenkins\workspace\IT-nuxeo-drive-master-windows\nuxeo-drive-client\nx drive\controller.py", line 299, in bind_root File "C:\Jenkins\workspace\IT-nuxeo-drive-master-windows\nuxeo-drive-client\nx drive\controller.py", line 752, in get_remote_client File "C:\Jenkins\workspace\IT-nuxeo-drive-master-windows\nuxeo-drive-client\nx drive\client.py", line 320, in __init__ File "C:\Jenkins\workspace\IT-nuxeo-drive-master-windows\nuxeo-drive-client\nx drive\client.py", line 581, in fetch File "C:\Jenkins\workspace\IT-nuxeo-drive-master-windows\nuxeo-drive-client\nx drive\client.py", line 694, in _execute File "C:\Python27\lib\json\__init__.py", line 231, in dumps return _default_encoder.encode(obj) File "C:\Python27\lib\json\encoder.py", line 201, in encode chunks = self.iterencode(o, _one_shot=True) File "C:\Python27\lib\json\encoder.py", line 264, in iterencode return _iterencode(o, 0) UnicodeDecodeError: 'utf8' codec can't decode byte 0xe9 in position 71: invalid continuation byte
- depends on
-
NXP-11011 Manage encoded filename and content
- Resolved