Hi Prabhu (and list), Thanks for the quick reply.
On 06/11/06, Prabhu Ramachandran <[EMAIL PROTECTED]> wrote:
>>>>> "Angus" == Angus McMorland <[EMAIL PROTECTED]> writes:
Angus> when I try to run Mayavi2 either from the commandline (it's
Angus> now in my path) or from a script, all I get is:
Angus> ~/$mayavi2 Set Envisage to use the workbench UI: True Set
Angus> Envisage to use the workbench UI: True
Angus> plus a very short window flash and then nothing. I'm at svn
Angus> revision 9606.
No error messages or a core dump or anything like that?
Nothing. Just a lot of inaction. And gkrellm doesn't show any unusual CPU activity either, so I think it's not just a slowness problem. I've replicated this problem on two machines - my ix86 laptop and an amd64 desktop, so that pretty much rules out anything hardware specific, I think.
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.
tiny_mesh, simple, array_animation, off_screen, & texture_glyph all work as expected. Animated texture throws an error that I suspect is unrelated: Traceback (most recent call last): File "animated_texture.py", line 95, in ? img = image_from_array(array_3d) File "animated_texture.py", line 86, in image_from_array img.point_data.scalars = ary_2d File "tvtk_classes/data_set_attributes.py", line 126, in _set_scalars File "/usr/local/scipy/enthought/src/lib/enthought/tvtk/tvtk_base.py", line 400, in _wrap_call ret = vtk_method(*args) ValueError: method requires a VTK object The ivtk_example doesn't work. It does display a window, a screenshot of the top left-hand corner of which I've attached. The rest of the window is a continuation of the bottom-right edge. I also get the error: (python:5475): Gtk-CRITICAL **: gtk_widget_set_colormap: assertion `!GTK_WIDGET_REALIZED (widget)' failed The window persists, with a working menu, but nothing further happens until I Ctrl-C the process.
If you run into problems you can also try to run the scripts on a debugger like so: gdb python (gdb) run script_name.py
Exactly the same thing happened, but I'm not conversant with gdb, so I didn't know how to explore further.
and let us know what you get. BTW, I work on debian testing boxen myself, so things should work. cheers, prabhu
I hope this sheds a little more light. I'm very happy to run more tests if someone tells me what would be useful: I'm afraid I've little idea where to start with this one. Angus. -- AJC McMorland, PhD Student Physiology, University of Auckland Secretary, Fencing North Inc.
<<attachment: itvtk_window.jpg>>
------------------------------------------------------------------------- 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
