surajForDD / AttachmentsExtractor

A python library to extract embedded objects in .xlsx files.
MIT License
4 stars 1 forks source link

AttributeError when the word file contains outlook attachment #1

Open junxu-ai opened 4 years ago

junxu-ai commented 4 years ago

Hi,

I intent to use this tool to extract the attachments with various objects, e.g., word, ppt,xlsx, outlook msg. However, it returns error at line 63 of extractor.py:

with olefile.OleFileIO(path) as o:

AttributeError: enter

Thanks, jun

surajForDD commented 2 years ago

Hi can you share the code which is giving the error so i can try and reproduce it.

Duanexiao commented 1 year ago

extractor.extract(to_extract_filename, to_save_path)

Duanexiao commented 1 year ago

this error caused by the low version of olefile module, upgrade this module to the latest can address this problem