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

Had to upgrade Rich logging #29

Closed
alainpannetier opened this issue Jul 20, 2021 · 1 comment
Closed

Had to upgrade Rich logging #29

alainpannetier opened this issue Jul 20, 2021 · 1 comment

Comments

@alainpannetier
Copy link

alainpannetier commented Jul 20, 2021

This is not an issue.

Not sure if 'requires' are wrong or if I mixed up between local and system python packages but I had to manually upgrade rich module from git.

The error you get if rich logging is too is in cli.py (at the very start). "unexpected keyword argument 'log_time_format'"

alain@server2:~/dev/git.cloned/mvt/dev/mvt/2021-07-19$ mvt-android download-apks --output .
Traceback (most recent call last):
File "/home1/alain/.local/bin/mvt-android", line 5, in
from mvt.android import cli
File "/home1/alain/.local/lib/python3.8/site-packages/mvt/android/init.py", line 6, in
from .cli import cli
File "/home1/alain/.local/lib/python3.8/site-packages/mvt/android/cli.py", line 24, in
RichHandler(show_path=False, log_time_format="%X")])
TypeError: init() got an unexpected keyword argument 'log_time_format'

Then during rich install.

Installing collected packages: rich
Attempting uninstall: rich
Found existing installation: rich 9.8.2
Uninstalling rich-9.8.2:
Successfully uninstalled rich-9.8.2
Successfully installed rich-10.6.0

@botherder
Copy link
Contributor

Resolved.

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

2 participants