-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 4.1.0
-
Fix Version/s: 5.2.0
-
Component/s: Configuration
-
Release Notes Summary:Paths in Local Config File
-
Release Notes Description:
-
Sprint:nxDrive 11.2.19
-
Story Points:1
Local config:
[DEFAULT] env = bug [bug] nxdrive_home=/home/rgrasland/Documents/fake_home
Traceback (most recent call last): File "/home/rgrasland/Projects/nuxeo-drive/nxdrive/__main__.py", line 69, in main ret = CliHandler().handle(sys.argv[1:]) File "/home/rgrasland/Projects/nuxeo-drive/nxdrive/commandline.py", line 506, in handle options = self.parse_cli(argv) File "/home/rgrasland/Projects/nuxeo-drive/nxdrive/commandline.py", line 388, in parse_cli self.load_config(parser) File "/home/rgrasland/Projects/nuxeo-drive/nxdrive/commandline.py", line 472, in load_config Options.update(conf_args, setter="local", file=file, section=env) File "/home/rgrasland/Projects/nuxeo-drive/nxdrive/options.py", line 495, in update MetaOptions.set( File "/home/rgrasland/Projects/nuxeo-drive/nxdrive/options.py", line 455, in set raise TypeError(err) TypeError: The type of the 'nxdrive_home' option is str, while PosixPath is required. From '/home/rgrasland/.nuxeo-drive/config.ini', section [bug].
- is caused by
-
NXDRIVE-1109 Use the pathlib module to handle paths
- Resolved
- Is referenced in