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

Voila Perspective error #1347

Closed
Armadik opened this issue Jul 5, 2023 · 3 comments
Closed

Voila Perspective error #1347

Armadik opened this issue Jul 5, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@Armadik
Copy link

Armadik commented Jul 5, 2023

Description

i use this notebook https://github.com/finos/perspective/blob/master/examples/jupyter-notebooks/widget_tutorial.ipynb
After I start the viola. I get an error:

[Open Browser Console for more detailed log - Double click to close this message]
Failed to load model class 'PerspectiveModel' from module '@finos/perspective-jupyterlab'
Error: Script error for "@finos/perspective-jupyterlab"
http://requirejs.org/docs/errors.html#scripterror
    at makeError (https://jupyterhub/user/test/voila/static/require.min.js:1:1067)
    at HTMLScriptElement.onScriptError (https://jupyterhub/user/test/voila/static/require.min.js:1:13218)

Although the perspective-python package itself works in the standard jupiterlab interface. This can be seen in the screenshot.

Reproduce

image

Expected behavior

Widget works in viola

Context

perspective-python 2.2.1 pyh1a96a4e_1 conda-forge
jupyterlab 3.6.5 pyhd8ed1ab_0 conda-forge
voila 0.4.1 pyhd8ed1ab_0 conda-forge

@Armadik Armadik added the bug Something isn't working label Jul 5, 2023
@timkpaine
Copy link
Member

#1128

@trungleduc
Copy link
Member

Hi, the next release of Voila (which will be released soon™) will support JupyterLab extensions, so if the widget works in JupyterLab, I will work in Voila.

@martinRenou
Copy link
Member

We're getting closer to the final 0.5.0. Just tested with voila=0.5.0b1 and it works nicely indeed:

Screenshot from 2023-08-03 14-47-31

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

4 participants