[vtkusers] python vtk BadRequest
Eleftherios Garyfallidis
garyfallidis at gmail.com
Tue Jul 19 14:43:28 EDT 2011
Any further ideas on how to hack this? For example I don't see this problem
when I open and reopen windows with mayavi which I suppose use the same
technology. Perhaps they don't run into the same problem because they use
vtk on top of qt or wx?. There must be a workaround I hope. Very sorry I
didn't report this earlier.
On Tue, Jul 19, 2011 at 7:05 PM, Eleftherios Garyfallidis <
garyfallidis at gmail.com> wrote:
> Unfortunately not. After added ren.SetRenderWindow(None) still get the same
> BadRequest error. :-(
>
>
> On Tue, Jul 19, 2011 at 6:52 PM, David Gobbi <david.gobbi at gmail.com>wrote:
>
>> 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
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110719/f38d6052/attachment.htm>
More information about the vtkusers
mailing list