Comments (6)
Thanks for the reports @stsievert and @dhirschfeld, it looks like the problems you are running into are a result of some of the waffling I had regarding the name of the extension. I'm working up a fix right now.
from dask-labextension.
from dask-labextension.
I tried that (and different browsers, different installation methods and different Dask dashboard URLs), but no luck. When I start up JupyterLab, I get a message
# right below "Copy/paste this URL into your browser when you connect ..."
[W 18:56:10.034 LabApp] 404 GET /lab/api/settings/jupyterlab-dask:plugin?1535846169700 (::1): Schema not found: '/Users/scott/anaconda3/share/jupyter/lab/schemas/jupyterlab-dask/plugin.json'
[W 18:56:10.035 LabApp] Schema not found: '/Users/scott/anaconda3/share/jupyter/lab/schemas/jupyterlab-dask/plugin.json'
[W 18:56:10.037 LabApp] 404 GET /lab/api/settings/jupyterlab-dask:plugin?1535846169700 (::1) 4.93ms referer=None
When I visit /Users/scott/anaconda3/share/jupyter/lab/schemas/
, I see a directory named dask-labextension
, not jupyterlab-dask
. dask-labextension
contains plugin.json
It looks like Jupyter is looking for a directory jupyterlab-dask
, not dask-labextension
. I tried copy/pasting dask-labextension
to jupyterlab-dask
. That got rid of the error message above, but didn't resolve the issue (the buttons are still greyed out).
from dask-labextension.
I also can't get this extension to work.
I also get a 404 on jupyterlab-dask
/user/dhirschfeld/lab/api/settings/jupyterlab-dask:plugin?1535956133900 404 (Not Found)
When I enter the dask dashboard url it then says it's not valid:
widget.js:130 http://server:59863 does not appear to host a valid Dask dashboard
d.testDaskDashboard.then.r @ widget.js:130
Promise.then (async)
set url @ widget.js:123
handleEvent @ widget.js:179
...even though opening the bokeh dashboard http://server:59863/status
in a new tab works fine.
I also start to receive a lot to CORB errors:
18 Cross-Origin Read Blocking (CORB) blocked cross-origin response <URL> with MIME type text/html. See <URL> for more details.
Cross-Origin Read Blocking (CORB) blocked cross-origin response http://server:59863/statics/images/dask-logo.svg?1535956405943 with MIME type text/html. See https://www.chromestatus.com/feature/5629709824032768 for more details.
from dask-labextension.
@dhirschfeld we are aware that there are potential CORS issues, and are still thinking through what best-practices for those should be. You might try something similar to what is done in this example with nbserverproxy
, which proxies the dashboard to be under the notebook server origin.
from dask-labextension.
Thanks @ian-r-rose. I've been meaning to check out nbserverproxy
so I'll bump that up the priority list!
Currently users have access to the dask cluster from the enterprise network but that may not always be the case so I had thought to use nbserverproxy
to work around that restriction in any case
from dask-labextension.
Related Issues (20)
- Dashboard doesn't show when scheduler does not listen on localhost HOT 1
- Update branding
- Open Dashboard programmatically HOT 3
- Specify default address to look for scheduler HOT 13
- Dashboard shows cluster of different user HOT 1
- No visibility (black background) with JupyterLab in Dark theme HOT 3
- Can't connect to local cluster using local IP and port HOT 1
- 5.3.0 does not create a schemas/dask-labextension/plugin.json file on install HOT 11
- Default layout HOT 4
- Need to press the new "Launch in JupyterLab" button twice HOT 1
- Help connecting to existing KubeCluster using the build-in Discovery Mechanism HOT 2
- Using +NEW freezes Jupyterlab completely HOT 3
- JLab 4.0 side-effect: Class 'RenderedCommon' incorrectly implements interface 'IRenderer'. HOT 12
- Logos no longer working well HOT 4
- Conflicting dependencies with jupyterlab=4.0.2 HOT 3
- Inject client code adds an empty cell. HOT 3
- Release HOT 3
- Button Launch Dashboard in Jupyterlab not available HOT 1
- JLab 4-compatible release HOT 5
- Dashboard does not display graphs with bokeh = 3.3.0 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dask-labextension.