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

[Direct Edit] Changes not uploaded anymore when saving file on Windows

    XMLWordPrintable

    Details

    • Tags:
    • Sprint:
      nxDrive 11.2.2
    • Story Points:
      1

      Description

      The following error is displayed:

      PermissionError: [WinError 32] Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus: 'C:\\Users\\rgrasland\\.nuxeo-drive\\edit\\d0c29cc3-109c-45e6-be7b-f4b6b73adc38_file-content\\odt_test.odt' -> '\\\\?\\C:\\Users\\rgrasland\\.nuxeo-drive\\edit\\d0c29cc3-109c-45e6-be7b-f4b6b73adc38_file-content\\odt_test.odt'
      2020-08-07 18:02:05 3036 15944 ERROR    nxdrive.direct_edit Watchdog error
      Traceback (most recent call last):
        File "C:\Users\rgrasland\PycharmProjects\nuxeo-drive\nxdrive\direct_edit.py", line 880, in _handle_queues
          self.handle_watchdog_event(evt)
        File "C:\Users\rgrasland\PycharmProjects\nuxeo-drive\nxdrive\engine\activity.py", line 219, in func_wrapper
          func(*args, **kwargs)
        File "C:\Users\rgrasland\PycharmProjects\nuxeo-drive\nxdrive\direct_edit.py", line 934, in handle_watchdog_event
          src_path = normalize_event_filename(evt.src_path)
        File "C:\Users\rgrasland\PycharmProjects\nuxeo-drive\nxdrive\utils.py", line 519, in normalize_event_filename
          safe_rename(path, normalized)
        File "C:\Users\rgrasland\PycharmProjects\nuxeo-drive\nxdrive\utils.py", line 589, in safe_rename
          src.rename(dst)
        File "C:\Python377-32\lib\pathlib.py", line 1329, in rename
          self._accessor.rename(self, target)
      PermissionError: [WinError 5] Accès refusé: 'C:\\Users\\rgrasland\\.nuxeo-drive\\edit\\d0c29cc3-109c-45e6-be7b-f4b6b73adc38_file-content' -> '\\\\?\\C:\\Users\\rgrasland\\.nuxeo-drive\\edit\\d0c29cc3-109c-45e6-be7b-f4b6b73adc38_file-content'
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 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, 10 minutes
                  1h 10m