no response from bokeh server

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

Hi,

There is currently a problem with the recently released Tornado 4.5. It came out after the last stable Bokeh release, but is incompatible. Please first make sure you do NOT have Tornado 4.5 installed. The next release of Bokeh will work with Tornado 4.5 again.

The next Bokeh release which makes things work again with tornado 4.5 will be out later this week.

Bryan

···

On Jun 4, 2017, at 16:02, [email protected] wrote:

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

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/7e76e99f-f124-45db-9c9c-135560f08938%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.

Thanks, indeed it seems I have tornado 4.5:

pip3 show tornado

Name: tornado

Version: 4.5.1

A new release in a week should be fine, I do not need the server right now,

and bokeh works inside Jupyter just fine.

Regards,

Iztok Jeras

···

On Sunday, June 4, 2017 at 11:06:02 PM UTC+2, Bryan Van de ven wrote:

Hi,

There is currently a problem with the recently released Tornado 4.5. It came out after the last stable Bokeh release, but is incompatible. Please first make sure you do NOT have Tornado 4.5 installed. The next release of Bokeh will work with Tornado 4.5 again.

The next Bokeh release which makes things work again with tornado 4.5 will be out later this week.

Bryan

On Jun 4, 2017, at 16:02, [email protected] wrote:

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


You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/7e76e99f-f124-45db-9c9c-135560f08938%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

It is working now with Bokeh 12.6, thanks.