-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Use of zipped/tgz assets not working in MicroPython #2035
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
Comments
Works fine with Pyodide but not MicroPython. |
both zip and tar.gz are tested via integration tests in polyscript: https://github.com/pyscript/polyscript/blob/main/test/zip/micropython.html true that https://github.com/pyscript/polyscript/blob/main/test/zip/tar.gz.toml parses a file with only one file, it doesn't go beyond that, but what's the content of those zip and tar.gz, if I might ask? My gut tells me it might be an order of folders issues, where in MicroPython edit I've found a way to download those files ... investigating |
This issue is being tackled in here: pyscript/polyscript#97 |
live working demo here: https://pyscript.com/@agiammarchi/zipmp-copy/latest |
@ntoll watch out, even after my fixes for the unpacking, your code uses an
|
Checklist
What happened?
Example of the problem using 2024.4.1 release: https://pyscript.com/@ntoll/zipmp/latest
Notice the
settings.json
uses a tgz archive to be unzipped in the browser's local FS. This results in an opaque error in the console.What browsers are you seeing the problem on? (if applicable)
Firefox, Chrome
Console info
Additional Context
cc/ @WebReflection
The text was updated successfully, but these errors were encountered: