PySurfer icon indicating copy to clipboard operation
PySurfer copied to clipboard

GUI screen showed up, then closed automatically while testing to run plot_label_foci.py

Open XinQi7788 opened this issue 3 years ago • 2 comments

======================= Generate Surface Labels

Define a label that is centered on a specific vertex in the surface mesh. Plot that label and the focus that defines its center.

Exception occurred in traits notification handler for object: <mayavi.core.ui.mayavi_scene.MayaviScene object at 0x7f03197a1a90>, trait: disable_render, old value: True, new value: False Traceback (most recent call last): File "/home/ubuntu/anaconda3/lib/python3.8/site-packages/traits/trait_notifiers.py", line 342, in call self.handler(*args) File "/home/ubuntu/anaconda3/lib/python3.8/site-packages/tvtk/pyface/tvtk_scene.py", line 900, in _disable_render_changed self.render() File "/home/ubuntu/anaconda3/lib/python3.8/site-packages/tvtk/pyface/ui/qt4/scene.py", line 351, in render self._vtk_control.Render() File "/home/ubuntu/anaconda3/lib/python3.8/site-packages/tvtk/pyface/ui/qt4/QVTKRenderWindowInteractor.py", line 560, in Render self.update() RuntimeError: wrapped C/C++ object of type _VTKRenderWindowInteractor has been deleted

XinQi7788 avatar Oct 26 '21 13:10 XinQi7788

hi, did you fix it?

gygzhang avatar Oct 02 '22 02:10 gygzhang

Come cross the same question, hope pysurfer team solve this problem :D https://9to5answer.com/pyqt-runtimeerror-wrapped-c-c-object-has-been-deleted

ruilongXIA avatar Feb 14 '23 08:02 ruilongXIA