-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Cannot Reproduce
-
Affects Version/s: None
-
Fix Version/s: 2.0.0522
-
Component/s: None
-
Backlog priority:350
-
Sprint:Sprint Drive 7.2-2
There are several cases:
- Deleting a local folder while its children are being created locally (downstream sync), causes the following:
2013-02-25 11:58:54,141 3816 140285974947584 ERROR nxdrive.synchronizer Failed to sync LastKnownState<local_folder=u'Nuxeo Drive', local_path=None, remote_name=u'JUCParis 2012 Nuxeo.v0.pdf', local_state=u'unknown', remote_state=u'created'> Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/nxdrive/synchronizer.py", line 757, in synchronize self.synchronize_one(pair_state, session=session) File "/usr/local/lib/python2.7/dist-packages/nxdrive/synchronizer.py", line 456, in synchronize_one local_info, remote_info) File "/usr/local/lib/python2.7/dist-packages/nxdrive/synchronizer.py", line 551, in _synchronize_remotely_created content=remote_client.get_content(doc_pair.remote_ref)) File "/usr/local/lib/python2.7/dist-packages/nxdrive/client/local_client.py", line 157, in make_file with open(os_path, "wb") as f: IOError: [Errno 2] Aucun fichier ou dossier de ce type: u'/home/ataillefer/Nuxeo Drive/Test Joe/confs/Jenkins/JUCParis 2012 Nuxeo.v0.pdf'
- Deleting a local file or a folder while it is created remotely (upstream sync):
2013-02-25 12:01:49,874 3816 140285974947584 ERROR nxdrive.synchronizer Failed to sync LastKnownState<local_folder=u'Nuxeo Drive', local_path=u'/Test Joe/organisation/retour_BD.txt', remote_name=None, local_state=u'deleted', remote_state=u'unknown'> Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/nxdrive/synchronizer.py", line 757, in synchronize self.synchronize_one(pair_state, session=session) File "/usr/local/lib/python2.7/dist-packages/nxdrive/synchronizer.py", line 453, in synchronize_one doc_pair.pair_state, doc_pair) RuntimeError: ('Unhandled pair_state: %r for %r', u'unknown', LastKnownState<local_folder=u'Nuxeo Drive', local_path=u'/Test Joe/organisation/retour_BD.txt', remote_name=None, local_state=u'deleted', remote_state=u'unknown'>)
- is required by
-
NXDRIVE-220 Deleting a remote folder while synchronizing its children from the client to the server crashes
- Resolved