dilshod / xlsx2csv

Convert xslx to csv, it is fast, and works for huge xlsx files
MIT License
1.66k stars 302 forks source link

Unable to use any version newer than 0.7.4 #247

Open oldpink opened 1 year ago

oldpink commented 1 year ago

I use this program frequently, but it's disappointing that I am unable to use anything beyond version 0.7.4. When I try newer versions, I consistently get the following errors:

Traceback (most recent call last): File "/usr/bin/xlsx2csv", line 1125, in xlsx2csv = Xlsx2csv(options.infile, **kwargs) File "/usr/bin/xlsx2csv", line 196, in init self.styles = self._parse(Styles, self.content_types.types["styles"]) File "/usr/bin/xlsx2csv", line 339, in _parse instance.parse(filehandle) File "/usr/bin/xlsx2csv", line 498, in parse numFmtId = int(cellXfs._attrs['applyNumberFormat'].value) KeyError: 'applyNumberFormat'

I'm pretty sure that there is a missing dependency, but I have no idea what that may be or how to install it. Does anyone have any suggestions?