Skip to content
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

Bug: ValueError 'default' must be a list #102

Closed
niftycode opened this issue Aug 7, 2021 · 3 comments
Closed

Bug: ValueError 'default' must be a list #102

niftycode opened this issue Aug 7, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@niftycode
Copy link

Description

Python version: 3.9

your operating system (and terminal type of needed): macOS Terminal

starcli version: 2.17.0

any suggestions to the cause of the problem? (if possible)

Running starcli (with options --lang python -L list raises a value error:

"ValueError: 'default' must be a list when 'multiple' is true."

I think because of:

@click.option(
"--topic",
"-t",
default="",
multiple=True,  # <- this value
help="Search by topic, can be specified multiple times",
@niftycode niftycode added the bug Something isn't working label Aug 7, 2021
@niftycode niftycode changed the title Bug: Bug: ValueError 'default' must be a list Aug 7, 2021
@hedyhli
Copy link
Owner

hedyhli commented Aug 9, 2021 via email

@davised
Copy link
Contributor

davised commented Aug 10, 2021

I'm having the same issue. I'm on archlinux with python 3.9.6. I can't run with starcli -h to get the options.

@hedyhli
Copy link
Owner

hedyhli commented Aug 31, 2021

Oopsie forgot to close

@hedyhli hedyhli closed this as completed Aug 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants