Some Errors. Help Needed
Closed this issue · 2 comments
Traceback (most recent call last):
File "C:\Users\USER\Tools\BobTheSmuggler\BobTheSmuggler.py", line 43, in
main()
File "C:\Users\USER\Tools\BobTheSmuggler\BobTheSmuggler.py", line 9, in main
DisplayBanner(os.path.abspath(BANNER_PATH))
File "C:\Users\USER\Tools\BobTheSmuggler\core\utilities\utils.py", line 20, in DisplayBanner
print(file.read())
^^^^^^^^^^^
File "C:\Users\USER\AppData\Local\Programs\Python\Python312\Lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 243: character maps to
Hi @EXXodos911,
I don't have all the information about your setup but this error could be due to the encoding format from ASCII text saved in the banner.txt file. Try changing this line in utils.py:
BobTheSmuggler/core/utilities/utils.py
Line 19 in 14e34b5
to
with open(path, 'r', encoding='utf-8') as file:
Let me know if this works or not.
Ok thanks I'll try in a bit.