Error during saving
Created originally on Bitbucket by Anonymous
During saving sometimes I get this error:
#!python
Traceback (most recent call last): File "bulk_ingest.py", line 446, in <module> validator.check_workbook(bi_settings.WORKBOOK_PATH) File "/opt/hogarth/zonza/scripts/administration/ingest/validation.py", line 685, in check_workbook workbook.save(wb_path) File "/opt/hogarth/envs/zonza/current/local/lib/python2.7/site-packages/openpyxl/workbook.py", line 265, in save save_workbook(self, filename) File "/opt/hogarth/envs/zonza/current/local/lib/python2.7/site-packages/openpyxl/writer/excel.py", line 187, in save_workbook writer.save(filename) File "/opt/hogarth/envs/zonza/current/local/lib/python2.7/site-packages/openpyxl/writer/excel.py", line 170, in save self.write_data(archive) File "/opt/hogarth/envs/zonza/current/local/lib/python2.7/site-packages/openpyxl/writer/excel.py", line 98, in write_data self._write_worksheets(archive, shared_string_table, self.style_writer) File "/opt/hogarth/envs/zonza/current/local/lib/python2.7/site-packages/openpyxl/writer/excel.py", line 128, in _write_worksheets style_writer.get_style_by_hash())) File "/opt/hogarth/envs/zonza/current/local/lib/python2.7/site-packages/openpyxl/writer/worksheet.py", line 98, in write_worksheet write_worksheet_cols(doc, worksheet, style_table) File "/opt/hogarth/envs/zonza/current/local/lib/python2.7/site-packages/openpyxl/writer/worksheet.py", line 209, in write_worksheet_cols col_def['style'] = str(style_table[hash(columndimension.style_index)]) KeyError: -8937945243006069197
I need to reinstall library to fix it.