-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
CSV file is downloaded with XLS suffix #8019
Comments
I just tried this with your diamonds.csv file, on macos and firefox 73 and chrome 80, and it downloaded a file named "diamonds.csv", just like is expected. My guess is it has something to do with how things are set up in windows and microsoft office? Does it have the wrong filename if you try from a different browser? |
And just checking - is this in a clean environment with no jupyterlab extensions installed, and no browser extensions installed? (See the issue reporting guidelines at https://jupyterlab.readthedocs.io/en/stable/getting_started/issue.html) |
Going to check... I am back soon with answers... and better report here. Question 1:
Answer 1:
|
Question 2:
Answer 2:
It is clear, that there is no browser extension and no jupyterlab-extension involved. Problem happens in clean jupyterlab on Win10 and Chrome / Edge browsers.. It is easily reproducible, happens reliably every time on my side. |
Thanks. That's especially helpful to note that it is not happening with classic notebook. What happens if you rename the file to have a To anyone else, does anyone else see this problem? |
Just tested: So it looks like, there is some special relation to bad handling of *.csv suffix only. (I edited and extended my reponses above multiple times (sorry for confusion) - now mentioning, that problem happens not only in Chrome, but also in Edge browser - same bad behavior, where *.csv file is downloaded with *.xls suffix. Firefox is works correctly every time. |
Some hints - maybe the issue can be related to other known problems:
Looks like there are many others having same/similar problem. |
In particular, your links indicate this is not a JupyterLab issue. |
Yes, it's right.
There is nothing, what could be solved by Jupyter project |
Description
Hi, latest JupyterLab v2.0.1
has bad behavior when downloading .csv file from FileBrowser.
Instead of downloading the file with *.csv suffix, it downloads the file with *.xls suffix.
Download file is no Excel file of course, it is just saved with invalid *.xls suffix, which should not happen.
Reproduce
See image below (zoom if needed)
File diamonds.csv - in case you want to try with same file:
Expected behavior
CSV file should be saved with original *.csv suffix (not with *.xls suffix)
Context
Troubleshoot Output
The text was updated successfully, but these errors were encountered: