Scheduler web interface fails with TypeError with bokeh 0.12.10
See original GitHub issueInstalling the latest version of bokeh (0.12.10) breaks the bokeh web interface when launching the scheduler, throwing TypeError: __init__() got an unexpected keyword argument 'host'
. The scheduler itself runs fine despite this. I am not setting host
in either .dask/config.yaml nor in the command line arguments. I was able to replicate on both MacOS Sierra 10.12.6 and Ubuntu 14.04.
using bokeh=0.12.10:
~ jeffliu$ dask-scheduler
distributed.scheduler - INFO - -----------------------------------------------
distributed.scheduler - INFO - Could not launch service: ('bokeh', 8787)
Traceback (most recent call last):
File "/Users/jeffliu/miniconda3/lib/python3.6/site-packages/distributed/scheduler.py", line 430, in start_services
service.listen((listen_ip, port))
File "/Users/jeffliu/miniconda3/lib/python3.6/site-packages/distributed/bokeh/core.py", line 31, in listen
**kwargs)
File "/Users/jeffliu/miniconda3/lib/python3.6/site-packages/bokeh/server/server.py", line 371, in __init__
tornado_app = BokehTornado(applications, extra_websocket_origins=extra_websocket_origins, prefix=self.prefix, **kwargs)
TypeError: __init__() got an unexpected keyword argument 'host'
distributed.scheduler - INFO - Scheduler at: tls://ip.address:8786
distributed.scheduler - INFO - http at: :9786
distributed.scheduler - INFO - Local Directory: /var/folders/path
distributed.scheduler - INFO - -----------------------------------------------
Fixed when downgrading to bokeh 0.12.7:
lumiere:~ jeffliu$ conda install bokeh=0.12.7
Fetching package metadata ...........
Solving package specifications: .
Package plan for installation in environment /Users/jeffliu/miniconda3:
The following packages will be DOWNGRADED:
bokeh: 0.12.10-py36hfd5be35_0 --> 0.12.7-py36hf2e3fb6_1
Proceed ([y]/n)? y
bokeh-0.12.7-p 100% |######################################################################| Time: 0:00:01 2.95 MB/s
~ jeffliu$ dask-scheduler
distributed.scheduler - INFO - -----------------------------------------------
distributed.scheduler - INFO - Scheduler at: tls://ip.address:8786
distributed.scheduler - INFO - http at: :9786
distributed.scheduler - INFO - bokeh at: :8787
distributed.scheduler - INFO - Local Directory: /var/folders/path
distributed.scheduler - INFO - -----------------------------------------------
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Releases — Bokeh 3.0.3 Documentation
Bokeh Version 3.0.1 (Nov 2022) is a point release that addresses an issue with runtime ... CSS was modularized and all UI components...
Read more >Changelog - Dask documentation
Fix TypeError: 'Serialize' object is not subscriptable when writing parquet dataset with Client(processes=False) (GH#9015) Lucas Miguel Ponce.
Read more >Changelog — Dask 2.23.0 documentation
Support ports in the --bokeh-whitelist option ot dask-scheduler to better routing of web interface messages behind non-trivial network ...
Read more >anaconda安装mat - CSDN
bokeh 2.2.1 ... An HTTP error occurred when trying to retrieve this URL. ... File "C:\ProgramData\Anaconda3\lib\site-packages\twisted\web\http.py", ...
Read more >PyMySQL | Pure Python MySQL Client - kandi - Open Weaver
Connection to mysql (MariaDB) fails in python->SQLAlchemy while it succeeds ... blinker=1.4 - blosc=1.21.0 - bokeh=2.3.0 - boto=2.49.0 - bottleneck=1.3.2 ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Known issue, fixed in latest release:
Thanks for reporting
I have bokeh 0.12.14 and upgraded the distributed package which resolved this issue. Note: several other packages updated as well… pip install -U distributed