You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
drag & drop a binary file into iodide main page (e.g. an excel file called Furniture_only.xls)
Expected:
%% fetch
blob: file0=Furniture_only.xls
Got:
%% fetch
text: file0=Furniture_only.xls
It is still a pain to do something with the excel file (#2447) but the fact that we're fetching the file as text is yet another roadblock. Perhaps we could sniff the type of the uploaded file and then set this property of the created notebook accordingly? @hamilton / @openjck any thoughts on this?
The text was updated successfully, but these errors were encountered:
The file object we're destructuring and mapping also has a type property in addition to a name (e.g. text/csv, image/png). A quick win here would be to use blob if the type property does not start with "text".
Working on this will require setting up the full server implementation (since the home page isn't visible with simple-serve) but should not otherwise be too difficult.
Steps to reproduce:
Furniture_only.xls
)Expected:
Got:
It is still a pain to do something with the excel file (#2447) but the fact that we're fetching the file as text is yet another roadblock. Perhaps we could sniff the type of the uploaded file and then set this property of the created notebook accordingly? @hamilton / @openjck any thoughts on this?
The text was updated successfully, but these errors were encountered: