Fwd: Mayavi2error on fedora12

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Fwd: Mayavi2error on fedora12

Ionut Sandric


Hi:

I am new to enthought and I tried to install epd-6.1-1-rh5-x86 on fedora12 64bits (I hoped that I can runt x86 version on x64). I managed after a few error messages to install it and I tried to launch mayavi2. The application is launched but all the menus are disabled and I get the errors shown bellow

I tried to import mlab from enthought.mayavi.mlab in eclipse and do the script programming in eclipse (with pydev) and here I get the errors:
Traceback (most recent call last):
  File "/root/workspace/Mayavi/src/Mayavi.py", line 6, in <module>
    from enthought.mayavi import mlab
ImportError: No module named enthought.mayavi

Any help is appreciated

Ionut


Error Mayavi2
(python:2952): Gtk-WARNING **: Unable to locate theme engine in module_path: "clearlooks",

(python:2952): Gtk-WARNING **: Unable to locate theme engine in module_path: "clearlooks",

(python:2952): Gtk-WARNING **: Unable to locate theme engine in module_path: "clearlooks",

(python:2952): Gtk-WARNING **: Unable to locate theme engine in module_path: "clearlooks",

(python:2952): Gtk-WARNING **: Unable to locate theme engine in module_path: "clearlooks",

(python:2952): Gtk-WARNING **: Unable to locate theme engine in module_path: "clearlooks",

(python:2952): Gtk-WARNING **: Unable to locate theme engine in module_path: "clearlooks",

(python:2952): Gtk-WARNING **: Unable to locate theme engine in module_path: "clearlooks",

(python:2952): Gtk-WARNING **: Unable to locate theme engine in module_path: "clearlooks",

(python:2952): Gtk-WARNING **: Unable to locate theme engine in module_path: "clearlooks",

(python:2952): Gtk-WARNING **: Unable to locate theme engine in module_path: "clearlooks",

(python:2952): Gtk-WARNING **: Unable to locate theme engine in module_path: "clearlooks",

(python:2952): Gtk-WARNING **: Unable to locate theme engine in module_path: "clearlooks",

(python:2952): Gtk-WARNING **: Unable to locate theme engine in module_path: "clearlooks",

(python:2952): Gtk-WARNING **: Unable to locate theme engine in module_path: "clearlooks",

(python:2952): Gtk-WARNING **: Unable to locate theme engine in module_path: "clearlooks",

(python:2952): Gtk-WARNING **: Unable to locate theme engine in module_path: "clearlooks",
/home/eu/Downloads/epd-6.1-1-rh5-x86/lib/python2.6/site-packages/enthought/etsconfig/etsconfig.py:343: UserWarning: Environment variable "HOME" not set, setting home directory to /tmp
  (environment_variable, parent_directory))
ERROR|2010-05-01 09:47:52,173|error creating editor control <TVTK Scene 1>
Traceback (most recent call last):
  File "/home/eu/Downloads/epd-6.1-1-rh5-x86/lib/python2.6/site-packages/enthought/pyface/ui/wx/workbench/workbench_window_layout.py", line 96, in add_editor
    self._wx_add_editor(editor, title)
  File "/home/eu/Downloads/epd-6.1-1-rh5-x86/lib/python2.6/site-packages/enthought/pyface/ui/wx/workbench/workbench_window_layout.py", line 320, in _wx_add_editor
    editor_dock_control = self._wx_create_editor_dock_control(editor)
  File "/home/eu/Downloads/epd-6.1-1-rh5-x86/lib/python2.6/site-packages/enthought/pyface/ui/wx/workbench/workbench_window_layout.py", line 441, in _wx_create_editor_dock_control
    self._wx_get_editor_control(editor)
  File "/home/eu/Downloads/epd-6.1-1-rh5-x86/lib/python2.6/site-packages/enthought/pyface/ui/wx/workbench/workbench_window_layout.py", line 509, in _wx_get_editor_control
    editor.control = editor.create_control(parent)
  File "/home/eu/Downloads/epd-6.1-1-rh5-x86/lib/python2.6/site-packages/enthought/tvtk/plugins/scene/scene_editor.py", line 61, in create_control
    self.scene = self._create_decorated_scene(parent)
  File "/home/eu/Downloads/epd-6.1-1-rh5-x86/lib/python2.6/site-packages/enthought/tvtk/plugins/scene/scene_editor.py", line 87, in _create_decorated_scene
    scene = DecoratedScene(parent, stereo=stereo)
  File "/home/eu/Downloads/epd-6.1-1-rh5-x86/lib/python2.6/site-packages/enthought/tvtk/pyface/toolkit.py", line 88, in __init__
    raise NotImplementedError("the %s pyface backend doesn't implement %s" % (be, oname))
NotImplementedError: the enthought.tvtk.pyface.ui.wx. pyface backend doesn't implement DecoratedScene
Traceback (most recent call last):
  File "/home/eu/Downloads/epd-6.1-1-rh5-x86/lib/python2.6/site-packages/wx/_core.py", line 14614, in <lambda>
    lambda event: event.callable(*event.args, **event.kw) )
  File "/home/eu/Downloads/epd-6.1-1-rh5-x86/lib/python2.6/site-packages/enthought/mayavi/scripts/mayavi2.py", line 520, in run
    process_cmd_line(self, options, args)
  File "/home/eu/Downloads/epd-6.1-1-rh5-x86/lib/python2.6/site-packages/enthought/mayavi/scripts/mayavi2.py", line 275, in process_cmd_line
    last_obj = script.new_scene()
  File "/home/eu/Downloads/epd-6.1-1-rh5-x86/lib/python2.6/site-packages/enthought/mayavi/plugins/script.py", line 84, in new_scene
    return self.engine.new_scene()
  File "/home/eu/Downloads/epd-6.1-1-rh5-x86/lib/python2.6/site-packages/enthought/scripting/recordable.py", line 45, in _wrapper
    result = func(*args, **kw)
  File "/home/eu/Downloads/epd-6.1-1-rh5-x86/lib/python2.6/site-packages/enthought/mayavi/plugins/envisage_engine.py", line 92, in new_scene
    return self.scenes[-1]
IndexError: list index out of range



     




     



     



     



     
_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev