[Bug 333697] [NEW] mayavi2 fails to start

Ondrej Certik ondrej at certik.cz
Tue Feb 24 05:47:14 UTC 2009


Public bug reported:

Binary package hint: mayavi2

Hi, I have ubuntu intrepid and installed mayavi2 from Jaunty. However,
when I try to use it, I get:


$ ipython
Python 2.5.2 (r252:60911, Oct  5 2008, 19:29:17) 
Type "copyright", "credits" or "license" for more information.

IPython 0.8.4 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object'. ?object also works, ?? prints more.

In [1]: from enthought.mayavi import mlab
/usr/lib/python2.5/site-packages/enthought/traits/ui/toolkit.py:128: UserWarning: Unable to import the 'wx' backend for traits UI; using the 'null' toolkit instead.
  "using the 'null' toolkit instead." % toolkit_name )
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)

/tmp/<ipython console> in <module>()

/usr/lib/python2.5/site-packages/enthought/mayavi/mlab.py in <module>()
     11 
     12 # Mayavi imports
---> 13 from enthought.mayavi.tools.camera import view, roll
     14 from enthought.mayavi.tools.figure import figure, clf, gcf, savefig, draw
     15 from enthought.mayavi.tools.engine_manager import get_engine, show_pipeline, \

/usr/lib/python2.5/site-packages/enthought/mayavi/tools/camera.py in <module>()
     21 # We can't use gcf, as it creates a circular import in camera management
     22 # routines.
---> 23 from engine_manager import get_engine
     24 
     25 def roll(roll=None):

/usr/lib/python2.5/site-packages/enthought/mayavi/tools/engine_manager.py in <module>()
     11 # Local imports
     12 from enthought.mayavi.preferences.api import preference_manager
---> 13 from enthought.mayavi.core.registry import registry
     14 from enthought.mayavi.core.engine import Engine
     15 from enthought.mayavi.core.off_screen_engine import OffScreenEngine

/usr/lib/python2.5/site-packages/enthought/mayavi/core/registry.py in <module>()
    129 # `user_mayavi.py` files.  This is done by importing the customize.py
    130 # module here which in turn imports the necessary code from the users's
    131 # customization.
--> 132 from enthought.mayavi.core import customize
    133 

/usr/lib/python2.5/site-packages/enthought/mayavi/core/customize.py in <module>()
     28 
     29 # Enthought library imports.
---> 30 from enthought.util.home_directory import get_home_directory
     31 from enthought.mayavi.preferences.api import preference_manager
     32 

ImportError: No module named util.home_directory

In [2]:

** Affects: mayavi2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
mayavi2 fails to start
https://bugs.launchpad.net/bugs/333697
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list