openpyxl
openpyxl copied to clipboard
bug: TypeError: _NamedCellStyle.__init__() got an unexpected keyword argument 'biltinId'
Hi,
when trying to open an excel (.xlsx) file, i got this error:
Traceback (most recent call last):
File "main.py", line 15, in
if i open this file with calc or microsoft excel and re-save it, this error disappears. i tried it with another python lib to open excel files and it works so i guess it is something for openpyxl.
Badfully, i am not sure i can give you an exemple file for testing purpose... Ask me if ever the stacktrace is not enough.
thx for the lib anyway.
I got bitten by the same problem here, and examining the contents of the file, it looks as though builtinId
was misspelled as biltinId
in the xl/styles.xml
document. Was the document you are trying to parse by any chance created by a company named Erival Ingénierie
?
nop, but it seems they use the same tools i was facing: windev…
Do you have a way to get in touch with the windev
developers to get them to fix this typo?