WSL icon indicating copy to clipboard operation
WSL copied to clipboard

Bokeh on WSL

Open heyanger opened this issue 9 years ago • 2 comments

  • Your Windows build number: (Type ver at a Windows Command Prompt) Microsoft Windows [Version 10.0.15063]

  • What you're doing and what's happening: (Copy&paste specific commands and their output, or include screen shots) Running bokeh on WSL. Command executed: bokeh serve --show myapp.py --log-level=debug

Running following url should give me a sample graph running Bokeh on any browser localhost:5006

  • What's wrong / what should be happening instead: Tornado works fine on WSL but bokeh isnt. I suspect a problem with sockets but couldnt trace the error myself

2017-04-28 19:19:05,672 Starting Bokeh server version 0.12.5 2017-04-28 19:19:05,673 These host origins can connect to the websocket: ['localhost:5006'] 2017-04-28 19:19:05,674 Patterns are: 2017-04-28 19:19:05,674 [('/myapp/?', 2017-04-28 19:19:05,674 <class 'bokeh.server.views.doc_handler.DocHandler'>, 2017-04-28 19:19:05,674 {'application_context': <bokeh.server.application_context.ApplicationContext object at 0x7f085ede9908>, 2017-04-28 19:19:05,674 'bokeh_websocket_path': '/myapp/ws'}), 2017-04-28 19:19:05,675 ('/myapp/ws', 2017-04-28 19:19:05,675 <class 'bokeh.server.views.ws.WSHandler'>, 2017-04-28 19:19:05,675 {'application_context': <bokeh.server.application_context.ApplicationContext object at 0x7f085ede9908>, 2017-04-28 19:19:05,675 'bokeh_websocket_path': '/myapp/ws'}), 2017-04-28 19:19:05,675 ('/myapp/autoload.js', 2017-04-28 19:19:05,675 <class 'bokeh.server.views.autoload_js_handler.AutoloadJsHandler'>, 2017-04-28 19:19:05,676 {'application_context': <bokeh.server.application_context.ApplicationContext object at 0x7f085ede9908>, 2017-04-28 19:19:05,678 'bokeh_websocket_path': '/myapp/ws'}), 2017-04-28 19:19:05,678 ('/?', 2017-04-28 19:19:05,678 <class 'bokeh.server.views.root_handler.RootHandler'>, 2017-04-28 19:19:05,678 {'applications': {'/myapp': <bokeh.server.application_context.ApplicationContext object at 0x7f085ede9908>}, 2017-04-28 19:19:05,678 'prefix': '', 2017-04-28 19:19:05,678 'use_redirect': True}), 2017-04-28 19:19:05,679 ('/static/(.*)', 2017-04-28 19:19:05,679 <class 'bokeh.server.views.static_handler.StaticHandler'>)] 2017-04-28 19:19:05,710 Starting Bokeh server on port 5006 with applications at paths ['/myapp'] 2017-04-28 19:19:05,711 Starting Bokeh server with process id: 11431 2017-04-28 19:19:20,711 [pid 11431] 0 clients connected 2017-04-28 19:19:20,712 [pid 11431] /myapp has 0 sessions with 0 unused

Attempting to connect to application: HTTP request sent by browser but no response was received

  • Strace of the failing command, if applicable: (If <cmd> is failing, then run strace -o strace.txt -ff <cmd>, and post the strace.txt output here)

See our contributing instructions for assistance.

heyanger avatar Apr 28 '17 11:04 heyanger

For a while the latest versions of bokeh and tornado were incompatible; see https://github.com/bokeh/bokeh/issues/6152. I think this wasn't WSL-related.

tdsmith avatar Aug 04 '17 21:08 tdsmith

Okay on WSL1. Presume the OP was external.

image

therealkenc avatar Oct 05 '20 21:10 therealkenc