Skip to content

[BUG] Fatal error in rich-4.1.0 library. In version 3.0.3, the error is not critical. #184

@snooppr

Description

@snooppr
  1. rich-4.1.0 library
    https://github.com/snooppr/snoop/blob/master/snoop.py#L394
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):
  1. 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions