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
KeyError: 'results' #15
Comments
same error here!
|
gilani@debris ~ python --version
Python 2.7.6
gilani@debris ~ uname -a
Linux debris 3.16.0-46-generic #62~14.04.1-Ubuntu SMP Tue Aug 11 16:27:16 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
gilani@debris ~ dom exampledomain
Traceback (most recent call last):
File "/usr/local/bin/dom", line 7, in <module>
Domain().main()
File "/usr/local/lib/python2.7/dist-packages/domainr/core.py", line 83, in main
print self.search(args)
File "/usr/local/lib/python2.7/dist-packages/domainr/core.py", line 39, in search
data = self.parse(json_data.content, env)
File "/usr/local/lib/python2.7/dist-packages/domainr/core.py", line 48, in parse
results = data['results']
KeyError: 'results' |
+1 same errors bigtoe:~ steve$ dom example
Traceback (most recent call last):
File "/usr/local/bin/dom", line 5, in <module>
pkg_resources.run_script('dom==0.7', 'dom')
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 492, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 1357, in run_script
exec_(script_code, namespace, namespace)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 47, in exec_
exec("""exec code in globs, locs""")
File "<string>", line 1, in <module>
File "/Library/Python/2.7/site-packages/dom-0.7-py2.7.egg/EGG-INFO/scripts/dom", line 7, in <module>
File "build/bdist.macosx-10.10-intel/egg/domainr/core.py", line 83, in main
File "build/bdist.macosx-10.10-intel/egg/domainr/core.py", line 39, in search
File "build/bdist.macosx-10.10-intel/egg/domainr/core.py", line 48, in parse
KeyError: 'results' bigtoe:~ steve$ python --version
Python 2.7.10 |
I installed the package using pip and got the same error. |
+1 same issue here with Python 2.7.9 |
Apparently the cliend_id has been revoked by Domainr (I got this by printing the
|
+1 same error on ubuntu 14.04 lts server |
Still need an API key as described in the README, but this repo is now updated. |
I installed dom using pip in OS X.
$ dom --tld hello
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/bin/dom", line 7, in
Domain().main()
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/domainr/core.py", line 83, in main
print self.search(args)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/domainr/core.py", line 39, in search
data = self.parse(json_data.content, env)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/domainr/core.py", line 48, in parse
results = data['results']
KeyError: 'results'
The text was updated successfully, but these errors were encountered: