Closed jimthompson5802 closed 2 years ago
Additional data point. I noticed this in the browser developer mode console right after clicking on the "magnifying glass" icon:
For the record was able to resolve this issue. Resolution is to bake into the image the dask-labextension
package and not install it after the docker container started. This documentation page was the key to resolving the issue.
What happened:
Upon setting up a JupyterLab environment in a local docker container with
dask-labextension
, the extension does not connect with aLocalCluster
running within the container. The symptoms seen are similiar to the ones exhibited in Issue #214.What you expected to happen:
I expected to use the various view of
dask-extension
to viewLocalCluster
operation.Minimal Complete Verifiable Example:
These are the steps I took:
Setup
Start docker container with Jupyterlab
Install dask-labextension
Connected to the JupyterLab server running in the container by using the URL provided in the start up message. Opened a terminal window in Jupyterlab and executed setup instructions for JL 3.x
Uploaded this Dask notebook to run a LocalCluster
Attaching the notebook used in the test. Rename file to change extension from
.txt
to.ipynb
to use notebook. test_dask_local2.txtSymptoms
Upon refreshing the browser page, see pop-up with this message
Clicked on
DASK
icon in left navigation bar and then on magnifying glass icon.dask-labextension
does not recognize the cluster.However, the DASK scheduler dashboard is accessible via a separate browser window.
Another symptom, unable to create a
LocalCluster
by clicking onNew
button. Click on the button and nothing appears to happen.Tested
lab-extenstion==5.0.2
As a test, I tried a prior release of
dask-labextension==5.0.2
. With this release, "greyed out buttons" appear however, they never become active.Anything else we need to know?:
Per guidance found in Issue #214, imported
dask-labexension
in a python programEnvironment:
Software setup
Jupyter Extensions
Chrome Browser used in test