Dashbaord Server ipywidgets version mismatch?

125 views
Skip to first unread message

Spencer Ogden

unread,
Aug 26, 2016, 10:53:37 AM8/26/16
to Project Jupyter
Hello,

I've been able to get the Dashboard Server running and a test dashboard appears to be working fine. In the console, I get this error:

dashboard.js:257 stderr Widget Javascript not detected.  It may not be installed properly. Did you enable the widgetsnbextension? If not, then run "jupyter nbextension enable --py --sys-prefix widgetsnbextension"

I have already run this, both as root and the local user, and everything seems to be working, but I wanted to check if I am missing something. Where can I check what is not properly installed?

All pieces: notebook gateway, dashboard server, single user jupyter notebook, are all running on a single machine.

Thanks,
Spencer

Peter Parente

unread,
Aug 26, 2016, 12:35:43 PM8/26/16
to Project Jupyter
That message comes from the Python side of ipywidgets expecting the JS side of ipywidgets to be served from the same Python environment. In the dashboard server case, it's not. The dashboard server has the ipywidgets JS while the ipywidgets Python gets imported where the kernel runs, behind the kernel gateway.

It's a harmless message. Quite a few people have asked about it, so maybe there's a way to silence it. But I'm not sure making that a change in ipwydigets is the right answer.
Reply all
Reply to author
Forward
0 new messages