-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.5.9
-
Fix Version/s: 3.0
-
Component/s: Synchronizer
-
Tags:
-
Sprint:nxMS 9.3.9
-
Story Points:2
Steps:
- server: synchronize a root containing accents
- client: wait for synchronization
- server: unsync the root
- client: wait for synchronization
Actual result:
- Nothing.
Expected result:
- Drive should remove locally the root.
In the logs, we can find:
2017-11-20 13:53:59 1484 2148 DEBUG nxdrive.engine.watcher.remote_watcher Handle remote changes, first_pass=False 2017-11-20 13:54:01 1484 2148 DEBUG nxdrive.engine.watcher.remote_watcher Push doc_pair u'/72BA-0682-BLOIS-CH-MOE R\xe9seaux ECS' in delete queue 2017-11-20 13:54:01 1484 2148 DEBUG nxdrive.engine.watcher.remote_watcher Marking doc_pair '<StateRow[7] local_path=u'/72BA-0682-BLOIS-CH-MOE R\xe9seaux ECS', remote_ref=u'defaultSyncRootFolderItemFactory#default#3c86441a-e909-4731-b866-5ff2cd13a97d', local_state=u'synchronized', remote_state=u'synchronized', pair_state=u'synchronized'>' as deleted 2017-11-20 13:54:01 1484 2148 ERROR nxdrive.engine.watcher.remote_watcher Unexpected error Traceback (most recent call last): File "e:\nuxeo-drive-client\nxdrive\engine\watcher\remote_watcher.py", line 487, in _handle_changes self._update_remote_states() File "e:\nuxeo-drive-client\nxdrive\engine\watcher\remote_watcher.py", line 759, in _update_remote_states self._dao.delete_remote_state(delete_pair) File "e:\nuxeo-drive-client\nxdrive\engine\dao\sqlite.py", line 666, in delete_remote_state c.execute(update + self._get_recursive_remote_condition(doc_pair), ('parent_remotely_deleted',)) File "e:\nuxeo-drive-client\nxdrive\engine\dao\sqlite.py", line 987, in _get_recursive_remote_condition ' OR remote_parent_path = "{0}"').format(remote_path) UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 88: ordinal not in range(128)