Git Product home page Git Product logo

Comments (6)

ian-r-rose avatar ian-r-rose commented on August 13, 2024 1

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.

mrocklin avatar mrocklin commented on August 13, 2024

from dask-labextension.

stsievert avatar stsievert commented on August 13, 2024

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.

dhirschfeld avatar dhirschfeld commented on August 13, 2024

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.

ian-r-rose avatar ian-r-rose commented on August 13, 2024

@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.

dhirschfeld avatar dhirschfeld commented on August 13, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.