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

ModuleNotFoundError on all examples on the website #112

Open
DavZim opened this issue Feb 28, 2024 · 2 comments
Open

ModuleNotFoundError on all examples on the website #112

DavZim opened this issue Feb 28, 2024 · 2 comments

Comments

@DavZim
Copy link

DavZim commented Feb 28, 2024

Every example on the website is broken for me with the error

Traceback (most recent call last):
  File "<exec>", line 362, in _start_app
ModuleNotFoundError: The module 'shiny' is included in the Pyodide distribution, but it is not installed.
You can install it by calling:
  await micropip.install("shiny") in Python, or
  await pyodide.loadPackage("shiny") in JavaScript
See https://pyodide.org/en/stable/usage/loading-packages.html for more details.

(Example taken from https://shiny.posit.co/py/docs/ui-customize.html)
image

Note I am behind a corporate proxy, which might interfere with things. This happens both in Chrome as well as in Edge.

@wch
Copy link
Contributor

wch commented Feb 28, 2024

I don't see this issue... I think it probably has something to do with your proxy. If you open the Javascript console in your browser, what does it say?

@DavZim
Copy link
Author

DavZim commented Feb 29, 2024

Indeed I see lots of errors, The first errors are

Failed to find a valid digest in the 'integrity' attribute for resource 'https://shiny.posit.co/py/site_libs/quarto-contrib/shinylive-0.2.5/shinylive/pyodide/shiny-0.7.0-py3-none-any.whl' with computed SHA-256 integrity 'V8jdBMuWq6JQUtMHVLT2uyYPUc75HbHrXUCYzoYQPxs='. The resource has been blocked.
Unknown error occurred while trying to verify integrity.

I guess this is somehow related to our corporate proxy settings and I am not sure there is anything that you could do on your end. So for now I think we can close this.

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

No branches or pull requests

2 participants