[vtkusers] [Python + wx] pb with wxVTKRenderWindow
prabhu at aero.iitm.ernet.in
Tue Oct 8 12:54:42 EDT 2002
>>>>> "BR" == Benoit Regrain <benoit.regrain at creatis.insa-lyon.fr> writes:
>> Or something like that. I dont get an exception under Linux so
>> don't know what exception you are trying to catch here. Could
>> you care to elaborate?
BR> The AttributeError exception is the best here. Parent variable
BR> is always defined but can be anything other than a wxWindow
BR> (like None or other type). No other exception is usefull to
BR> foresee bad behaviors concerning this section of code.
BR> The runtime error R6025 is a specific Windows error. But it
BR> seems that on Linux, we sometimes obtain a core
BR> dump. Unfortunately, I can't certify the behaviour of events
AFAIK you might be able to prevent this by removing all the actors
from the renderwindow before you close it.
More information about the vtkusers