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

Local watcher thread seems to stop in case of error in local scan

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0522
    • Component/s: Local watcher
    • Sprint:
      Sprint Drive 7.2-3
    • Story Points:
      2

      Description

      For instance when there is a a file whose name contains Unicode combining accents in the Drive folder, which is currently not handled, see NXDRIVE-188.

      2015-04-03 14:59:59,471 5068 1104 WARNING  nxdrive.engine.workers Thread LocalWatcher(1104) ended with exception : IOError(2, 'No such file or directory')
      2015-04-03 14:59:59,471 5068 1104 ERROR    nxdrive.engine.workers [Errno 2] No such file or directory: u'\\\\?\\K:\\Nuxeo Drive\\Projet Prineo\\CR\\CR CoPil du 19-12-2014\\Lille3_Prin\xe9o7_Perim\xe8tre_fonctionnel_2014-12-19.pdf'
      Traceback (most recent call last):
        File "nuxeo-drive-client\nxdrive\engine\workers.py", line 124, in run
        File "nuxeo-drive-client\nxdrive\engine\watcher\local_watcher.py", line 56, in _execute
        File "nuxeo-drive-client\nxdrive\engine\watcher\local_watcher.py", line 102, in _scan
        File "nuxeo-drive-client\nxdrive\engine\watcher\local_watcher.py", line 244, in _scan_recursive
        File "nuxeo-drive-client\nxdrive\engine\watcher\local_watcher.py", line 244, in _scan_recursive
        File "nuxeo-drive-client\nxdrive\engine\watcher\local_watcher.py", line 244, in _scan_recursive
        File "nuxeo-drive-client\nxdrive\engine\watcher\local_watcher.py", line 150, in _scan_recursive
        File "nuxeo-drive-client\nxdrive\engine\dao\sqlite.py", line 366, in insert_local_state
        File "nuxeo-drive-client\nxdrive\client\local_client.py", line 78, in get_digest
      IOError: [Errno 2] No such file or directory: u'\\\\?\\K:\\Nuxeo Drive\\Projet Prineo\\CR\\CR CoPil du 19-12-2014\\Lille3_Prin\xe9o7_Perim\xe8tre_fonctionnel_2014-12-19.pdf'
      2015-04-03 15:00:08,098 5068 1460 INFO     nxdrive.manager    Will use 'C:\Users\smagnies\Documents\Nuxeo Drive' as default Nuxeo Drive folder location under Windows
      2015-04-03 15:01:35,601 5068 1460 WARNING  nxdrive.engine.engine Thread is not responding - terminate it
      

      Then Drive stops synchronizing local files.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: