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

Persistent Ascii Code Error Even with UTF-8 #128

Open
stapleton159 opened this issue Jul 4, 2018 · 0 comments
Open

Persistent Ascii Code Error Even with UTF-8 #128

stapleton159 opened this issue Jul 4, 2018 · 0 comments

Comments

@stapleton159
Copy link

I have installed Xerosploit for Chrooted Kali Linux and have already been to the solution to issue #88, I have even copied the entire file and replaced the configuration with the added "print(table.table).encode('utf-8')" in every instance. Here is my Error code:

Traceback (most recent call last):
File "/opt/xerosploit/xerosploit.py", line 980, in main
home()
File "/opt/xerosploit/xerosploit.py", line 89, in home
print (tabulate(table, stralign="center",tablefmt="fancy_grid",headers="firstrow"))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-159: ordinal not in range(128)

I have already installed the dependencies tabulate and originally I thought that was the issue.
Here is the configuration file
xerosploit.txt

Python Version 2.7.15

Now what exactly does this mean? Ascii codec cant encode, so it can't get into utf? Why unicode and not strings? I'm new to this.

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