[vtkusers] python - render window lockup on close

Prabhu Ramachandran prabhu at aero.iitm.ernet.in
Mon Mar 4 21:26:58 EST 2002


>>>>> "RH" == rod holland <rhh at StructureLABS.com> writes:

    RH> I am running various vtk test scripts under windows 98 and
    RH> python. Taking for example the glyphcomb.py test script. If I
    RH> run it using a text editor such as textpad it works fine.  If
    RH> I run it using idle it runs fine but then locks up when I try
    RH> to close the render window.  I have tried various combinations
    RH> of renWin and iren to start the window but to no avail.  The
    RH> only way to close the window is through the ctl-alt-del close
    RH> program box.  The window does minimize and maximize
    RH> properly. Does anyone have any ideas on how to correct this
    RH> behavior?  The examples using ivtk run fine under idle.

The normal examples are meant to be run standalone so just run them
outside the editor.  Tkinter and the vtk*Interactor loop dont gel well
and you will end up with difficulty.  OTOH, the ivtk classes were
designed to be used in a non-intrusive manner when using the Python
interpreter or Tkinter (and hence idle).


prabhu



More information about the vtkusers mailing list