Skip to content

Conversation

@gowdy
Copy link

@gowdy gowdy commented Jan 25, 2018

… workbook.xml. Add test for this.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.02%) to 57.949% when pulling 2b3342c on gowdy:master into 6eaa7c6 on python-excel:master.

3 similar comments
@coveralls
Copy link

Coverage Status

Coverage increased (+0.02%) to 57.949% when pulling 2b3342c on gowdy:master into 6eaa7c6 on python-excel:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.02%) to 57.949% when pulling 2b3342c on gowdy:master into 6eaa7c6 on python-excel:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.02%) to 57.949% when pulling 2b3342c on gowdy:master into 6eaa7c6 on python-excel:master.

@gowdy
Copy link
Author

gowdy commented Jan 25, 2018

This is to fix Issue #241

@jdufresne
Copy link
Contributor

I'm unfamiliar with the details of the issue. Under what conditions would workbook2.xml be used instead of workbook.xml? Is there any documentation to support this? I noticed openpyxl fails to open this document with KeyError: "There is no item named 'xl/workbook.xml' in the archive" as does LibreOffice.

@gowdy
Copy link
Author

gowdy commented Apr 8, 2018 via email

@jdufresne
Copy link
Contributor

As both LibreOffice and openpyxl do not support workbook2.xml, I'm hesitant to merge this. If you can provide documentation that this is indeed part of the xlsx, I'll quickly change my mind and reopen the issue. At the moment, my first impression is this name may be nonstandard.

If so, might I suggest filing a bug with the data source explaining that they are delivering a nonstandard .xlsx file.

As a last resort, you could unzip and post process the file before passing it to xlrd.

Thanks for the PR and report.

@jdufresne jdufresne closed this Apr 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants