-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: Nuxeo Drive
-
Sprint:drive-8.1-2
Because the file system item sent by the server doesn't have any digestAlgorithm.
2015-12-16 14:59:06,926 5751 139672992487168 DEBUG nxdrive.engine.watcher.remote_watcher Remote full scan 2015-12-16 14:59:07,174 5751 139672992487168 DEBUG nxdrive.engine.watcher.remote_watcher Remote scanning: / 2015-12-16 14:59:07,211 5751 139672992487168 DEBUG nxdrive.engine.watcher.remote_watcher Remote scanning: /GoogleDocs 2015-12-16 14:59:07,211 5751 139673730422528 DEBUG nxdrive.wui.application Updated icon state to: transferring 2015-12-16 14:59:07,288 5751 139672992487168 ERROR nxdrive.engine.watcher.remote_watcher 'NoneType' object has no attribute 'lower' Traceback (most recent call last): File "/home/ataillefer/sources/nuxeo/addons/nuxeo-drive/nuxeo-drive-client/nxdrive/engine/watcher/remote_watcher.py", line 335, in _handle_changes self._scan_remote() File "/home/ataillefer/sources/nuxeo/addons/nuxeo-drive/nuxeo-drive-client/nxdrive/engine/watcher/remote_watcher.py", line 109, in _scan_remote self._scan_remote_recursive(from_state, remote_info) File "/home/ataillefer/sources/nuxeo/addons/nuxeo-drive/nuxeo-drive-client/nxdrive/engine/watcher/remote_watcher.py", line 241, in _scan_remote_recursive mark_unknown=False, force_recursion=force_recursion) File "/home/ataillefer/sources/nuxeo/addons/nuxeo-drive/nuxeo-drive-client/nxdrive/engine/watcher/remote_watcher.py", line 211, in _scan_remote_recursive children_info = self._client.get_children_info(remote_info.uid) File "/home/ataillefer/sources/nuxeo/addons/nuxeo-drive/nuxeo-drive-client/nxdrive/client/remote_filtered_file_system_client.py", line 40, in get_children_info fs_item_id) File "/home/ataillefer/sources/nuxeo/addons/nuxeo-drive/nuxeo-drive-client/nxdrive/client/remote_file_system_client.py", line 115, in get_children_info return [self.file_to_info(fs_item) for fs_item in children] File "/home/ataillefer/sources/nuxeo/addons/nuxeo-drive/nuxeo-drive-client/nxdrive/client/remote_file_system_client.py", line 213, in file_to_info digest_algorithm = fs_item['digestAlgorithm'].lower().replace('-', '') AttributeError: 'NoneType' object has no attribute 'lower'
If the digestAlgorithm is defensively set to None by Drive then we have a CorruptedFile error at download because the download response contains the Google authentication HTML page.
- depends on
-
NXP-18059 Prevent From Updating Files for a Given Blob Provider
- Resolved
- is required by
-
NXDRIVE-510 File system item wth no digest algorithm brakes remote scan
- Resolved
-
NXP-18614 Distinguish cases for Blob provider user update prevention
- Open