openpyxl.load_workbook throws IndexError: list index out of range
Created originally on Bitbucket by Former user
The following code
import openpyxl
wb2 = openpyxl.load_workbook("Orbis_Export_201.xlsx")
applied to the attached file throws the following Exception:
Traceback (most recent call last):
File "", line 1, in
File "D:\WinPrograms\Python3\lib\site-packages\openpyxl\reader\excel.py", line 312, in load_workbook
reader.read()
File "D:\WinPrograms\Python3\lib\site-packages\openpyxl\reader\excel.py", line 274, in read
self.read_worksheets()
File "D:\WinPrograms\Python3\lib\site-packages\openpyxl\reader\excel.py", line 228, in read_worksheets
ws_parser.bind_all()
File "D:\WinPrograms\Python3\lib\site-packages\openpyxl\worksheet_reader.py", line 403, in bind_all
self.bind_cells()
File "D:\WinPrograms\Python3\lib\site-packages\openpyxl\worksheet_reader.py", line 328, in bind_cells
style = self.ws.parent._cell_styles[cell['style_id']]
IndexError: list index out of range
Attachments: Orbis_Export_201.xlsx