load_hemipheres is crashing python jupyter
See original GitHub issueHi 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:
- Created 2 years ago
- Comments:11
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

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.pyI’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.pyHelp would be greatly appreciated.
Yes, you can do it:
plot_hemispheres(..., screenshot=True, filename='/path/to/fig.png')