Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xlrd has removed support for anything other than xls files #5

Open
lordlouckster opened this issue Mar 28, 2021 · 1 comment
Open

Comments

@lordlouckster
Copy link

xlrd has explicitly removed support for anything other than xls files.
This causes error xlrd.biffh.XLRDError: Excel xlsx file; not supported on xlrd versions 2.0 and higher, since 2020 sheets are xlsx files.
Solutions:

  1. Set requirements.txt to install xlrd version 1.2 (may expose potential security vulnerabilities, .xlsx files are zip files containing xml, both zip and xml have well published security issues that xlrd did a poor job of addressing)
  2. Use openpyxl
dlenski added a commit that referenced this issue Apr 9, 2021
xlrd 2.0 removes support for .xlsx files, only supports .xls

See #5.
@dlenski
Copy link
Owner

dlenski commented Apr 9, 2021

Option (1) done in 6b29810

A pull request for option (2) would be welcome 😁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants