question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

load_hemipheres is crashing python jupyter

See original GitHub issue

Hi guys,

We’ve had problems with our jupyter kerner crashing when we try to run the load_hemipheres command. Is this a known issue? Are there any extra dependencies we are missing?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:11

github_iconTop GitHub Comments

1reaction
Bountainmicyclecommented, Sep 21, 2021

Hi,

I have pretty much the same problem; trying to plot anything with plot_hemispheres() (on a server) results in a segmentation fault:

zsh: segmentation fault python plottest.py

I’m not using Jupyter Notebook though.

Trying to run the vtk CylinderExample results in exactly the same segmentation fault issue. Using ssh -Y doesn’t change anything. Trying to directly output the plots as screenshots with plot_hemispheres(..., screenshot=True, filename='/path/to/fig.png') results in the following:

2021-09-21 17:13:16.060 ( 14.821s) [ 3660D740]vtkXOpenGLRenderWindow.:448 ERR| vtkXOpenGLRenderWindow (0x4f179a0): bad X server connection. DISPLAY= zsh: abort python plottest.py

Help would be greatly appreciated.

0reactions
OualidBenkarimcommented, Jun 2, 2021

Yes, you can do it: plot_hemispheres(..., screenshot=True, filename='/path/to/fig.png')

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why does jupyter notebook server keeps crashing when ...
After that the server crashes everytime .ipynb files are opened. Even the directory will have a server error. I tried it both on...
Read more >
Kernel Crashes with · Issue #9741 · microsoft/vscode-jupyter
After running a cell that raised a a Python error while constructing a Keras model, re-running the cell crashes the kernel and has...
Read more >
Constant crashing while working with Jupyter notebooks
I noticed after a hard-exit of IntelliJ the python process is not stopped. Through the day 8 restarts, I found 8 running python...
Read more >
What to do when things go wrong - The Jupyter Notebook
What to do when things go wrong . First, have a look at the common problems listed below. If you can figure...
Read more >
Jupyter Notebooks in VSCode | Setup Crash Course - YouTube
This video takes you from start to finish, setting up Python and Visual Studio Code and running your first Jupyter notebook: In under...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found