xlsx2csv icon indicating copy to clipboard operation
xlsx2csv copied to clipboard

Invalid xlsx file error

Open keeyonghan opened this issue 10 years ago • 2 comments

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?

keeyonghan avatar Jan 09 '15 17:01 keeyonghan

You must by trying to convert xls file not xlsx.

dilshod avatar Jan 22 '15 04:01 dilshod

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.

exedor avatar Jun 19 '18 06:06 exedor