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

[Windows] Direct Edit should work when the sync folder is not on C:

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.4
    • Fix Version/s: 4.4.2
    • Component/s: Direct Edit
    • Environment:
      Windows
    • Release Notes Summary:
      Windows and different partitions
    • Release Notes Description:
      Hide

      When the local folder where data is synchronized was on a different partition than the standard "C:", there were different errors (in the synchronization process and Direct Edit), this is fixed now.

      Show
      When the local folder where data is synchronized was on a different partition than the standard "C:", there were different errors (in the synchronization process and Direct Edit), this is fixed now.
    • Tags:
    • Backlog priority:
      500
    • Team:
      DRIVE
    • Sprint:
      nxDrive 11.1.24
    • Story Points:
      2

      Description

      When the sync folder is on another partition than the home folder, it is not possible to do a Direct Edit.

      This is the error:

       Traceback (most recent call last):
        File "direct_edit.py", line 490, in edit
          raise e
        File "direct_edit.py", line 477, in edit
          server_url, doc_id, user=user, download_url=download_url
        File "direct_edit.py", line 463, in _prepare_edit
          safe_rename(tmp_file, file_path)
        File "utils.py", line 643, in safe_rename
          src.rename(dst)
        File "...\lib\pathlib.py", line 1319, in rename
          self._accessor.rename(self, target)
      OSError: [WinError 17] Impossible de déplacer le fichier vers un lecteur de disque différent: 'Q:\\.tmp\\7412150225a011ea9c6a080027a1b76a\\87ce85fd-35a1-4ddd-a9c7-6722baa68e5f\\auto.py' -> 'C:\\Users\\Windows10\\.nuxeo-drive\\edit\\87ce85fd-35a1-4ddd-a9c7-6722baa68e5f_file-content\\auto.py'
      

      The same error in english is:

      OSError: [WinError 17] The system cannot move the file to a different disk drive

        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 - 1 day, 1 hour, 30 minutes
                  1d 1h 30m