[vtkusers] Problem using Python VTK Pipeline Browser

Jerome MILAZZO milazzo at michigan.cad.cea.fr
Wed Jul 10 10:37:50 EDT 2002


Hello,

I'am trying to use the Mayavi python interface with vtk 4.0.
I'am working on an Solaris 2.8 with python 2.2.
All the vtk python test files (and examples) run fine ("...vtk-4.0/Examples/Tutorial/Step1/Python/Cone.py"
and "...vtk-4.0/Graphics/Testing/Python/*.py").
but when I try to use Mayavi, the is the following problem...

Adding parser accelerators ...
Done.
Traceback (most recent call last):
  File "/opt/PYTHON/2.2/bin/mayavi", line 241, in ?
    app = MayaViTkGUI (r)
  File "/opt/PYTHON/2.2/lib/python2.2/site-packages/mayavi/Main.py", line 708, in __init__
    self.renwin = Misc.RenderWindow.RenderWindow (self.renwin_frame)
  File "/opt/PYTHON/2.2/lib/python2.2/site-packages/mayavi/Misc/RenderWindow.py", line 88, in __init__
    height=500)
  File "/opt/PYTHON/2.2/lib/python2.2/site-packages/vtk-4.0/vtkTkRenderWidget.py", line 65, in __init__
    vtkLoadPythonTkWidgets(master.tk)
  File "/opt/PYTHON/2.2/lib/python2.2/site-packages/vtk-4.0/vtkLoadPythonTkWidgets.py", line 59, in vtkLoadPythonTkWidgets
    interp.call('load', filename)
TclError: couldn't load file "libvtkRenderingPythonTkWidgets.so": ld.so.1: /opt/bin/python: fatal: relocation error: file /opt/lib/libvtkRenderingPythonTkWidgets.so: symbol Tcl_PkgProvide: referenced symbol not found
[27883 refs]

This symbol seems to be in the "libtcl.so" (my LD_LIBRARY_PATH is right to reach this library)

Any idea would be helpfull

Thanks

Jerome Milazzo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20020710/d4c3bd24/attachment.htm>


More information about the vtkusers mailing list