[vtkusers] vtk4.2 + Python2.3 + win = works, but repr(<vtk object>) crashes

Prabhu Ramachandran prabhu at aero.iitm.ernet.in
Fri Sep 19 14:44:57 EDT 2003


>>>>> "FC" == Frank Conradie <frank at qfin.net> writes:

    FC> However, when I try to "print <vtk object>" in Python
    FC> (i.e. "repr(<vtk
    object> ), the Python app crashes.

    FC> Any ideas where I can start to look for the problem?

A traceback from gdb might help.   Something like so:

$ gdb python2.3

(gdb) run
>>> import vtk
>>> a = vtk.vtkActor()
>>> print a

[ error ]

(gdb) backtrace


cheers,
prabhu



More information about the vtkusers mailing list