Hey,
I need help getting Mayavi running. I installed the mayavi, python-vtk and all 
required packages from http://packages.ubuntu.com/feisty/. All examples from 
the package vtk-examples run without problems.

Now, when I run test_vtk.py from the mayavi package, I get a Segmentation fault 
in the vtkTkRenderWidget test:
>linux:~/tmp/tmp/tmp$ python test_vtk
>Testing if Tkinter is available... 
>OK - you have Tkinter
>TclVersion = 8.4, TkVersion = 8.4
>Testing if your overall installation is OK ...
>OK, your installation seems fine!
>Testing if VTK can be imported ...
>OK, vtk found.
>Testing if vtkCubeAxesActor2D can be instantiated ...
>OK, vtkCubeAxesActor2D can be instantiated.
>Testing a sample vtk program.  You should see a 300x300
>    pixel window with a black background and with a magenta coloured
>    Cone.  You can interact with the cone using the mouse.  To quit
>    the test press q on the window.  If this test is successful then
>    the basic vtk installation is OK.
>Testing if vtkTkRenderWidget can be imported...
>OK, vtkTkRenderWidget found.
>Testing a sample vtk program that uses the
>    vtkTkRenderWidget.  You should see a 300x300 pixel window with a
>    black background and with a magenta coloured Cone.  You can
>    interact with the cone using the mouse.  To quit the test press q
>    on the window.  If this test is successful then the vtk
>    installation is OK.  You should be able to use Tkinter and VTK
>    properly.
>Segmentation fault (core dumped)

Strangely if I skip the test_vtk_cone() (by commenting out that function call 
inside the function test_vtk(root)), the test_vtk.py script finishes without an 
error. However, in this case the vtkTkRenderWidget is empty. The same empty 
Widget (only background is displayed) I see when opening the example heart.mv 
in the mayavi application.

Do you have any suggestion what may be going wrong, how I can check what 
exactly causes the problems and how to fix it?

Regards,
Eike




      
____________________________________________________________________________________
Be a better pen pal. 
Text or chat with friends inside Yahoo! Mail. See how.  
http://overview.mail.yahoo.com/
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
MayaVi-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mayavi-users

Reply via email to