You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Giving -q more than twice to commands like list gives unhandled exception:
$ pipx list -qqq
Traceback (most recent call last):
File "/usr/local/lib/python3.9/logging/config.py", line 564, in configure
handler = self.configure_handler(handlers[name])
File "/usr/local/lib/python3.9/logging/config.py", line 758, in configure_handler
result.setLevel(logging._checkLevel(level))
File "/usr/local/lib/python3.9/logging/__init__.py", line 198, in _checkLevel
raise ValueError("Unknown level: %r" % level)
ValueError: Unknown level: 'Level 60'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/bin/pipx", line 8, in <module>
sys.exit(cli())
File "/usr/local/lib/python3.9/site-packages/pipx/main.py", line 916, in cli
setup(parsed_pipx_args)
File "/usr/local/lib/python3.9/site-packages/pipx/main.py", line 856, in setup
setup_logging(verbose)
File "/usr/local/lib/python3.9/site-packages/pipx/main.py", line 846, in setup_logging
logging.config.dictConfig(logging_config)
File "/usr/local/lib/python3.9/logging/config.py", line 809, in dictConfig
dictConfigClass(config).configure()
File "/usr/local/lib/python3.9/logging/config.py", line 571, in configure
raise ValueError('Unable to configure handler '
ValueError: Unable to configure handler 'stream'
How to reproduce
pipx list -qq works fine, pipx list -qqq does not.
Expected behavior
Either ignore the superfluous q-flags, or print a notice about the number of times this subcommand accepts the flag.
The text was updated successfully, but these errors were encountered:
Describe the bug
Giving
-q
more than twice to commands likelist
gives unhandled exception:How to reproduce
pipx list -qq
works fine,pipx list -qqq
does not.Expected behavior
Either ignore the superfluous
q
-flags, or print a notice about the number of times this subcommand accepts the flag.The text was updated successfully, but these errors were encountered: