Giter VIP home page Giter VIP logo

Comments (5)

bryevdv avatar bryevdv commented on May 18, 2024 1

@alcrene sure, but there's going to have to be some kind of generic mechanism to catch and surface errors, since individually crafting an error message for every conceivable situation is very far outside the realm of possible (there would be thousands or more). However, AFAIK there is already nominally an issue for that: #6884 though it may need some updating or re-triaging, or maybe a new issue should be opened to replace that discussion issue. cc @mattpap

In any case I will close this one.

from bokeh.

mattpap avatar mattpap commented on May 18, 2024

This may be a problem with electoron.js. @alcrene, maybe you could try the suggestion from electron/electron#40684 (comment)?

from bokeh.

alcrene avatar alcrene commented on May 18, 2024

That seems to be the case. JLab Desktop uses its own cache folders (~/.Electron doesn’t exist on my machine) , so to be sure I removed everything that had the word “cache” in its config folder:

cd .config/jupyterlab-desktop
mv Cache Code\ Cache DawnCache GPUCache ~/tmp/jlab-caches/

Sure enough, after doing that I could relaunch Jupyter Lab Desktop and the example above worked as expected.

from bokeh.

bryevdv avatar bryevdv commented on May 18, 2024

I'm not sure there is anything we can do on our end apart from maybe a note in the docs

from bokeh.

alcrene avatar alcrene commented on May 18, 2024

Something that would have been very helpful when tracking this down would have more information on the figure itself. (It took me a while to think to open the JS console, and I think it’s safe to say most users would never think of that.)
No idea how feasible it is, but I am imagining a message like the following:

An issue occurred while attempting to load WebGL.
Refer to this troubleshooting page for possible fixes: [link to docs]

(Taking care of course that the message would be displayed even after an error in the javascript stack.)

from bokeh.

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.