Skip to content

Scheduler web interface fails with TypeError with bokeh 0.12.10 #1515

@jeffreyliu

Description

@jeffreyliu

Installing 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 - -----------------------------------------------

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions