Skip to content
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

WebPDF exporter hangs and cpu usage spikes to 100% if DISPLAY variable is set. #2165

Open
felder opened this issue Jul 17, 2024 · 0 comments

Comments

@felder
Copy link

felder commented Jul 17, 2024

If chosen via the UI or run via the command line, jupyter nbconvert --to webpdf will hang and CPU usage for chrome will spike to 100% if the DISPLAY environment variable is set.

From the cli, if I run unset DISPLAY prior to trying jupyter nbconvert --to webpdf everything works fine.

How to reproduce:

  1. create a new blank notebook named blank.ipynb (or choose an existing notebook)
  2. open a terminal on an OS that supports a DISPLAY environment variable
  3. run export DISPLAY=":1.0"
  4. run jupyter nbconvert --to webpdf blank.ipynb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant