xlsx2csv
xlsx2csv copied to clipboard
Invalid xlsx file error
I am getting the following error from an excel file I have (Microsoft Excel 97-2004 workbook):
Invalid xlsx file: ...
When I looked at the source code, it seems to be coming from the following line:
self.ziphandle = zipfile.ZipFile(xlsxfile)
Any idea why I get this error and any work-around?
You must by trying to convert xls file not xlsx.
I'm actually running into this same error. It's really bizarre because when I run it from the command line I have no problems. When I run it as a task using Golang, it works on CentOS but not Fedora Core. I get this error whenever I run it from my go program via systemd.