Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-1186

Fix several small issues related to long paths on Windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.6
    • Fix Version/s: 3.1.0
    • Component/s: Framework, OS Integration

      Description

      After analyzing 10 days of a regular user, we found several issues that do not require a complete issue each.

      Trash related

      2018-04-20 09:42:19 2908 8072 ERROR    nxdrive.engine.processor Pair error
      Traceback (most recent call last):
        File "nuxeo-drive-client\nxdrive\engine\processor.py", line 329, in _execute
      AttributeError: 'exceptions.WindowsError' object has no attribute 'trash_issue'
      
      2018-04-02 17:07:58 2780 11276 ERROR    nxdrive.client.local_client Cannot trash 'C:\\NuxeoDrive\\76BA-1604-LE HAVRE-Gymnase Jules Le Cesne\\4 calculs et etudes\\Structure\\Structure (FBOC)\\DCE\\Jeanne\\1604 - Gymnase Le havre\\Fondations dalles vestiaires'
      Traceback (most recent call last):
        File "nuxeo-drive-client\nxdrive\client\local_client.py", line 715, in delete
        File "C:\Users\jenkins\AppData\Roaming\Python\Python27\site-packages\send2trash\plat_win.py", line 58, in send2trash
      OSError: Couldn't perform operation. Error code: 2
      
      2018-04-10 09:11:25 5192 6560 ERROR    nxdrive.client.local_client Cannot trash 'C:\\NuxeoDrive\\35BA-0738-MORLAIX-R\xe9habilitation du mus\xe9e des Jacobins\\2 ETUDES\\01-Concours\\08-Plans\\Dossier 151016-PANNEAUX RENDU v4\\PERSPECTIVE EGLISE.pdf'
      Traceback (most recent call last):
        File "nuxeo-drive-client\nxdrive\client\local_client.py", line 715, in delete
        File "C:\Users\jenkins\AppData\Roaming\Python\Python27\site-packages\send2trash\plat_win.py", line 58, in send2trash
      OSError: Couldn't perform operation. Error code: 1223
      

      Misc

      2018-04-04 21:17:37 3808 6868 DEBUG    nxdrive.engine.watcher.local_watcher Handling watchdog event [modified] on u'C:\\NuxeoDrive\\35BA-0738-MORLAIX-R\xe9habilitation du mus\xe9e des Jacobins\\1 CORRESPONDANCES\\Envoy\xe9es\\Structure\\Mails\\0738-Emails(FBOC).pst'
      2018-04-04 21:17:38 3808 6868 ERROR    nxdrive.engine.watcher.local_watcher Watchdog exception
      Traceback (most recent call last):
        File "nuxeo-drive-client\nxdrive\engine\watcher\local_watcher.py", line 864, in handle_watchdog_event
        File "nuxeo-drive-client\nxdrive\engine\watcher\local_watcher.py", line 698, in _handle_watchdog_event_on_known_pair
        File "nuxeo-drive-client\nxdrive\engine\watcher\local_watcher.py", line 793, in _handle_watchdog_event_on_known_acquired_pair
        File "nuxeo-drive-client\nxdrive\client\local_client.py", line 417, in set_remote_id
      IOError: [Errno 13] Permission denied: u'\\\\?\\C:\\NuxeoDrive\\35BA-0738-MORLAIX-R\xe9habilitation du mus\xe9e des Jacobins\\1 CORRESPONDANCES\\Envoy\xe9es\\Structure\\Mails\\0738-Emails(FBOC).pst:ndrive'
      
      2018-04-11 12:02:36 4776 8124 ERROR    nxdrive.engine.workers Thread GenericProcessor(8124) exception
      Traceback (most recent call last):
        File "nuxeo-drive-client\nxdrive\engine\workers.py", line 185, in run
        File "nuxeo-drive-client\nxdrive\engine\processor.py", line 356, in _execute
        File "nuxeo-drive-client\nxdrive\engine\dao\sqlite.py", line 528, in release_state
        File "nuxeo-drive-client\nxdrive\engine\dao\sqlite.py", line 537, in release_processor
      OperationalError: database is locked
      
      2018-04-11 17:13:14 4776 6800 ERROR    nxdrive.engine.processor Unknown error
      Traceback (most recent call last):
        File "nuxeo-drive-client\nxdrive\engine\processor.py", line 248, in _execute
        File "nuxeo-drive-client\nxdrive\engine\processor.py", line 1000, in _synchronize_remotely_created
        File "nuxeo-drive-client\nxdrive\engine\processor.py", line 1055, in _create_remotely
        File "nuxeo-drive-client\nxdrive\engine\processor.py", line 834, in _download_content
        File "nuxeo-drive-client\nxdrive\client\remote_file_system_client.py", line 115, in stream_content
      IOError: [Errno 28] No space left on device
      

      Exceptions to make less verbose

      2018-04-05 16:35:17 1716 6156 ERROR    nxdrive.engine.watcher.remote_watcher Network error
      Traceback (most recent call last):
        File "nuxeo-drive-client\nxdrive\engine\watcher\remote_watcher.py", line 502, in _handle_changes
        File "nuxeo-drive-client\nxdrive\engine\activity.py", line 106, in func_wrapper
        File "nuxeo-drive-client\nxdrive\engine\watcher\remote_watcher.py", line 554, in _update_remote_states
        File "nuxeo-drive-client\nxdrive\engine\watcher\remote_watcher.py", line 525, in _get_changes
        File "nuxeo-drive-client\nxdrive\client\remote_file_system_client.py", line 299, in get_changes
        File "nuxeo-drive-client\nxdrive\client\base_automation_client.py", line 382, in execute
      SSLError: ('The read operation timed out',)
      
      2018-04-10 11:08:36 5192 2880 ERROR    nxdrive.engine.watcher.remote_watcher Network error
      Traceback (most recent call last):
        File "nuxeo-drive-client\nxdrive\engine\watcher\remote_watcher.py", line 502, in _handle_changes
        File "nuxeo-drive-client\nxdrive\engine\activity.py", line 106, in func_wrapper
        File "nuxeo-drive-client\nxdrive\engine\watcher\remote_watcher.py", line 554, in _update_remote_states
        File "nuxeo-drive-client\nxdrive\engine\watcher\remote_watcher.py", line 525, in _get_changes
        File "nuxeo-drive-client\nxdrive\client\remote_file_system_client.py", line 299, in get_changes
        File "nuxeo-drive-client\nxdrive\client\base_automation_client.py", line 382, in execute
      URLError: <urlopen error [Errno 10054] Une connexion existante a dû être fermée par l’hôte distant>
      
      2018-04-10 11:43:12 5192 2880 ERROR    nxdrive.engine.watcher.remote_watcher Network error
      Traceback (most recent call last):
        File "nuxeo-drive-client\nxdrive\engine\watcher\remote_watcher.py", line 492, in _handle_changes
        File "nuxeo-drive-client\nxdrive\engine\watcher\remote_watcher.py", line 435, in _partial_full_scan
        File "nuxeo-drive-client\nxdrive\engine\activity.py", line 106, in func_wrapper
        File "nuxeo-drive-client\nxdrive\engine\watcher\remote_watcher.py", line 108, in _scan_remote
        File "nuxeo-drive-client\nxdrive\engine\watcher\remote_watcher.py", line 184, in _do_scan_remote
        File "nuxeo-drive-client\nxdrive\engine\watcher\remote_watcher.py", line 326, in _scan_remote_recursive
        File "nuxeo-drive-client\nxdrive\engine\watcher\remote_watcher.py", line 179, in _do_scan_remote
        File "nuxeo-drive-client\nxdrive\engine\watcher\remote_watcher.py", line 214, in _scan_remote_scroll
        File "nuxeo-drive-client\nxdrive\client\remote_file_system_client.py", line 125, in scroll_descendants
        File "nuxeo-drive-client\nxdrive\client\base_automation_client.py", line 382, in execute
      SSLError: ('The read operation timed out',)
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h