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

UnicodeEncodeError: 'ascii' codec can't encode characters in position 1129-1137: ordinal not in range(128) #3

Closed
changheluor007 opened this issue Jun 5, 2016 · 4 comments

Comments

@changheluor007
Copy link

changheluor007 commented Jun 5, 2016

Hi , I run the code on ceotos7 , I have a mistake ,

`Traceback (most recent call last):
File "/root/.pythonbrew/pythons/Python-2.7.10/bin/instarecon.py", line 4, in
import('pkg_resources').run_script('Instarecon==0.1.2', 'instarecon.py')
File "build/bdist.linux-x86_64/egg/pkg_resources/init.py", line 719, in run_script
File "build/bdist.linux-x86_64/egg/pkg_resources/init.py", line 1490, in run_script
File "/root/.pythonbrew/pythons/Python-2.7.10/lib/python2.7/site-packages/Instarecon-0.1.2-py2.7.egg/EGG-INFO/scripts/instarecon.py", line 308, in

File "/root/.pythonbrew/pythons/Python-2.7.10/lib/python2.7/site-packages/Instarecon-0.1.2-py2.7.egg/EGG-INFO/scripts/instarecon.py", line 101, in scan_targets

File "/root/.pythonbrew/pythons/Python-2.7.10/lib/python2.7/site-packages/Instarecon-0.1.2-py2.7.egg/EGG-INFO/scripts/instarecon.py", line 122, in scan_host

File "/root/.pythonbrew/pythons/Python-2.7.10/lib/python2.7/site-packages/Instarecon-0.1.2-py2.7.egg/EGG-INFO/scripts/instarecon.py", line 159, in scan_host_whois

UnicodeEncodeError: 'ascii' codec can't encode characters in position 1129-1137: ordinal not in range(128)`

Do you know how to solve

@vergl4s
Copy link
Owner

vergl4s commented Jun 5, 2016

Hey, I tried recreating it here but wasn't able to. I did however encounter some other problems related to a newer version of the ipwhois library. I updated the dependencies' versions on setup.py. See if you can reinstall Instarecon (by going ./setup.py install) and please tell me the results.

@changheluor007
Copy link
Author

@vergl4s
Copy link
Owner

vergl4s commented Jun 7, 2016

Thanks for the extra info. I was able to reproduce the issue and (hopefully) fix it. Can you try again with the latest version of instarecon?

@vergl4s vergl4s closed this as completed Jun 10, 2016
@changheluor007
Copy link
Author

It has been able to run normally, thanks

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

2 participants