Closed dsovgut closed 4 years ago
Same here
Traceback (most recent call last):
File "multi_script_CLI.py", line 630, in <module>
setting_0 = int(lines[0].strip())
ValueError: invalid literal for int() with base 10: ''
So the issue is in the default parameters. I found that passing the int in the file will solve the issue.
Edit manualy multi_script_CLI.py. I used emacs, you can use your favorite editor
nano multi_script_CLI.py
Go to the line that causes error, and change lines[n].strip() to a number
setting_0 = int(1000)
setting_1 = int(1000)
setting_2 = int(350)
setting_3 = int(350)
setting_4 = int(100)
setting_5 = int(100)
setting_6 = int(2000)
setting_7 = int(10)
setting_8 = int(7500)
setting_9 = int(10)
setting_10 = int(10)
setting_11 = int(2)
setting_12 = int(3)
setting_13 = int(10)
setting_14 = int(10)
setting_15 = int(30)
setting_16 = int(30)
setting_17 = int(60)
setting_18 = "None"
P.S. you probably can remove int(), since no conversion needed, but I was lazy...
Error:
Describe your issue
When I try to run multi_script_CLI, it gives me the following error: invalid literal for int() with base 10: ''. Why is this happening?