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

[Windows] Cannot use UNC paths for the nxdrive_home parameter

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: NoFixVersionApplicable
    • Fix Version/s: 5.2.0
    • Component/s: Configuration
    • Environment:
      Windows with UNC
    • Release Notes Summary:
      Windows and UNC Paths
    • Release Notes Description:
      Hide

      Options taking a path a value are now supporting UNC paths (shared folders).
      This completes the UNC paths support on Windows.

      Reminder: to be able to use a UNC path for the synchronization folder, it is required to set `nofscheck = true` in the local configuration file.

      Related ticket: NXDRIVE-33.

      Show
      Options taking a path a value are now supporting UNC paths (shared folders). This completes the UNC paths support on Windows. Reminder: to be able to use a UNC path for the synchronization folder, it is required to set `nofscheck = true` in the local configuration file. Related ticket: NXDRIVE-33 .
    • Sprint:
      nxDrive 11.2.19
    • Story Points:
      1

      Description

      Set in .nuxeo-drive/config.ini the following environment:

      [DEFAULT]
      env=SUP34564
      
      [SUP34564]
      nxdrive_home=\\DESKTOP-UICRFEP\Répertoire Test
      

      and start Drive 5.1.2_64

      It chokes with

      Traceback (most recent call last):
        File "nxdrive\__main__.py", line 69, in main
        File "nxdrive\commandline.py", line 546, in handle
        File "nxdrive\commandline.py", line 572, in launch
        File "nxdrive\utils.py", line 950, in lock
        File "pathlib.py", line 1274, in write_text
        File "pathlib.py", line 1241, in open
        File "pathlib.py", line 1109, in _opener
      FileNotFoundError: [Errno 2] No such file or directory: '\\\\?\\\\DESKTOP-UICRFEP\\Répertoire Test\\nxdrive_qt.pid'
      

      Expected result: no crash of Drive when specifying a UNC path in NXDRIVE_HOME setting in config.ini

      This is a follow-up of NXDRIVE-2622 which allows nxdrive_home setting in config.ini

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

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.