Closed redsigma closed 3 years ago
Could be similar to #23
Hey @redsigma thanks for posting this. I will take a look at it today and get back to you. I suspect you are correct, it must be another program’s generated excel file that does not have all the proper namespace that excel writes by default. If thats the case for this one as well, I’ll go through and add a try except to all namespace parsing and see if that helps
It looks like the spreadsheet format is different than what current excel versions produces and openpyxl as well. Unable to tell if this spreadsheet was produced by a tool or an older version of excel but the issue appears to be an extra tag on the xml:
<x:sheets>
versus openpyxl and current excel version write <sheets>
. I will take a look at adding support for this. Thanks again for posting this
Hi @redsigma i pushed the update to the master branch that is able to parse the tool generated spreadsheet you linked. I am working on a few other features so this update will get rolled it with those features in the coming week or so. Until then please use the master branch. Thanks for posting this and let me know if you have any more questions/troubles. As always thanks for considering using pylightxl for your project! :)
Pylightxl Version: 1.55 , 1.54 Python Version: 3.7
Summary of Bug/Feature: Cannot open xlsx excel file. Using the following code:
Traceback: