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

Failed to get Geodata: <type 'exceptions.UnboundLocalError'> #7

Open
kiki67100 opened this issue Oct 6, 2017 · 0 comments
Open

Failed to get Geodata: <type 'exceptions.UnboundLocalError'> #7

kiki67100 opened this issue Oct 6, 2017 · 0 comments

Comments

@kiki67100
Copy link

kiki67100 commented Oct 6, 2017

Hello, i met this error :

$ python namebench.py -s all
namebench 1.5-DEVEL - best source (automatic) on 2017-10-06 07:45:23.445266
threads=30/2 queries=200 runs=1 timeout=3.25 health_timeout=2.0 servers=11
------------------------------------------------------------------------------
- Determining your location...
Failed to get Geodata: <type 'exceptions.UnboundLocalError'> local variable 'content' referenced before assignment
- Determining your location (retry)...
Failed to get Geodata: <type 'exceptions.UnboundLocalError'> local variable 'content' referenced before assignment
reverse: 90.126.50.159 -> None [8.8.8.8:ipv4]
- Looking for nameservers within wanadoo.fr or AS3215
Traceback (most recent call last):
  File "namebench.py", line 77, in <module>
    namebench.Execute()
  File "/Users/kevinluller/namebench/libnamebench/cli.py", line 110, in Execute
    self.PrepareNameServers()
  File "/Users/kevinluller/namebench/libnamebench/base_ui.py", line 138, in PrepareNameServers
    include_tags.add('country_%s' % country_code.lower())
AttributeError: 'NoneType' object has no attribute 'lower'
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

1 participant