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
In my code I use rich library (manual update), new version crashes.
for social_network, net_info in progress1.track(site_data.items(), description=""):
File "/home/snoop/.local/lib/python3.7/site-packages/rich/progress.py", line 710, in track
progress.refresh()
NameError: name 'progress' is not defined
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
rich-3.0.3 library #I rolled back to this version of the library, but it also has a bug:
Loss of the task completion percentage and loss of bar status (indication line), as well as incorrectly colored lines.
I rolled back to the stable version of the rich == 1.2.3 library which has no problems. snooppr/snoop#33
The text was updated successfully, but these errors were encountered:
I checked rich version 4.2.0 (GNU / Linux) fixed and it works.
How conceived or not is now the question
This is how rich 4.2.0 works
The mistake here is that links are colored green, but should be system-based (set by default in the terminal.)
Regarding the update line and the percentage of completion (maybe it's even better, I can't decide yet)
And this is how rich v1.2.3 works
Here links are colored with the system color (correct)
https://github.com/snooppr/snoop/blob/master/snoop.py#L394
Loss of the task completion percentage and loss of bar status (indication line), as well as incorrectly colored lines.
I rolled back to the stable version of the rich == 1.2.3 library which has no problems.
snooppr/snoop#33
The text was updated successfully, but these errors were encountered: