[vtkusers] Error handling with vtk-objects in python

cxxzip_ rroemer at googlemail.com
Tue Jul 15 09:14:37 EDT 2008


Hello,

I would like to handle an IOError with e.g. the vtkDICOMImageReader, but
vtkErrorCode is not wrapped to python. An example message of an raised error
looks like:

ERROR: In
/var/tmp/portage/sci-libs/vtk-5.0.4/work/VTK/IO/vtkDICOMImageReader.cxx,
line 158
vtkDICOMImageReader (0x809c00): Couldn't open /medi2/ct_scans/s104831

How could I get the error code, to handle it?

Greetings
-- 
View this message in context: http://www.nabble.com/Error-handling-with-vtk-objects-in-python-tp18464983p18464983.html
Sent from the VTK - Users mailing list archive at Nabble.com.




More information about the vtkusers mailing list