-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 2.4.1
-
Fix Version/s: 2.4.2
-
Component/s: Local client
-
Tags:
-
Sprint:nxMS 9.2.2
-
Story Points:1
In LocalClient.is_ignored method, this snippet:
if not os.path.exists(path): return False attrs = win32api.GetFileAttributes(path)
can end on a weird exception due to FS cache:
Traceback (most recent call last): File "nuxeo-drive-client\nxdrive\engine\workers.py", line 180, in run File "nuxeo-drive-client\nxdrive\engine\watcher\local_watcher.py", line 114, in _execute File "nuxeo-drive-client\nxdrive\engine\watcher\local_watcher.py", line 252, in _scan File "nuxeo-drive-client\nxdrive\engine\watcher\local_watcher.py", line 520, in _scan_recursive File "nuxeo-drive-client\nxdrive\engine\watcher\local_watcher.py", line 532, in _push_to_scan File "nuxeo-drive-client\nxdrive\engine\watcher\local_watcher.py", line 520, in _scan_recursive File "nuxeo-drive-client\nxdrive\engine\watcher\local_watcher.py", line 532, in _push_to_scan File "nuxeo-drive-client\nxdrive\engine\watcher\local_watcher.py", line 520, in _scan_recursive File "nuxeo-drive-client\nxdrive\engine\watcher\local_watcher.py", line 532, in _push_to_scan File "nuxeo-drive-client\nxdrive\engine\watcher\local_watcher.py", line 520, in _scan_recursive File "nuxeo-drive-client\nxdrive\engine\watcher\local_watcher.py", line 532, in _push_to_scan File "nuxeo-drive-client\nxdrive\engine\watcher\local_watcher.py", line 520, in _scan_recursive File "nuxeo-drive-client\nxdrive\engine\watcher\local_watcher.py", line 532, in _push_to_scan File "nuxeo-drive-client\nxdrive\engine\watcher\local_watcher.py", line 330, in _scan_recursive File "nuxeo-drive-client\nxdrive\client\local_client.py", line 507, in get_children_info File "nuxeo-drive-client\nxdrive\client\local_client.py", line 481, in is_ignored error: (2, 'GetFileAttributes', 'The system cannot find the file specified.')