Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 197531 - dev-python/mantissa install failed - ImportError: No module named versions
Summary: dev-python/mantissa install failed - ImportError: No module named versions
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major with 1 vote (vote)
Assignee: Marien Zwart (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-30 15:54 UTC by Sevak Avakians
Modified: 2008-01-22 23:44 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sevak Avakians 2007-10-30 15:54:01 UTC
When attempting to emerge either dev-python/mantissa-0.4.1 or dev-python/mantissa-0.3.1, the install fails and complains:

Traceback (most recent call last):
  File "setup.py", line 3, in ?
    from xmantissa import version
  File "/usr/lib/python2.4/site-packages/PIL/__init__.py", line 3, in ?
    # $Id: __init__.py 2134 2004-10-06 08:55:20Z fredrik $
ImportError: No module named versions



Reproducible: Always

Steps to Reproduce:
1. Add dev-python/mantissa to /etc/portage/package.keywords
2. emerge dev-python/mantissa

Actual Results:  
 *
 * ERROR: dev-python/mantissa-0.4.1 failed.
 * Call stack:
 *          ebuild.sh, line 1695:  Called dyn_install
 *          ebuild.sh, line 1132:  Called qa_call 'src_install'
 *          ebuild.sh, line   44:  Called src_install
 *          ebuild.sh, line 1377:  Called distutils_src_install
 *   distutils.eclass, line   61:  Called die
 * The specific snippet of code:
 *              ${python} setup.py install --root=${D} --no-compile "$@" || die
 *  The die message:
 *   (no error message)
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-python/mantissa-0.4.1/temp/build.log'.
 *


Expected Results:  
A successful emerge / installation of dev-python/mantissa.

There is no "version" module under xmantissa from the svn.
The __init__.py file under xmantissa is:

"# -*- test-case-name: xmantissa.test -*-

from epsilon.versions import Version

version = Version(__name__, 0, 1, 0)"

Maybe this is the correction that is needed?
Comment 1 Ali Polatel (RETIRED) gentoo-dev 2008-01-22 23:44:18 UTC
The only version in the tree is 0.6.1 right now and the installation works
fine. Please reopen if the problem is still not fixed.