[vtkusers] problems with python and cvs vtk

Charl P. Botha c.p.botha at its.tudelft.nl
Tue Jul 30 05:55:44 EDT 2002


On Tue, Jul 30, 2002 at 10:34:29AM +0100, Magnus Hagdorn wrote:
> i've got yesterday's cvs version of vtk. i am interested in the python
> bindings of vtk. i use python 2.1 on a suse7.3 linux system. running my
> program i get the following error:
> ValueError: method requires a VTK object
> 
> also running the test
> VTK/Graphics/Testing/Python/streamSurface2.py
> i get the same error:
> Traceback (most recent call last):
>   File "streamSurface2.py", line 47, in ?
>     sl.SetIntegrator(integ)
> ValueError: method requires a VTK object

Did you build the python 2.1 on your system by yourself?  The error above
sometimes happen if there's a version mixup with the development and dynamic
environment.

Another common reasion is when the VTK libraries appear more than once in
your LD_LIBRARY_PATH.  Please check on this.

-- 
charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/



More information about the vtkusers mailing list