-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception when passing a string parameter #28
Comments
You have to quote the |
I tried that, it doesn't make a difference. |
Yes, thanks, that should do the trick |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I try passing a string parameter, an exception is raised, e.g. when I run cq-cli with the cube_params example:
python main.py --codec stl --outfile test.stl --infile ./tests/testdata/cube_params.py --outputopts width:2;tag_name:test;centered:True
Traceback (most recent call last):
File "C:\WORK\nimble\cq-cli\src\cq_cli\main.py", line 487, in
main()
File "C:\WORK\nimble\cq-cli\src\cq_cli\main.py", line 424, in main
op = int(opt_parts[1])
^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: 'test'
The text was updated successfully, but these errors were encountered: