Bokeh dashboard not viewable at all
See original GitHub issueWhat happened: Using a docker image for dask, was unable to load the dashboard
What you expected to happen: To load the bokeh dashboard from the docker container
Minimal Complete Verifiable Example:
version: '3.2'
networks:
network:
services:
dask-scheduler:
container_name: dask_scheduler
image: daskdev/dask:2021.3.0
# image: daskdev/dask:2021.2.0 # This is most recent version that works
hostname: dask-scheduler
ports:
- "8786:8786"
- "8787:8787"
restart: 'always'
environment:
- EXTRA_PIP_PACKAGES=prometheus_client jupyter-server-proxy # not sure if these are breaking something
command: ['dask-scheduler']
networks:
- network
Looks like it comes from here: https://github.com/dask/distributed/blob/main/distributed/scheduler.py#L3338
>>> import distributed.dashboard.scheduler
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/conda/lib/python3.8/site-packages/distributed/dashboard/scheduler.py", line 13, in <module>
from .components.scheduler import (
ImportError: cannot import name 'individual_systemmonitor_doc' from 'distributed.dashboard.components.scheduler' (/opt/conda/lib/python3.8/site-packages/distributed/dashboard/components/scheduler.py)
>>>
(base) root@dask-scheduler:/# python
Python 3.8.0 (default, Nov 6 2019, 21:49:08)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import distributed
>>> import distributed.dashboard
>>> import distributed.dashboard.components
>>> import distributed.dashboard.components.scheduler
>>> from distributed.dashboard.components.scheduler import individual_systemmonitor_doc
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: cannot import name 'individual_systemmonitor_doc' from 'distributed.dashboard.components.scheduler' (/opt/conda/lib/python3.8/site-packages/distributed/dashboard/components/scheduler.py)
Anything else we need to know?:
Environment:
- Dask version: 2021.3.0 / 2021.3.1 / 2021.4.0 / 2021.4.1
- Python version: 3.8.0
- Operating System: Ubuntu 20.04
- Install method (conda, pip, source): Docker container from dockerhub – daskdev/dask:2021.3.0
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Bokeh dashboard layout; widget layout does not show
this is known issue with pandas_bokeh. this error came if you have same plots name but it works when you use curdoc/server type...
Read more >Bokeh dashboard not showing in iphone/ipad (Safari and ...
Dear Community, I have a Bokeh dashboard that works fine in Chrome Desktop, and also on my Android phone with Chrome, but I...
Read more >Building Dashboards Using Bokeh - CODE Magazine
Using Bokeh, you can create dashboards - a visual display of all your key data. What's more, Bokeh powers your dashboards on Web...
Read more >bokeh dashboard throws exception when showing all workers
Hmm I'm seeing this er on the main /status page, but not on the workers page. I am seeing errors with loading bokeh.js...
Read more >Data Visualization with Bokeh in Python, Part III: Making a ...
Example of Bokeh Dashboard built for my research. While not every idea you see on Twitter is probably going to be helpful to...
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
individual_systemmonitor_doc
was removed in thedistributed=2021.4.1
release. @nickvazz could you confirm whether the version ofdistributed
you’re using in the Python REPL is2021.3.0
or something else?Hmm, I used your docker-compose setup and was able to load the dashboard at
localhost:8787
. Here’s the output fromdocker-compose up
And after exec-ing into the container was able to load the function you tried