Skip to content

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

@kiki67100

Description

@kiki67100

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions