Enter code here…
``
I tried to run the bokeh server on an ARM board (ZYNQ running Ubuntu 2016.4.02):
bokeh serve --log-level debug sliders.py
2017-06-04 13:33:16,520 Starting Bokeh server version 0.12.5
2017-06-04 13:33:16,522 These host origins can connect to the websocket: [‘localhost:5006’]
2017-06-04 13:33:16,526 Patterns are:
2017-06-04 13:33:16,533 [(’/sliders/?’,
2017-06-04 13:33:16,533 <class ‘bokeh.server.views.doc_handler.DocHandler’>,
2017-06-04 13:33:16,534 {‘application_context’: <bokeh.server.application_context.ApplicationContext object at 0xb62bb770>,
2017-06-04 13:33:16,535 ‘bokeh_websocket_path’: ‘/sliders/ws’}),
2017-06-04 13:33:16,535 (’/sliders/ws’,
2017-06-04 13:33:16,536 <class ‘bokeh.server.views.ws.WSHandler’>,
2017-06-04 13:33:16,536 {‘application_context’: <bokeh.server.application_context.ApplicationContext object at 0xb62bb770>,
2017-06-04 13:33:16,537 ‘bokeh_websocket_path’: ‘/sliders/ws’}),
2017-06-04 13:33:16,538 (’/sliders/autoload.js’,
2017-06-04 13:33:16,538 <class ‘bokeh.server.views.autoload_js_handler.AutoloadJsHandler’>,
2017-06-04 13:33:16,539 {‘application_context’: <bokeh.server.application_context.ApplicationContext object at 0xb62bb770>,
2017-06-04 13:33:16,540 ‘bokeh_websocket_path’: ‘/sliders/ws’}),
2017-06-04 13:33:16,540 (’/?’,
2017-06-04 13:33:16,541 <class ‘bokeh.server.views.root_handler.RootHandler’>,
2017-06-04 13:33:16,541 {‘applications’: {’/sliders’: <bokeh.server.application_context.ApplicationContext object at 0xb62bb770>},
2017-06-04 13:33:16,542 ‘prefix’: ‘’,
2017-06-04 13:33:16,542 ‘use_redirect’: True}),
2017-06-04 13:33:16,543 (’/static/(.*)’,
2017-06-04 13:33:16,544 <class ‘bokeh.server.views.static_handler.StaticHandler’>)]
2017-06-04 13:33:16,567 Starting Bokeh server on port 5006 with applications at paths [’/sliders’]
2017-06-04 13:33:16,567 Starting Bokeh server with process id: 1845
2017-06-04 13:33:31,569 [pid 1845] 0 clients connected
2017-06-04 13:33:31,569 [pid 1845] /sliders has 0 sessions with 0 unused
2017-06-04 13:33:46,569 [pid 1845] 0 clients connected
2017-06-04 13:33:46,569 [pid 1845] /sliders has 0 sessions with 0 unused
2017-06-04 13:34:01,569 [pid 1845] 0 clients connected
2017-06-04 13:34:01,570 [pid 1845] /sliders has 0 sessions with 0 unused
2017-06-04 13:34:16,569 [pid 1845] 0 clients connected
2017-06-04 13:34:16,570 [pid 1845] /sliders has 0 sessions with 0 unused
…
``
I am not very good at checking network stuff, but it seems I properly opened a session from my browser to the server.
ss
…
tcp ESTAB 0 0 192.168.0.103:5006 192.168.0.107:43416
tcp ESTAB 0 0 192.168.0.103:5006 192.168.0.107:43414
tcp ESTAB 0 0 192.168.0.103:22 192.168.0.107:51476
tcp ESTAB 0 1252 192.168.0.103:22 192.168.0.107:51996
``
But I do not get anything in the browser, and the server does not seem to react either.
I am running the code as root.
This is bokeh info:
bokeh info
Python version : 3.5.2 (default, Nov 17 2016, 17:05:23)
IPython version : 6.0.0
Bokeh version : 0.12.5
BokehJS static path : /usr/local/lib/python3.5/dist-packages/bokeh/server/static
node.js version : (not installed)
npm version : (not installed)
``
I have not tried to run the server on my Ubuntu PC yet.
Regards,
Iztok Jeras