KeyError: 'Unknown relationship: rId33' KeyError("Unknown relationship: {0}".format(key))
Created originally on Bitbucket by zerg43 (Anirain)
On opening file with openpyxl.load_workbook(excel_file_path, data_only=True) getting error. Also, the same error on openpyxl 2.6.0, 2.5.8, can’t find the version on which it will work yet.
File "C:\Users\i\Anaconda3\envs\pyuploader\lib\site-packages\openpyxl\reader\excel.py", line 314, in load_workbook
reader.read()
File "C:\Users\i\Anaconda3\envs\pyuploader\lib\site-packages\openpyxl\reader\excel.py", line 279, in read
self.read_worksheets()
File "C:\Users\i\Anaconda3\envs\pyuploader\lib\site-packages\openpyxl\reader\excel.py", line 254, in read_worksheets
charts, images = find_images(self.archive, rel.target)
File "C:\Users\i\Anaconda3\envs\pyuploader\lib\site-packages\openpyxl\reader\drawings.py", line 49, in find_images
dep = deps[rel.embed]
File "C:\Users\i\Anaconda3\envs\pyuploader\lib\site-packages\openpyxl\packaging\relationship.py", line 97, in __getitem__
raise KeyError("Unknown relationship: {0}".format(key))
KeyError: 'Unknown relationship: rId33'
Attachments: cant_open_file.xlsx