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

[Windows] Fix PermissionError when checking for folder existence

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: NoFixVersionApplicable
    • Fix Version/s: Not yet scheduled version
    • Component/s: Local watcher
    • Environment:
      Windows

      Description

      Error

      entry Issue: NUXEO-DRIVE-2EB

      Win: dequeuing deletion error
      
      PermissionError: [WinError 5] Accès refusé: '\\\\?\\C:\\Users\\USER\\Documents\\Nuxeo Drive\\FOLDER'
        File "nxdrive\engine\watcher\local_watcher.py", line 166, in _win_dequeue_delete
        File "nxdrive\engine\watcher\local_watcher.py", line 670, in _handle_watchdog_delete
        File "pathlib.py", line 1346, in exists
        File "pathlib.py", line 1168, in stat
      

      Analysis

      This is not clear how to get to the error. Here is the code.
      Suggestions are that the disk has errors.

      Fix

      Maybe should we ignore the error and do as if the folder was removed?

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: