jupytercad/JupyterCAD

Cannot download JCAD file from file browser in JupyterCAD (it works with other file types)

SylvainCorlay opened this issue ยท 5 comments

Testing from JupyterLite, this results in the following error in the JS console.

Uncaught (in promise) Error: Content whose type is "jcad" cannot be downloaded
    at u (index.js:127:23)
    at async index.js:170:34

It seems the (hidden) exception is "Error: Content whose type is "jcad" cannot be downloaded" coming from here https://github.com/jupyterlite/jupyterlite/blob/main/packages/application-extension/src/index.tsx#L209

I will see to fix it

Should we redeploy with JupyterLite v0.4.4 and close this issue @martinRenou ?

Latest deployment uses jupyterlite-core 0.4.4 and I can confirm this is fixed and I can now download .jcad files after edits!