olefile icon indicating copy to clipboard operation
olefile copied to clipboard

module 'olefile' has no attribute 'OleFileIO'

Open hildeb opened this issue 1 year ago • 3 comments

I'm using olevba from within olefy and I'm getting this error:

olefy ERROR oletools <308750> olevba returned <30 chars - rc: 1, response: '', error: ' Traceback (most recent call last): File "/usr/local/bin/olevba", line 5, in from oletools.olevba import main File "/usr/local/lib/python3.10/dist-packages/oletools/olevba.py", line 342, in from oletools import rtfobj File "/usr/local/lib/python3.10/dist-packages/oletools/rtfobj.py", line 133, in from oletools import oleobj, ftguess File "/usr/local/lib/python3.10/dist-packages/oletools/oleobj.py", line 71, in from oletools.ppt_record_parser import (is_ppt, PptFile, File "/usr/local/lib/python3.10/dist-packages/oletools/ppt_record_parser.py", line 57, in from oletools import record_base File "/usr/local/lib/python3.10/dist-packages/oletools/record_base.py", line 84, in OleFileIO = olefile.OleFileIO\nAttributeError: module 'olefile' has no attribute 'OleFileIO'

I wonder if this is an error in olevba

hildeb avatar Jun 14 '23 09:06 hildeb