Skip to content

Persistent Ascii Code Error Even with UTF-8 #128

@stapleton159

Description

@stapleton159

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.

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