[vtkusers] python vtk BadRequest

David Gobbi david.gobbi at gmail.com
Tue Jul 19 13:52:22 EDT 2011


On Tue, Jul 19, 2011 at 11:39 AM, Eleftherios Garyfallidis
<garyfallidis at gmail.com> wrote:
> When I do add window.RemoveRenderer(ren) after iren.Start() the next time I
> call show I get segmentation fault.

You've found a bug.  I read through the cxx code for
window.RemoveRenderer(ren) and it doesn't call
ren->SetRenderWindow(NULL) like it should.

You can try adding ren.SetRenderWindow(None) after RemoveRenderer()
and see if that helps.

 - David



More information about the vtkusers mailing list