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
Looks like we broke uploading zipped CSV files at some point.
Steps to reproduce
Drag and drop a zipped CSV file into the console (attached below) and click "Upload"
Expected results
CSV uploads, table opens
Actual results
Fails to upload. No error displayed to user. Error in the console logs is:
[CsvInputBar] Error: nodestream is not supported by this platform
at e.checkSupport (utils.js:352:15)
at Kte.toNodejsStream (StreamHelper.js:196:15)
at LM.nodeStream (zipObject.js:85:58)
at Kt.parse (CsvTypeParser.js:165:42)
at oo.parse (CsvParser.js:124:16)
at lp.handleFile (CsvInputBar.js:184:12)
at CsvInputBar.js:209:16
Fixes#1080. Fixes#1416
Updates jszip and uses the internal stream helper instead of nodestream
which we would need a polyfill for. The progress on zip uploads is a bit
odd since we use the unzip progress. It seems papaparse loads more from
the stream while processing/before processing and can finish reading the
zip before it's done processing chunks.
Also, uploading the tables seems to be a blocking operation. Not sure if
that's an easy fix, but after the 50% mark on uploading a large zip,
there are some blocks on the main thread (marching ants freezes as an
indicator).
There is a ~2GB limit for JSZip it seems
Stuk/jszip#777
Description
Looks like we broke uploading zipped CSV files at some point.
Steps to reproduce
Expected results
Actual results
Additional details and attachments
table-2023-07-21-110601.zip
Versions
The text was updated successfully, but these errors were encountered: