>>>>> "Angus" == Angus McMorland <[EMAIL PROTECTED]> writes:

    >> Can you run any of the TVTK examples? cd to tvtk/examples and
    >> run any of the examples you see there and see if those work.

    Angus> tiny_mesh, simple, array_animation, off_screen, &
    Angus> texture_glyph all work as expected. Animated texture throws
    Angus> an error that I suspect is unrelated:

    Angus> Traceback (most recent call last): File
    Angus> "animated_texture.py", line 95, in ?  img =
    Angus> image_from_array(array_3d) File "animated_texture.py", line
    Angus> 86, in image_from_array img.point_data.scalars = ary_2d
    Angus> File "tvtk_classes/data_set_attributes.py", line 126, in
    Angus> _set_scalars File
    Angus> "/usr/local/scipy/enthought/src/lib/enthought/tvtk/tvtk_base.py",
    Angus> line 400, in _wrap_call ret = vtk_method(*args) ValueError:
    Angus> method requires a VTK object

Are you using numpy?  If so please try this:

 $ export NUMERIX=numpy

and rerun the animated_texture.py and then try mayavi2 and any other
examples that used to fail.

    Angus> The ivtk_example doesn't work. It does display a window, a
    Angus> screenshot of the top left-hand corner of which I've
    Angus> attached. The rest of the window is a continuation of the
    Angus> bottom-right edge. I also get the error:

    Angus> (python:5475): Gtk-CRITICAL **: gtk_widget_set_colormap:
    Angus> assertion `!GTK_WIDGET_REALIZED (widget)' failed

    Angus> The window persists, with a working menu, but nothing
    Angus> further happens until I Ctrl-C the process.

This is very wierd.  What happens if you resize the window?

What is your setup?  wxPython version?  VTK version?

    Angus> I hope this sheds a little more light. I'm very happy to
    Angus> run more tests if someone tells me what would be useful:
    Angus> I'm afraid I've little idea where to start with this one.

Thanks.  BTW, you might also want to CC
[EMAIL PROTECTED].

cheers,
prabhu

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
MayaVi-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mayavi-users

Reply via email to