-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--no-sandbox flag missing on Windows #26
Comments
Hi @genneth, thanks for the report. Here are a few questions. Could you share a screenshot of the dialog? Do you get the same error with Is there a Python exception displayed in the notebook as well? If so could you include that text. After the error occurs, can you execute the following to see if there is any more information:
Thanks! |
Thanks for the extra info @genneth, Here's one more thing I'd like you to try to see if we can get any more information on what went wrong. First, run this python snippet from your same python environment. This will print out the path to the kaleido executable. import os
import kaleido
print(os.path.join(os.path.dirname(kaleido.__file__), "executable", "kaleido"))
Then from a plain windows CMD prompt, run this command (with your own path that was displayed above)
If successful, this will display something this, and the process will not exit:
If this works for you, then while the process is still running copy and paste this string into the console and press enter.
If successful, this would print out a large base64 encoded string. I'm assuming one of these is going to crash for you, and if it does can you please include anything that is printed out in the command prompt. Thanks! |
One other thing to confirm. Are you able to successfully run the full Chrome or Chromium web browser on this same system? |
Running
With previous error dialogbox before printing each "GPU process has crashed" line. I am able to run normal full Chrome on the same system (help/about says: Version 83.0.4103.116 (Official Build) (64-bit)) After the above lines, the |
Hi @genneth, thanks. It's at least helpful to see that something is going wrong with the GPU initialization. I just checked and realized that, for windows, we're not passing the
Then, the next thing I'd want to try is disabling GPU acceleration with the
There are a bunch of chromium Thanks for sticking with this 😃 |
Didn't hang, accepted the |
Yeah, it got further! The There isn't currently a way to add extra args through Python, but for testing you can add them manually to the It should currently look like:
You can add chome flags before the
We'll definitely add this flag in the next release. |
I am indeed behind proxy that blocks the default plotly.js CDN. I can confirm that changing |
Awesome, that's great news! Thanks again for the report and helping us get to the bottom of this one. |
This fix has been released in version 0.0.3 |
Plotly 4.9, kaleido-0.0.2, on windows, from inside a jupyter notebook. Trying to use
show(renderer='svg')
gives a modal dialog box with error.The text was updated successfully, but these errors were encountered: