Skip to content
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

Attempt to upgrade to Jupyterlite 0.2.3 #3

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

epugh
Copy link
Member

@epugh epugh commented Feb 9, 2024

We've been on Jupyterlite 0.1.0 for a long time, and we'd like to upgrade. We need the Offline install as many Quepid setups are behind corporate firewalls that don't allow Quepid to reach out for files. In this branch we attempt to do an upgrade with offline support but are getting a number of errors that lead to wasm instantiation failed! error.

image

I notice that Jupterlite is attempting to load a file that doesn't exist when I unzip our tar file:

::1 - - [09/Feb/2024 09:25:06] "GET /static/pyodide/pyodide.asm.wasm HTTP/1.1" 200 -
::1 - - [09/Feb/2024 09:25:06] code 404, message File not found

@epugh
Copy link
Member Author

epugh commented Feb 9, 2024

I am wondering if the version of pyodide we are using needs updating, but I have not had luck in modifying:

CMD jupyter lite build \
  --config /build/jupyter_lite_config.json \
  --lite-dir /build \
  --no-sourcemaps \
  --output-dir notebooks \
  --pyodide https://github.com/pyodide/pyodide/releases/download/0.23.2/pyodide-0.23.2.tar.bz2 \
  && tar -czf ${TARGET_DIR}/jupyter-lite-build.tgz notebooks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant