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

Cannot read spreadsheet open in Excel; error message is uninformative #1

Open
4er4er4er opened this issue Feb 15, 2020 · 0 comments
Open
Assignees

Comments

@4er4er4er
Copy link

If a spreadsheet is open in Excel when "read table" is invoked, amplxl cryptically reports:

Error reading table dietFoods with table handler amplxl:
Cannot extract workbook.

Nicolau observes: As far as I know this is an Excel issue. Unless you open the file in read only mode Excel will lock it and prevent access from other applications. In Libreoffice we are able to read or even write with the file opened (must reload the file after).

Ideally the table handler could tell that it's trying read from a file that's open in Excel; then it could report something specific like "Cannot read workbook while it is open for writing in Excel." Otherwise the new spreadsheet handler could work like the current one, by adding "Is the file open in another application?" to the message. But if we take that approach, we should consider whether there are any other common "Cannot extract workbook" cases that our message should mention.

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

No branches or pull requests

6 participants