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

Interactive Dashboard example shows no widgets with Jupyter Lab #2687

Closed
aavanian opened this issue May 15, 2018 · 4 comments
Closed

Interactive Dashboard example shows no widgets with Jupyter Lab #2687

aavanian opened this issue May 15, 2018 · 4 comments

Comments

@aavanian
Copy link

The example at interactive dashboards doesn't fully work in jupyter lab. The plot shows up but not the widgets.

I'm sure everything is ok with bokeh as I run multiple pure bokeh server app in the same jupyter lab environment.

Versions:

JupyterLab v0.32.0
Known labextensions:
   app dir: C:\Users\alexandre.avanian\AppData\Local\Continuum\Miniconda3\share\jupyter\lab
@jupyter-widgets/jupyterlab-manager
        @jupyter-widgets/jupyterlab-manager v0.35.0 enabled  ok
@jupyterlab/latex
        @jupyterlab/latex v0.3.1 enabled  ok
@pyviz/jupyterlab_holoviews
        @pyviz/jupyterlab_holoviews v0.5.1 enabled  ok
jupyterlab-toc
        jupyterlab-toc v0.2.0 enabled  ok
jupyterlab_bokeh
        jupyterlab_bokeh v0.5.0 enabled  ok
qgrid
        qgrid v1.0.2 enabled  ok

bokeh 0.12.15
holoviews 1.10.2

Chrome console output:
image

renderers.js:35 JupyterLab does not execute inline JavaScript in HTML output
l @ renderers.js:35
t.render @ widgets.js:93
t.renderModel @ widgets.js:47
t.createRenderedMimetype @ widget.js:394
t.createOutputItem @ widget.js:367
t._insertOutput @ widget.js:335
t.onModelChanged @ widget.js:242
m @ index.js:475
l @ index.js:433
e.emit @ index.js:106
e._onListChanged @ model.js:300
m @ index.js:475
l @ index.js:433
e.emit @ index.js:106
e.push @ observablelist.js:153
e._add @ model.js:230
e.add @ model.js:159
r._onIOPub @ widget.js:107
t._handleIOPub @ future.js:198
t.handleMsg @ future.js:171
_onWSMessage @ default.js:120

default.js:1432 Uncaught (in promise) Error: Object '9c54f32f614244108c8cd896cf216244' not found in registry
    at default.js:1432
    at new Promise (<anonymous>)
    at Object.C [as loadObject] (default.js:1411)
    at e._handleCommOpen (default.js:920)
    at WebSocket._onWSMessage (default.js:136)
(anonymous) @ default.js:1432
C @ default.js:1411
e._handleCommOpen @ default.js:920
_onWSMessage @ default.js:136
Promise.then (async)
e._handleCommOpen @ default.js:920
_onWSMessage @ default.js:136

bokeh-0.12.15.min.js:1 Jupyter notebooks comms not available. push_notebook() will not function. If running JupyterLab ensure the latest jupyterlab_bokeh extension is installed. In an exported notebook this warning is expected.
@jlstevens
Copy link
Contributor

jlstevens commented May 15, 2018

This is probably because the comms for parambokeh need updating for compatibility with Jupyterlab. I hope to update parambokeh soon so it will work.

@jlstevens
Copy link
Contributor

This is being addressed in ioam/parambokeh#51

@philippjfr
Copy link
Member

This has been fixed we are now just waiting on a new parambokeh release.

Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants