-
Notifications
You must be signed in to change notification settings - Fork 193
Error: Invalid value for '--version': '5.9.6' is not a valid boolean. #1524
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
Comments
Thanks for reporting this, certainly seems like an odd issue. So far I'm not able to reproduce this issue in windows 10, or Ubuntu. I'm not really familiar with RedHat's UBI stuff, does the SLCLI have the same problem in a normal RHEL setup or do you only see this problem in the UBI image for Red Hat? If its only an issue with UBI red hat, could you provide a simple docker file that generates the issue? If I can reproduce the issue myself I can likely fix it. Thanks. |
Hi @allmightyspiff here's an example Dockerfile:
Commands to run:
I did notice if I change the ENV variable SLCLI_VERSION to something else it starts working. So I guess SLCLI_VERSION is a variable used by slcli? Thanks, Mike |
Describe the bug
A clear and concise description of what the bug is. Include the command you used, make sure to include the
-v
flag, as that information is very helpful. Ex:slcli -v vs list
I'm building a Dockerfile using registry.access.redhat.com/ubi8/ubi and python 3.9 (i've also tried 3.8). I've installed softlayer multiple ways, all with the same results:
If I run the
slcli
with no options it returns the help menu, no errors. If I run theslcli -v
or some of the other options, it fails withError: Invalid value for '--version': '5.9.6' is not a valid boolean.
at the bottom of the command.I've tried installing older versions of softlayer but the same error, with the same version 5.9.6 would still show. I'm guessing because that version is considered the latest in the --version command.
Expected behavior
A clear and concise description of what you expected to happen.
The error should not appear.
Screenshots
If applicable, add screenshots to help explain your problem.
Version
Include the output of
slcli --version
The text was updated successfully, but these errors were encountered: