getodk / pyxform-http

Other
4 stars 10 forks source link

Accidental loss of support for XLS #29

Closed lognaturel closed 2 years ago

lognaturel commented 2 years ago

Trying to give an XLSForm saved as an .xls will now give the error The XLSForm could not be converted: Error reading .xlsx file: File is not a zip file.

pyxform uses different libraries to parse .xlsx and .xls now. I believe this tool always renames input files to have a .xlsx extension even when given a .xls: https://github.com/getodk/pyxform-http/blob/fb929a45a412df935126228fcbfd749df3d88ec8/app/main.py#L37