-
Type:
Bug
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: NoFixVersionApplicable
-
Fix Version/s: 4.3.0
-
Component/s: Configuration
-
Epic Link:
-
Tags:
-
Team:DRIVE
-
Sprint:nxDrive 11.1.18
-
Story Points:1
This config file:
[DEFAULT] env = smallFiles [smallFiles] tmp-file-limit = 0.1
Gives that exception:
Traceback (most recent call last): File "__main__.py", line 113, in main ret = CliHandler().handle(sys.argv[1:]) File "commandline.py", line 481, in handle options = self.parse_cli(argv) File "commandline.py", line 392, in parse_cli self.load_config(parser) File "commandline.py", line 447, in load_config Options.update(conf_args, setter="local", file=file, section=env) File "options.py", line 432, in update section=section, File "options.py", line 385, in set raise TypeError(err) TypeError: The type of the 'tmp_file_limit' option is str, while int is required. From '$HOME/.nuxeo-drive/config.ini', section [smallFiles].
Indeed the tmp_file_limit option accepts only float values.