-
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:
-
Sprint:nxDrive 11.2.19
-
Story Points:1
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
- Is referenced in