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

UnboundLocalError: local variable 'f' referenced before assignment #96

Open
neilunderwood opened this issue Apr 4, 2022 · 2 comments
Open
Assignees
Labels
User Issue Issue affecting a user

Comments

@neilunderwood
Copy link

Describe the bug
A clear and concise description of what the bug is.
I am getting failures on random modules. The common denominator seems to be "UnboundLocalError: local variable 'f' referenced before assignment". My example in the screenshot is failing at BadIP's, but other modules fail in this way as well.

Reproduction Steps
Steps to reproduce the behavior:

  1. launch sooty
  2. choose menu option 3
  3. enter email address
    ...

Expected behavior
A clear and concise description of what was expected to happen.
Expect to see valid results returned when checking email reputation

Screenshots
If applicable, add screenshots to help explain your problem.
image

Desktop Operating System:

  • OS: [e.g. Win10, Linux, etc.]
    Debian 10 (WSL 1)

Additional context
Add any other context about the problem here.

@TheresAFewConors
Copy link
Owner

looks like a certificate issue, commonly seen when working on restricted networks ie. company VPN

@TheresAFewConors TheresAFewConors added the User Issue Issue affecting a user label Apr 11, 2022
@TheresAFewConors TheresAFewConors self-assigned this Apr 11, 2022
@BartoszJelen
Copy link

I am facing the same problem. In the code, it looks like for def checker,
try:
TOR_URL = "https://check.torproject.org/cgi-bin/TorBulkExitList.py?ip=1.1.1.1"
req = requests.get(TOR_URL)
print("\n TOR Exit Node Report: ")
f.write("\n\n --------------------------------- ")
f.write("\n TOR Exit Node Report: ")
f.write("\n --------------------------------- \n")

    f variable is not assign to anything 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
User Issue Issue affecting a user
Projects
None yet
Development

No branches or pull requests

3 participants