Hi all,
All of a sudden today I’m unable to build bokeh and have it run in the notebook.
When I try to run output_notebook(), I see
BokehJS successfully loaded.
Javascript error adding output!
TypeError: e is undefined
See your browser Javascript console for more details.
and then, not surprisingly, when I try to show a plot, I see
Javascript error adding output!
ReferenceError: Bokeh is not defined
See your browser Javascript console for more details.
I’m not entirely sure when the last time this worked was but certainly not very long ago. I have tried blowing everything away and am seeing the same. I am also seeing, intermittently, the error we are getting on travis:
Done. Phantomjs binary available at /home/bird/Dev/bokeh/bokeh/bokehjs/node_modules/phantomjs/lib/phantom/bin/phantomjs
npm ERR! cb() never called!
npm ERR! not ok code 0
The console from ipython notebook isn’t telling me much, but maybe someone else will know:
“Kernel: kernel_ready (4e9b16a5-0554-4b44-bbe0-7543e2c8ed67)” kernel.js:98:13
TypeError: e is undefined
Stack trace:
[38]</o@http://localhost:8888/static/components/jquery/jquery.min.js?v=20150809034836 line 4 > eval:24:17646
[38]</r<@http://localhost:8888/static/components/jquery/jquery.min.js?v=20150809034836 line 4 > eval:24:17838
[38]<@http://localhost:8888/static/components/jquery/jquery.min.js?v=20150809034836 line 4 > eval:24:17753
r@http://localhost:8888/static/components/jquery/jquery.min.js?v=20150809034836 line 4 > eval:2:262
r/<@http://localhost:8888/static/components/jquery/jquery.min.js?v=20150809034836 line 4 > eval:2:321
[30]<@http://localhost:8888/static/components/jquery/jquery.min.js?v=20150809034836 line 4 > eval:23:27186
r@http://localhost:8888/static/components/jquery/jquery.min.js?v=20150809034836 line 4 > eval:2:262
r/<@http://localhost:8888/static/components/jquery/jquery.min.js?v=20150809034836 line 4 > eval:2:321
[1]<@http://localhost:8888/static/components/jquery/jquery.min.js?v=20150809034836 line 4 > eval:2:842
r@http://localhost:8888/static/components/jquery/jquery.min.js?v=20150809034836 line 4 > eval:2:262
t@http://localhost:8888/static/components/jquery/jquery.min.js?v=20150809034836 line 4 > eval:2:437
@http://localhost:8888/static/components/jquery/jquery.min.js?v=20150809034836 line 4 > eval:2:1
.globalEval@http://localhost:8888/static/components/jquery/jquery.min.js?v=20150809034836:4:4231
.domManip@http://localhost:8888/static/components/jquery/jquery.min.js?v=20150809034836:5:21389
.append@http://localhost:8888/static/components/jquery/jquery.min.js?v=20150809034836:5:18980
OutputArea.prototype._safe_append@http://localhost:8888/static/notebook/js/outputarea.js?v=20150809034836:414:13
OutputArea.prototype.append_display_data@http://localhost:8888/static/notebook/js/outputarea.js?v=20150809034836:535:13
OutputArea.prototype.append_output@http://localhost:8888/static/notebook/js/outputarea.js?v=20150809034836:320:13
OutputArea.prototype.handle_output@http://localhost:8888/static/notebook/js/outputarea.js?v=20150809034836:234:9
CodeCell.prototype.get_callbacks/<.iopub.output@http://localhost:8888/static/notebook/js/codecell.js?v=20150809034836:456:21
Kernel.prototype._handle_output_message@http://localhost:8888/static/services/kernels/kernel.js?v=20150809034836:1012:13
.proxy/i@http://localhost:8888/static/components/jquery/jquery.min.js?v=20150809034836:4:5486
Kernel.prototype._handle_iopub_message@http://localhost:8888/static/services/kernels/kernel.js?v=20150809034836:1039:20
Kernel.prototype._finish_ws_message@http://localhost:8888/static/services/kernels/kernel.js?v=20150809034836:874:1
Kernel.prototype._handle_ws_message/this._msg_queue<@http://localhost:8888/static/services/kernels/kernel.js?v=20150809034836:864:39
In case it’s useful, my conda env, pip freeze, and npm ls are here: http://pastebin.com/DShBzgBr
To get my dev environment setup, I followed the instructions from here: https://github.com/bokeh/bokeh/issues/2463#issuecomment-115752427