XLMMacroDeobfuscator icon indicating copy to clipboard operation
XLMMacroDeobfuscator copied to clipboard

improve error handling

Open doomedraven opened this issue 5 years ago • 0 comments

deofuscated_xlm = XLMMacroDeobf(**xlm_kwargs)

File "/usr/local/lib/python3.6/dist-packages/XLMMacroDeobfuscator/deobfuscator.py", line 1748, in process_file excel_doc = XLSWrapper2(file_path) File "/usr/local/lib/python3.6/dist-packages/XLMMacroDeobfuscator/xls_wrapper_2.py", line 15, in init self.xls_workbook = xlrd2.open_workbook(xls_doc_path, formatting_info=True) File "/usr/local/lib/python3.6/dist-packages/xlrd2/init.py", line 167, in open_workbook ignore_workbook_corruption=ignore_workbook_corruption, File "/usr/local/lib/python3.6/dist-packages/xlrd2/book.py", line 90, in open_workbook_xls ignore_workbook_corruption=ignore_workbook_corruption File "/usr/local/lib/python3.6/dist-packages/xlrd2/book.py", line 663, in biff2_8_load raise XLRDError("Can't find workbook in OLE2 compound document") xlrd2.biffh.XLRDError: Can't find workbook in OLE2 compound document

doomedraven avatar Jun 02 '20 07:06 doomedraven