-
Notifications
You must be signed in to change notification settings - Fork 18
Description
- msg_parser version: 1.2.0
- Python version: 3.8.3
- Operating System: Windows 10
When I tried to convert a msg file with img in body of message the msg_parser returned this error:
Traceback (most recent call last):
File "C:\Users\99816874\Anaconda3\Scripts\msg_parser-script.py", line 33, in
sys.exit(load_entry_point('msg-parser==1.2.0', 'console_scripts', 'msg_parser')())
File "C:\Users\99816874\Anaconda3\lib\site-packages\msg_parser-1.2.0-py3.8.egg\msg_parser\cli.py", line 74, in main
ms_msg = MsOxMessage(input_file)
File "C:\Users\99816874\Anaconda3\lib\site-packages\msg_parser-1.2.0-py3.8.egg\msg_parser\msg_parser.py", line 313, in init
if not self.is_valid_msg_file():
File "C:\Users\99816874\Anaconda3\lib\site-packages\msg_parser-1.2.0-py3.8.egg\msg_parser\msg_parser.py", line 466, in is_valid_msg_file
if not isOleFile(self.msg_file_path) and not os.path.exists(self.msg_file_path):
File "C:\Users\99816874\Anaconda3\lib\site-packages\olefile\olefile.py", line 301, in isOleFile
header = filename.read(len(MAGIC))
File "C:\Users\99816874\Anaconda3\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 2272: character maps to