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

Javascript error in examples on huggingface that use jupyter-widgets #3

Open
hubertus65 opened this issue Mar 22, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@hubertus65
Copy link

Description

I get the following error message when open the bqplot example from the link to huggingface: bqplot

Failed to load view class 'ErrorWidgetView' from module '@jupyter-widgets/base'
Error: No version of module @jupyter-widgets/base is registered
at _.loadClass (https://voila-dashboards-voila-huggingface.hf.space/voila/static/7018.voila.js:1:77776)
at _.loadViewClass (https://voila-dashboards-voila-huggingface.hf.space/voila/static/7018.voila.js:1:74931)
at https://voila-dashboards-voila-huggingface.hf.space/voila/static/7018.voila.js:1:66785
at async g.renderModel (https://voila-dashboards-voila-huggingface.hf.space/voila/static/7018.voila.js:1:65329)

Reproduce

  1. Open the link above.
  2. Click on 'Click to show javascript-error'
  3. you can see the error text above directly

Expected behavior

No error message. The fancy plot that should be there, which I have never seen before.

Context

The link to the hugging face examples in the readme to the voola-huggingspace page.

  • voila version
  • Operating System and version: Windows 11
  • Browser and version: Latest updated Chrome as of 3/22/2024
Troubleshoot Output
Paste the output from running `jupyter troubleshoot` from the command line here.
You may want to sanitize the paths in the output.
Command Line Output
Paste the output from your command line running `voila` here, use `--debug` if possible.
Browser Output
Paste the output from your browser Javascript console here.

If using JupyterLab

  • JupyterLab version:
Installed Labextensions
Paste the output from your command line running `jupyter labextension list`.
@hubertus65 hubertus65 added the bug Something isn't working label Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant