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

Not working with click 7.0.* #3

Open
hille721 opened this issue Oct 11, 2020 · 1 comment
Open

Not working with click 7.0.* #3

hille721 opened this issue Oct 11, 2020 · 1 comment

Comments

@hille721
Copy link
Owner

bits3 command is not worlink if click 7.0* is installed:

$ bits3 --help
Traceback (most recent call last):
  File "/home/hille/gitrepos/bits3/.venv/bin/bits3", line 11, in <module>
    load_entry_point('bits3', 'console_scripts', 'bits3')()
  File "/home/hille/gitrepos/bits3/.venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/home/hille/gitrepos/bits3/.venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2852, in load_entry_point
    return ep.load()
  File "/home/hille/gitrepos/bits3/.venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2443, in load
    return self.resolve()
  File "/home/hille/gitrepos/bits3/.venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2449, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/home/hille/gitrepos/bits3/src/bits3/cli.py", line 26, in <module>
    def cli(backupdir, bucket, secret, uploadintervall,
  File "/home/hille/gitrepos/bits3/.venv/lib/python3.8/site-packages/click/decorators.py", line 173, in decorator
    _param_memo(f, OptionClass(param_decls, **option_attrs))
  File "/home/hille/gitrepos/bits3/.venv/lib/python3.8/site-packages/click/core.py", line 1601, in __init__
    raise TypeError('Got secondary option for non boolean flag.')
TypeError: Got secondary option for non boolean flag.
@hille721 hille721 changed the title Not working witch click 7.0.* Not working with click 7.0.* Oct 11, 2020
@hille721
Copy link
Owner Author

click version 6 is also not working, at least Click 8 is required

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant