Hi John, running off the master branch (currently at 0.8.0a), I am
running up against the same error. I am sending you the file that
causes it (from the same provider) in a separate email.
This is the stacktrace:
Traceback (most recent call last):
File "xls-reformatter.py", line 467, in <module>
crp.parse_file(changes=options.changes)
File "xls-reformatter.py", line 295, in parse_file
prefixes = ExcelReader.open(xls_file, prefix_sheet)
File "xls-reformatter.py", line 38, in open
book = xlrd.open_workbook(file_name, formatting_info=True)
File "/usr/local/lib/python2.7/dist-packages/xlrd/__init__.py", line
432, in open_workbook
ragged_rows=ragged_rows,
File "/usr/local/lib/python2.7/dist-packages/xlrd/book.py", line
116, in open_workbook_xls
bk.get_sheets()
File "/usr/local/lib/python2.7/dist-packages/xlrd/book.py", line
702, in get_sheets
self.get_sheet(sheetno)
File "/usr/local/lib/python2.7/dist-packages/xlrd/book.py", line
693, in get_sheet
sh.read(self)
File "/usr/local/lib/python2.7/dist-packages/xlrd/sheet.py", line
1082, in read
saved_obj = self.handle_obj(data)
File "/usr/local/lib/python2.7/dist-packages/xlrd/sheet.py", line
1877, in handle_obj
assert pos + 4 == data_len
AssertionError
Thanks again!
Alex