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

example proposal: render as web app #44

Open
alisterburt opened this issue Mar 24, 2023 · 2 comments
Open

example proposal: render as web app #44

alisterburt opened this issue Mar 24, 2023 · 2 comments

Comments

@alisterburt
Copy link
Collaborator

alisterburt commented Mar 24, 2023

Description

There is a great example of microvis displaying something in a jupyter notebook - it could be cool to see how you might put a remote frame buffer on a webpage without the notebook stuff

I tried to see see if turning the notebook into a web app with voila would work out of the box but ran into some JS issues

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

and in the console

(index):45 Error: Module @jupyter-widgets/base, version ^1.2.0 is not registered, however,         2.0.0 is
    at tn.loadClass (manager.js:158:19)
    at tn.loadClass (manager.js:115:26)
    at tn.loadModelClass (manager-base.js:570:34)
    at tn._make_model (manager-base.js:402:36)
    at tn.new_model (manager-base.js:245:35)
    at manager-base.js:328:32
    at Array.map (<anonymous>)
    at tn._loadFromKernel (manager-base.js:316:40)
    at async tn.build_widgets (manager.js:67:5)
    at async init (main.js?v=07cc494763c3dcb3b604da7aa291ed361b8b163d9cb33c4bc3a66304c18e1dc5bfcf8c6101b6b6426ab36762a01a8568e9f3bf0c7ba6588cd61eab538b95e34a:63:13)
@alisterburt
Copy link
Collaborator Author

voila-dashboards/voila#1188 did not solve the issue

@tlambert03
Copy link
Owner

yeah, seems cool!

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