Open quasiben opened 5 years ago
Thanks for the report @quasiben. Can you confirm that it was working before?
A few things to check:
What versions of dask-labextension
(npm) and dask_labextension
(python) are you using?
Is the python extension enabled? (jupyter serverextension list
)
Are there any errors in the notebook server logs?
Are there any errors in the browser Javascript console?
Apologies, was just about to include all of those:
(lab) bzaitlen@dgx16:~$ conda list dask-labextension
# packages in environment at /home/nfs/bzaitlen/miniconda3/envs/lab:
#
# Name Version Build Channel
dask-labextension 0.3.3 pypi_0 pypi
(lab) bzaitlen@dgx16:~$ jupyter serverextension list
config dir: /home/nfs/bzaitlen/miniconda3/envs/lab/etc/jupyter
dask_labextension enabled
- Validating...
dask_labextension 0.3.3 OK
jupyterlab enabled
- Validating...
jupyterlab 0.35.5 OK
Nothing shows up with
npm list -g | grep dask
Perhaps the above is the problem ?
There are no reported errors in the js console nor the server logs. Things were working in the past -- though I can't recall which jupyter-lab version I was using
Unresponsive buttons might also be due to a lack of a connection? Are they gray or orange? If gray then this might be a network issue.
The buttons are orange. And most buttons don't work. Oddly, the Workers and Task Graph buttons work
@quasiben Hmm, those versions look reasonable. Is it possible that your version of distributed
is broken? Can you go to the individual dashboard urls in a separate browser tab, rather than the JupyterLab tabs? What do you see at {DASHBOARD_URL}/individual-plots.json
?
The dashboard is functional and the json output is:
{"Individual Task Stream": "/individual-task-stream", "Individual Progress": "/individual-progress", "Individual Graph": "/individual-graph", "Individual Profile": "/individual-profile", "Individual Profile Server": "/individual-profile-server", "Individual Nbytes": "/individual-nbytes", "Individual Nprocessing": "/individual-nprocessing", "Individual Workers": "/individual-workers"}
I'm starting over with a new env
I forgot to say thank you @ian-r-rose and @mrocklin for helping me debug. My apologies
Thanks for following up. Did you get it working? If so, any secrets you can share for future users who may run into the same issue?
I didn't get it working -- i built a new env with the following:
conda create -n lab jupyterlab bokeh numpy matplotlib nodejs -c conda-forge
pip install dask_labextension
jupyter labextension install dask-labextension
Using the above the proxying didn't work at all. I think added jupyter-server-proxy
which brought me back to buttons not being responsive:
pip install jupyter-server-proxy
The above was probably a mistake given https://github.com/dask/dask-labextension/issues/49
I just notice I am using python3.7. Is this a problem ?
Using the above the proxying didn't work at all. I think added
jupyter-server-proxy
which brought me back to buttons not being responsive:
I'm confused -- what is the difference between with jupyter-server-proxy
and without? Note that until #58 is published it should not be a dependency here.
Sorry, with jupyter-server-proxy
the Workers
and Task Graph
buttons are responsive and everything is orange. With jupyter-server-proxy
proxying fails and all buttons are grey
Do you have any dask config that might be setting the dashboard link to something unintended?
I don't think this should matter ?
(lab) bzaitlen@dgx16:~$ cat ~/.config/dask/labextension.yaml
labextension:
factory:
module: 'dask_cuda'
class: 'LocalCUDACluster'
args: []
kwargs: {}
I also wanted to note that i am running jupyter-lab version 0.35.6
I agree it shouldn't matter but maybe try removing it anyways? I just tried your install setup on Ubuntu 18.04 and everything seemed to be working as expected.
i removed it and I'm still getting the issue. Maybe my VPN is causing some issues...
I'm a bit at a loss. I think you will run into troubles if your config tries to launch a CUDA cluster when dask-cuda is not installed. But if that is not in the config, then the environment seems fine to me. What OS/browser are you using? Can you reproduce the issue in a binder environment?
Here is a branch that specifies a working environment, demonstrated on Binder:
I think this is a user error/my setup. @mrocklin recreated a new env last night and had no issues. The setup is jlab running on ubuntu + vpn + osx chrome browser. Another thing to note is that I'm using node 11 ?
Could it be that a lab-1.0 conda environment is polluting the JS space ?
I am going to close again (sorry for reopening). I don't think it's worth wasting any more of your time @ian-r-rose . Thank you again for helping me debug
Do you recall which buttons weren't working @quasiben? May have run into a similar issue. In particular everything except for Progress
and Task Stream
work.
Correct, only Progress
and Task Stream
were working
Do you recall what changed between your old environment and your new environment where the issue was fixed?
Hi,
I'm having a similar problem.
The following buttons are not responsive:
I'm running on Windows10 with pipenv
. see below pipenv graph
:
dask-labextension==0.3.3
- bokeh [required: Any, installed: 1.1.0]
- Jinja2 [required: >=2.7, installed: 2.10.1]
- MarkupSafe [required: >=0.23, installed: 1.1.1]
- numpy [required: >=1.7.1, installed: 1.16.3]
- packaging [required: >=16.8, installed: 19.0]
- pyparsing [required: >=2.0.2, installed: 2.4.0]
- six [required: Any, installed: 1.12.0]
- pillow [required: >=4.0, installed: 6.0.0]
- python-dateutil [required: >=2.1, installed: 2.8.0]
- six [required: >=1.5, installed: 1.12.0]
- PyYAML [required: >=3.10, installed: 5.1]
- six [required: >=1.5.2, installed: 1.12.0]
- tornado [required: >=4.3, installed: 6.0.2]
- distributed [required: >=1.24.1, installed: 1.28.1]
- click [required: >=6.6, installed: 7.0]
- cloudpickle [required: >=0.2.2, installed: 1.1.1]
- dask [required: >=0.18.0, installed: 1.2.2]
- msgpack [required: Any, installed: 0.6.1]
- psutil [required: >=5.0, installed: 5.6.2]
- pyyaml [required: Any, installed: 5.1]
- six [required: Any, installed: 1.12.0]
- sortedcontainers [required: !=2.0.1,!=2.0.0, installed: 2.1.0]
- tblib [required: Any, installed: 1.4.0]
- toolz [required: >=0.7.4, installed: 0.9.0]
- tornado [required: >=5, installed: 6.0.2]
- zict [required: >=0.1.3, installed: 0.1.4]
- heapdict [required: Any, installed: 1.0.0]
- notebook [required: >=4.3.1, installed: 5.7.8]
- ipykernel [required: Any, installed: 5.1.1]
- ipython [required: >=5.0.0, installed: 7.5.0]
- backcall [required: Any, installed: 0.1.0]
- colorama [required: Any, installed: 0.4.1]
- decorator [required: Any, installed: 4.4.0]
- jedi [required: >=0.10, installed: 0.13.3]
- parso [required: >=0.3.0, installed: 0.4.0]
- pickleshare [required: Any, installed: 0.7.5]
- prompt-toolkit [required: >=2.0.0,<2.1.0, installed: 2.0.9]
- six [required: >=1.9.0, installed: 1.12.0]
- wcwidth [required: Any, installed: 0.1.7]
- pygments [required: Any, installed: 2.4.0]
- setuptools [required: >=18.5, installed: 41.0.1]
- traitlets [required: >=4.2, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
- jupyter-client [required: Any, installed: 5.2.4]
- jupyter-core [required: Any, installed: 4.4.0]
- traitlets [required: Any, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
- python-dateutil [required: >=2.1, installed: 2.8.0]
- six [required: >=1.5, installed: 1.12.0]
- pyzmq [required: >=13, installed: 18.0.1]
- tornado [required: >=4.1, installed: 6.0.2]
- traitlets [required: Any, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
- tornado [required: >=4.2, installed: 6.0.2]
- traitlets [required: >=4.1.0, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- jinja2 [required: Any, installed: 2.10.1]
- MarkupSafe [required: >=0.23, installed: 1.1.1]
- jupyter-client [required: >=5.2.0, installed: 5.2.4]
- jupyter-core [required: Any, installed: 4.4.0]
- traitlets [required: Any, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
- python-dateutil [required: >=2.1, installed: 2.8.0]
- six [required: >=1.5, installed: 1.12.0]
- pyzmq [required: >=13, installed: 18.0.1]
- tornado [required: >=4.1, installed: 6.0.2]
- traitlets [required: Any, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
- jupyter-core [required: >=4.4.0, installed: 4.4.0]
- traitlets [required: Any, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
- nbconvert [required: Any, installed: 5.5.0]
- bleach [required: Any, installed: 3.1.0]
- six [required: >=1.9.0, installed: 1.12.0]
- webencodings [required: Any, installed: 0.5.1]
- defusedxml [required: Any, installed: 0.6.0]
- entrypoints [required: >=0.2.2, installed: 0.3]
- jinja2 [required: >=2.4, installed: 2.10.1]
- MarkupSafe [required: >=0.23, installed: 1.1.1]
- jupyter-core [required: Any, installed: 4.4.0]
- traitlets [required: Any, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
- mistune [required: >=0.8.1, installed: 0.8.4]
- nbformat [required: >=4.4, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- jsonschema [required: >=2.4,!=2.5.0, installed: 3.0.1]
- attrs [required: >=17.4.0, installed: 19.1.0]
- pyrsistent [required: >=0.14.0, installed: 0.15.2]
- six [required: Any, installed: 1.12.0]
- setuptools [required: Any, installed: 41.0.1]
- six [required: >=1.11.0, installed: 1.12.0]
- jupyter-core [required: Any, installed: 4.4.0]
- traitlets [required: Any, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
- traitlets [required: >=4.1, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
- pandocfilters [required: >=1.4.1, installed: 1.4.2]
- pygments [required: Any, installed: 2.4.0]
- testpath [required: Any, installed: 0.4.2]
- traitlets [required: >=4.2, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
- nbformat [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- jsonschema [required: >=2.4,!=2.5.0, installed: 3.0.1]
- attrs [required: >=17.4.0, installed: 19.1.0]
- pyrsistent [required: >=0.14.0, installed: 0.15.2]
- six [required: Any, installed: 1.12.0]
- setuptools [required: Any, installed: 41.0.1]
- six [required: >=1.11.0, installed: 1.12.0]
- jupyter-core [required: Any, installed: 4.4.0]
- traitlets [required: Any, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
- traitlets [required: >=4.1, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
- prometheus-client [required: Any, installed: 0.6.0]
- pyzmq [required: >=17, installed: 18.0.1]
- Send2Trash [required: Any, installed: 1.5.0]
- terminado [required: >=0.8.1, installed: 0.8.2]
- pywinpty [required: >=0.5, installed: 0.5.5]
- tornado [required: >=4, installed: 6.0.2]
- tornado [required: >=4.1,<7, installed: 6.0.2]
- traitlets [required: >=4.2.1, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0] jupyterlab==0.35.6
- jupyterlab-server [required: >=0.2.0,<0.3.0, installed: 0.2.0]
- jsonschema [required: >=2.6.0, installed: 3.0.1]
- attrs [required: >=17.4.0, installed: 19.1.0]
- pyrsistent [required: >=0.14.0, installed: 0.15.2]
- six [required: Any, installed: 1.12.0]
- setuptools [required: Any, installed: 41.0.1]
- six [required: >=1.11.0, installed: 1.12.0]
- notebook [required: >=4.2.0, installed: 5.7.8]
- ipykernel [required: Any, installed: 5.1.1]
- ipython [required: >=5.0.0, installed: 7.5.0]
- backcall [required: Any, installed: 0.1.0]
- colorama [required: Any, installed: 0.4.1]
- decorator [required: Any, installed: 4.4.0]
- jedi [required: >=0.10, installed: 0.13.3]
- parso [required: >=0.3.0, installed: 0.4.0]
- pickleshare [required: Any, installed: 0.7.5]
- prompt-toolkit [required: >=2.0.0,<2.1.0, installed: 2.0.9]
- six [required: >=1.9.0, installed: 1.12.0]
- wcwidth [required: Any, installed: 0.1.7]
- pygments [required: Any, installed: 2.4.0]
- setuptools [required: >=18.5, installed: 41.0.1]
- traitlets [required: >=4.2, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
- jupyter-client [required: Any, installed: 5.2.4]
- jupyter-core [required: Any, installed: 4.4.0]
- traitlets [required: Any, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
- python-dateutil [required: >=2.1, installed: 2.8.0]
- six [required: >=1.5, installed: 1.12.0]
- pyzmq [required: >=13, installed: 18.0.1]
- tornado [required: >=4.1, installed: 6.0.2]
- traitlets [required: Any, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
- tornado [required: >=4.2, installed: 6.0.2]
- traitlets [required: >=4.1.0, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- jinja2 [required: Any, installed: 2.10.1]
- MarkupSafe [required: >=0.23, installed: 1.1.1]
- jupyter-client [required: >=5.2.0, installed: 5.2.4]
- jupyter-core [required: Any, installed: 4.4.0]
- traitlets [required: Any, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
- python-dateutil [required: >=2.1, installed: 2.8.0]
- six [required: >=1.5, installed: 1.12.0]
- pyzmq [required: >=13, installed: 18.0.1]
- tornado [required: >=4.1, installed: 6.0.2]
- traitlets [required: Any, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
- jupyter-core [required: >=4.4.0, installed: 4.4.0]
- traitlets [required: Any, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
- nbconvert [required: Any, installed: 5.5.0]
- bleach [required: Any, installed: 3.1.0]
- six [required: >=1.9.0, installed: 1.12.0]
- webencodings [required: Any, installed: 0.5.1]
- defusedxml [required: Any, installed: 0.6.0]
- entrypoints [required: >=0.2.2, installed: 0.3]
- jinja2 [required: >=2.4, installed: 2.10.1]
- MarkupSafe [required: >=0.23, installed: 1.1.1]
- jupyter-core [required: Any, installed: 4.4.0]
- traitlets [required: Any, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
- mistune [required: >=0.8.1, installed: 0.8.4]
- nbformat [required: >=4.4, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- jsonschema [required: >=2.4,!=2.5.0, installed: 3.0.1]
- attrs [required: >=17.4.0, installed: 19.1.0]
- pyrsistent [required: >=0.14.0, installed: 0.15.2]
- six [required: Any, installed: 1.12.0]
- setuptools [required: Any, installed: 41.0.1]
- six [required: >=1.11.0, installed: 1.12.0]
- jupyter-core [required: Any, installed: 4.4.0]
- traitlets [required: Any, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
- traitlets [required: >=4.1, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
- pandocfilters [required: >=1.4.1, installed: 1.4.2]
- pygments [required: Any, installed: 2.4.0]
- testpath [required: Any, installed: 0.4.2]
- traitlets [required: >=4.2, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
- nbformat [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- jsonschema [required: >=2.4,!=2.5.0, installed: 3.0.1]
- attrs [required: >=17.4.0, installed: 19.1.0]
- pyrsistent [required: >=0.14.0, installed: 0.15.2]
- six [required: Any, installed: 1.12.0]
- setuptools [required: Any, installed: 41.0.1]
- six [required: >=1.11.0, installed: 1.12.0]
- jupyter-core [required: Any, installed: 4.4.0]
- traitlets [required: Any, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
- traitlets [required: >=4.1, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
- prometheus-client [required: Any, installed: 0.6.0]
- pyzmq [required: >=17, installed: 18.0.1]
- Send2Trash [required: Any, installed: 1.5.0]
- terminado [required: >=0.8.1, installed: 0.8.2]
- pywinpty [required: >=0.5, installed: 0.5.5]
- tornado [required: >=4, installed: 6.0.2]
- tornado [required: >=4.1,<7, installed: 6.0.2]
- traitlets [required: >=4.2.1, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
- notebook [required: >=4.3.1, installed: 5.7.8]
- ipykernel [required: Any, installed: 5.1.1]
- ipython [required: >=5.0.0, installed: 7.5.0]
- backcall [required: Any, installed: 0.1.0]
- colorama [required: Any, installed: 0.4.1]
- decorator [required: Any, installed: 4.4.0]
- jedi [required: >=0.10, installed: 0.13.3]
- parso [required: >=0.3.0, installed: 0.4.0]
- pickleshare [required: Any, installed: 0.7.5]
- prompt-toolkit [required: >=2.0.0,<2.1.0, installed: 2.0.9]
- six [required: >=1.9.0, installed: 1.12.0]
- wcwidth [required: Any, installed: 0.1.7]
- pygments [required: Any, installed: 2.4.0]
- setuptools [required: >=18.5, installed: 41.0.1]
- traitlets [required: >=4.2, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
- jupyter-client [required: Any, installed: 5.2.4]
- jupyter-core [required: Any, installed: 4.4.0]
- traitlets [required: Any, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
- python-dateutil [required: >=2.1, installed: 2.8.0]
- six [required: >=1.5, installed: 1.12.0]
- pyzmq [required: >=13, installed: 18.0.1]
- tornado [required: >=4.1, installed: 6.0.2]
- traitlets [required: Any, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
- tornado [required: >=4.2, installed: 6.0.2]
- traitlets [required: >=4.1.0, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- jinja2 [required: Any, installed: 2.10.1]
- MarkupSafe [required: >=0.23, installed: 1.1.1]
- jupyter-client [required: >=5.2.0, installed: 5.2.4]
- jupyter-core [required: Any, installed: 4.4.0]
- traitlets [required: Any, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
- python-dateutil [required: >=2.1, installed: 2.8.0]
- six [required: >=1.5, installed: 1.12.0]
- pyzmq [required: >=13, installed: 18.0.1]
- tornado [required: >=4.1, installed: 6.0.2]
- traitlets [required: Any, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
- jupyter-core [required: >=4.4.0, installed: 4.4.0]
- traitlets [required: Any, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
- nbconvert [required: Any, installed: 5.5.0]
- bleach [required: Any, installed: 3.1.0]
- six [required: >=1.9.0, installed: 1.12.0]
- webencodings [required: Any, installed: 0.5.1]
- defusedxml [required: Any, installed: 0.6.0]
- entrypoints [required: >=0.2.2, installed: 0.3]
- jinja2 [required: >=2.4, installed: 2.10.1]
- MarkupSafe [required: >=0.23, installed: 1.1.1]
- jupyter-core [required: Any, installed: 4.4.0]
- traitlets [required: Any, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
- mistune [required: >=0.8.1, installed: 0.8.4]
- nbformat [required: >=4.4, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- jsonschema [required: >=2.4,!=2.5.0, installed: 3.0.1]
- attrs [required: >=17.4.0, installed: 19.1.0]
- pyrsistent [required: >=0.14.0, installed: 0.15.2]
- six [required: Any, installed: 1.12.0]
- setuptools [required: Any, installed: 41.0.1]
- six [required: >=1.11.0, installed: 1.12.0]
- jupyter-core [required: Any, installed: 4.4.0]
- traitlets [required: Any, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
- traitlets [required: >=4.1, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
- pandocfilters [required: >=1.4.1, installed: 1.4.2]
- pygments [required: Any, installed: 2.4.0]
- testpath [required: Any, installed: 0.4.2]
- traitlets [required: >=4.2, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
- nbformat [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- jsonschema [required: >=2.4,!=2.5.0, installed: 3.0.1]
- attrs [required: >=17.4.0, installed: 19.1.0]
- pyrsistent [required: >=0.14.0, installed: 0.15.2]
- six [required: Any, installed: 1.12.0]
- setuptools [required: Any, installed: 41.0.1]
- six [required: >=1.11.0, installed: 1.12.0]
- jupyter-core [required: Any, installed: 4.4.0]
- traitlets [required: Any, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
- traitlets [required: >=4.1, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
- prometheus-client [required: Any, installed: 0.6.0]
- pyzmq [required: >=17, installed: 18.0.1]
- Send2Trash [required: Any, installed: 1.5.0]
- terminado [required: >=0.8.1, installed: 0.8.2]
- pywinpty [required: >=0.5, installed: 0.5.5]
- tornado [required: >=4, installed: 6.0.2]
- tornado [required: >=4.1,<7, installed: 6.0.2]
- traitlets [required: >=4.2.1, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0] pandas==0.24.2
- numpy [required: >=1.12.0, installed: 1.16.3]
- python-dateutil [required: >=2.5.0, installed: 2.8.0]
- six [required: >=1.5, installed: 1.12.0]
- pytz [required: >=2011k, installed: 2019.1] rise==5.5.0
- notebook [required: >=5.5.0, installed: 5.7.8]
- ipykernel [required: Any, installed: 5.1.1]
- ipython [required: >=5.0.0, installed: 7.5.0]
- backcall [required: Any, installed: 0.1.0]
- colorama [required: Any, installed: 0.4.1]
- decorator [required: Any, installed: 4.4.0]
- jedi [required: >=0.10, installed: 0.13.3]
- parso [required: >=0.3.0, installed: 0.4.0]
- pickleshare [required: Any, installed: 0.7.5]
- prompt-toolkit [required: >=2.0.0,<2.1.0, installed: 2.0.9]
- six [required: >=1.9.0, installed: 1.12.0]
- wcwidth [required: Any, installed: 0.1.7]
- pygments [required: Any, installed: 2.4.0]
- setuptools [required: >=18.5, installed: 41.0.1]
- traitlets [required: >=4.2, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
- jupyter-client [required: Any, installed: 5.2.4]
- jupyter-core [required: Any, installed: 4.4.0]
- traitlets [required: Any, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
- python-dateutil [required: >=2.1, installed: 2.8.0]
- six [required: >=1.5, installed: 1.12.0]
- pyzmq [required: >=13, installed: 18.0.1]
- tornado [required: >=4.1, installed: 6.0.2]
- traitlets [required: Any, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
- tornado [required: >=4.2, installed: 6.0.2]
- traitlets [required: >=4.1.0, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- jinja2 [required: Any, installed: 2.10.1]
- MarkupSafe [required: >=0.23, installed: 1.1.1]
- jupyter-client [required: >=5.2.0, installed: 5.2.4]
- jupyter-core [required: Any, installed: 4.4.0]
- traitlets [required: Any, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
- python-dateutil [required: >=2.1, installed: 2.8.0]
- six [required: >=1.5, installed: 1.12.0]
- pyzmq [required: >=13, installed: 18.0.1]
- tornado [required: >=4.1, installed: 6.0.2]
- traitlets [required: Any, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
- jupyter-core [required: >=4.4.0, installed: 4.4.0]
- traitlets [required: Any, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
- nbconvert [required: Any, installed: 5.5.0]
- bleach [required: Any, installed: 3.1.0]
- six [required: >=1.9.0, installed: 1.12.0]
- webencodings [required: Any, installed: 0.5.1]
- defusedxml [required: Any, installed: 0.6.0]
- entrypoints [required: >=0.2.2, installed: 0.3]
- jinja2 [required: >=2.4, installed: 2.10.1]
- MarkupSafe [required: >=0.23, installed: 1.1.1]
- jupyter-core [required: Any, installed: 4.4.0]
- traitlets [required: Any, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
- mistune [required: >=0.8.1, installed: 0.8.4]
- nbformat [required: >=4.4, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- jsonschema [required: >=2.4,!=2.5.0, installed: 3.0.1]
- attrs [required: >=17.4.0, installed: 19.1.0]
- pyrsistent [required: >=0.14.0, installed: 0.15.2]
- six [required: Any, installed: 1.12.0]
- setuptools [required: Any, installed: 41.0.1]
- six [required: >=1.11.0, installed: 1.12.0]
- jupyter-core [required: Any, installed: 4.4.0]
- traitlets [required: Any, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
- traitlets [required: >=4.1, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
- pandocfilters [required: >=1.4.1, installed: 1.4.2]
- pygments [required: Any, installed: 2.4.0]
- testpath [required: Any, installed: 0.4.2]
- traitlets [required: >=4.2, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
- nbformat [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- jsonschema [required: >=2.4,!=2.5.0, installed: 3.0.1]
- attrs [required: >=17.4.0, installed: 19.1.0]
- pyrsistent [required: >=0.14.0, installed: 0.15.2]
- six [required: Any, installed: 1.12.0]
- setuptools [required: Any, installed: 41.0.1]
- six [required: >=1.11.0, installed: 1.12.0]
- jupyter-core [required: Any, installed: 4.4.0]
- traitlets [required: Any, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
- traitlets [required: >=4.1, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
- prometheus-client [required: Any, installed: 0.6.0]
- pyzmq [required: >=17, installed: 18.0.1]
- Send2Trash [required: Any, installed: 1.5.0]
- terminado [required: >=0.8.1, installed: 0.8.2]
- pywinpty [required: >=0.5, installed: 0.5.5]
- tornado [required: >=4, installed: 6.0.2]
- tornado [required: >=4.1,<7, installed: 6.0.2]
- traitlets [required: >=4.2.1, installed: 4.3.2]
- decorator [required: Any, installed: 4.4.0]
- ipython-genutils [required: Any, installed: 0.2.0]
- six [required: Any, installed: 1.12.0]
FYI, I'm seeing this as well. Similar to others, only some buttons aren't working (e.g. "Task Stream" isn't, "Graph" is).
One thing I've noticed, when the dashboard address is auto-populated (say because I'm restarting a notebook) the buttons don't work.
$ jupyter lab
# open notebook that previously created a Cluster / client & opened the dashboard
# so that the search field is populated with the address from the previous session.
But when the field isn't pre-populated, and I paste the address of the scheduler, the buttons do work. Does that help?
Just to clarify one thing. If I have a working dashboard and I restart the kernel (not jupyterlab) things keep working even though the address is pre-populated.
FWIW with Ben's help we were able to solve this (at least in my case) by clearing the browser cache. Maybe different versions of code were getting jumbled together somehow? Easy enough to try at least. 🙂
Wild, thanks for the updates @TomAugspurger and @jakirkham. I'm still not sure what's going on as I can't reproduce it locally, but enough people are seeing it that there seems to be a real issue.
If somebody who does see this wants to help out by trawling through some frontend code, they might start by setting a breakpoint in this function in the browser: https://github.com/dask/dask-labextension/blob/5130eb13e0c4b85217b81af84258624b54244299/src/index.ts#L324-L350 and stepping through to see if anything seems to be amiss. And if anyone can provide a series of steps so that I can reproduce, then I can try to track down the problem myself.
One thought: it's possible that the browser is caching old network responses from when the dashboard was inactive, and thereby thinking that it is still inactive when it is not. We might try to do some cache-busting in the URL request.
I'll take a look a bit later. I seem to have hosed my dask labextension when trying to build from source. The jupyter labextension install
step fails for me with
> /usr/local/bin/npm pack /Users/taugspurger/sandbox/dask-labextension
npm notice
npm notice 📦 dask-labextension@0.4.0-pre.3
npm notice === Tarball Contents ===
npm notice 2.2kB package.json
npm notice 1.5kB LICENSE
npm notice 2.2kB README.md
npm notice 6.4kB lib/clusters.d.ts
npm notice 19.9kB lib/clusters.js
npm notice 5.4kB lib/dashboard.d.ts
npm notice 15.2kB lib/dashboard.js
npm notice 250B lib/index.d.ts
npm notice 19.7kB lib/index.js
npm notice 2.7kB lib/scaling.d.ts
npm notice 6.3kB lib/scaling.js
npm notice 1.5kB lib/sidebar.d.ts
npm notice 1.7kB lib/sidebar.js
npm notice 668B schema/plugin.json
npm notice 246B style/code-dark.svg
npm notice 246B style/code-light.svg
npm notice 2.4kB style/dask.svg
npm notice 6.2kB style/index.css
npm notice === Tarball Details ===
npm notice name: dask-labextension
npm notice version: 0.4.0-pre.3
npm notice filename: dask-labextension-0.4.0-pre.3.tgz
npm notice package size: 21.4 kB
npm notice unpacked size: 94.8 kB
npm notice shasum: 7c05ea882c2c2c83a5a8578418e89348fca7350b
npm notice integrity: sha512-pc7TS+a8KsFhf[...]jpQ9KfMUwTdNw==
npm notice total files: 18
npm notice
dask-labextension-0.4.0-pre.3.tgz
Errored, use --debug for full output:
ValueError:
"dask-labextension@0.4.0-pre.3" is not compatible with the current JupyterLab
Conflicting Dependencies:
JupyterLab Extension Package
>=0.19.1 <0.20.0 >=1.0.0-alpha.6 <2.0.0@jupyterlab/application
>=0.19.1 <0.20.0 >=1.0.0-alpha.6 <2.0.0@jupyterlab/apputils
>=0.19.1 <0.20.0 >=1.0.0-alpha.6 <2.0.0@jupyterlab/console
>=0.19.2 <0.20.0 >=1.0.0-alpha.7 <2.0.0@jupyterlab/notebook
I have jupyterlab version 0.35.6
installed.
Ah, yeah, the current master
is targeting JupyterLab 1.0.0a3.
I've just released versions of the npm and python packages for this extension, targeting the new JupyterLab 1.0.0a4 prerelease. There are some under-the-hood changes in how the proxying to the bokeh server is done (now offloading a lot of logic onto jupyter-server-proxy
). I'd appreciate if somebody who saw this issue could check to see if it persists in the new versions:
pip install -U --pre jupyterlab
jupyter labextension install dask-labextension@next
pip install -U --pre dask_labextension
Thanks @ian-r-rose. I think I hit https://github.com/jupyterlab/jupyterlab/issues/6408 in one of my browsers. I was able to open jupyterlab with dask-labextension alpha in Chrome and things seem to be working. I don't recall if I was seeing the unresponsive buttons in Chrome yesterday.
FWIW Ian I'm pretty sure my setup was using stable releases of everything (unless something got really messed up, which could be).
Encountering the same issue. Already tried clearing my browser cache and doing uninstall/install of jupyter
, notebook
, jupyterlab
and dask_labextension
. I even performed jupyter labextension uninstall
and then build the extension again. No dice.
In my case, I am not able to open Progress, Graph, and Workers. The other buttons open the dask tabs as expected.
If it helps, I experienced this when I upgraded my JupyterLab to 1.0.2, I think clearing the browser cache doesn't help. I don't know how @jakirkham did it but I think it has something to do with JLab's cache or asset files that needs to be cleared.
Hope someone can show me the steps on how to properly clear and all assets and cache related to JupyterLab.
Can people who are seeing this issue check if clearing the application cached state fixes the issue? I may have a fix in #74, but that would be a useful data point.
You can clear the state by going to the url /lab?reset
Holy smokes, batman! It worked!
I've been pulling my hair out for a week just to make it work.
Thank you so much @ian-r-rose , really appreciate it.
Great, thanks for letting me know @Vonatzki! I'm working on the more permanent fix, but at least this should unblock people for now.
Update: After trying it out for a while, this bug would appear again on few occasions (when refreshing the tab or reopening a still-running kernel).
Accessing /lab?reset
would make it work again. However it would lose your current tabs and opened notebooks.
@ian-r-rose
Thanks @Vonatzki, I'll try to publish a patch release fixing this sometime this week.
I just published a patch release of the dask-labextension
(the npm
package, v1.0.1
), which is intended to fix this issue. If folks can check to see if it persists, that would be great.
I recently had to rebuild my lab conda environment and the dask-labextension buttons (though not all) seem to be unresponsive.
I heard from @mrocklin that there may be tornado issues and I tested with both tornado 5 and 6