-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.6.0-HF33, 5.8.0-HF10, 5.9.3
-
Component/s: Nuxeo Drive
-
Backlog priority:850
Like in this stack trace:
2014-01-27 09:07:20,437 1396 9060 ERROR nxdrive.synchronizer Failed to sync LastKnownState<local_folder=u'Nuxeo Drive', local_path=u'/path/to/my/file', remote_name=u'file', local_state=u'synchronized', remote_state=u'deleted', pair_state=u'remotely_deleted'>, blacklisting doc pair for 300 seconds Traceback (most recent call last): File "nuxeo-drive-client\nxdrive\synchronizer.py", line 1122, in synchronize File "nuxeo-drive-client\nxdrive\synchronizer.py", line 657, in synchronize_one File "nuxeo-drive-client\nxdrive\synchronizer.py", line 863, in _synchronize_remotely_deleted File "nuxeo-drive-client\nxdrive\synchronizer.py", line 212, in _delete_with_descendant_states File "nuxeo-drive-client\nxdrive\synchronizer.py", line 212, in _delete_with_descendant_states File "nuxeo-drive-client\nxdrive\synchronizer.py", line 236, in _delete_with_descendant_states File "nuxeo-drive-client\nxdrive\client\local_client.py", line 186, in exists File "nuxeo-drive-client\nxdrive\client\local_client.py", line 235, in _abspath AttributeError: 'NoneType' object has no attribute 'startswith'
Possible fxes:
- Defensive coding on ref parameter in LocalClient._abspath
- Avoid this case as it should not happen, by handling it in the caller: Synchronizer._delete_with_descendant_states, probably at line 236. This is the better solution.
- is required by
-
NXP-13077 Drive: allow to suspend / resume synchronization
- Resolved