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

[Windows] Correctly handle WinError 32

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.1.4
    • Fix Version/s: 5.2.5
    • Component/s: Local watcher

      Description

      Sentry Issue: NUXEO-DRIVE-218

      PermissionError: [WinError 32] Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus: 'C:\\Users\\poste10\\Documents\\Nuxeo Drive\\Archive\\KOUG C FACTURES\\FACTUR~1.PDF' -> 'C:\\Users\\poste10\\Documents\\Nuxeo Drive\\Archive\\KOUGCF~1\\FACTUR~1.PDF'
        File "nxdrive\engine\watcher\local_watcher.py", line 1024, in handle_watchdog_event
        File "nxdrive\utils.py", line 470, in normalize_event_filename
        File "nxdrive\utils.py", line 545, in safe_rename
        File "pathlib.py", line 1372, in rename
      
      Watchdog OS exception
      

        Attachments

          Issue Links

            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 - 15 minutes
                  15m

                    PagerDuty