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

NameError: name 'progress' is not defined #33

Closed
Shazgul opened this issue Jul 26, 2020 · 1 comment
Closed

NameError: name 'progress' is not defined #33

Shazgul opened this issue Jul 26, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@Shazgul
Copy link

Shazgul commented Jul 26, 2020

Getting this Error after starting Snoop, any suggestions?

............[-] My_mail_ru_new: Недопустимый формат имени для данного сайта
............[-] My_mail_ru_old: Недопустимый формат имени для данного сайта
[-] 3dnews: Увы!
──────   1%
Traceback (most recent call last):
  File "snoop.py", line 1557, in <module>
    run()
  File "snoop.py", line 1362, in run
    color=not args.no_func)
  File "snoop.py", line 392, in snoop
    for social_network, net_info in progress1.track(site_data.items(), description=""):
  File "C:\Python3\lib\site-packages\rich\progress.py", line 710, in track
    progress.refresh()
NameError: name 'progress' is not defined
@snooppr
Copy link
Owner

snooppr commented Jul 27, 2020

You installed Snoop from source, the new rich library has a fatal error. I rolled back the rich version of the library to stable (rich verssion 1.2.3).
Thanks for your feedback.

Your solution to the problem:
pip3 install rich == 1.2.3
After installation, check the module version
pip3 freeze | grep rich # must be version 1.2.3

UPD: sorry (this is a solution to the problem for GNU / Linux). For Windows OS, do the same, for example:

git clone https://github.com/snooppr/snoop
cd c:\snoop
python -m pip install -r requirements.txt

@snooppr snooppr added the bug Something isn't working label Jul 27, 2020
@snooppr snooppr added question Ask a Question. Support and removed question Ask a Question. Support labels Sep 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants