Summary: | dev-python/envisagecore-3.1.0 fails to emerge | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Collin Day <dcday137> |
Component: | New packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Collin Day
2009-04-01 04:21:36 UTC
Please provide the full build.log Hi Collin, I can't reproduce. Which python do you have selected? Did you run the python-updater properly? Thanks. (In reply to comment #2) > Hi Collin, > > I can't reproduce. > Which python do you have selected? Did you run the python-updater properly? > > Thanks. > I am using Python 2.5.4. I believe I ran python-updater correctly. emerge envisagecore Build log---- >>> cfg-update-1.8.2-r1: Creating checksum index... >>> Unpacking source... >>> Unpacking EnvisageCore-3.1.0.tar.gz to /var/tmp/portage/dev-python/envisagecore-3.1.0/work >>> Source unpacked in /var/tmp/portage/dev-python/envisagecore-3.1.0/work >>> Preparing source in /var/tmp/portage/dev-python/envisagecore-3.1.0/work/EnvisageCore-3.1.0 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/envisagecore-3.1.0/work/EnvisageCore-3.1.0 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/envisagecore-3.1.0/work/EnvisageCore-3.1.0 ... Traceback (most recent call last): File "setup.py", line 45, in <module> from setuptools import setup, find_packages File "/usr/lib/python2.5/site-packages/setuptools/__init__.py", line 2, in <module> from setuptools.extension import Extension, Library File "/usr/lib/python2.5/site-packages/setuptools/extension.py", line 2, in <module> from dist import _get_unpatched File "/usr/lib/python2.5/site-packages/setuptools/dist.py", line 6, in <module> from setuptools.command.sdist import sdist File "/usr/lib/python2.5/site-packages/setuptools/command/sdist.py", line 4, in <module> import os, re, sys, pkg_resources File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 2582, in <module> add_activation_listener(lambda dist: dist.activate()) File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 640, in subscribe callback(dist) File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 2582, in <lambda> add_activation_listener(lambda dist: dist.activate()) File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 2131, in activate map(declare_namespace, self._get_metadata('namespace_packages.txt')) File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 1749, in declare_namespace _handle_ns(packageName, path_item) File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 1720, in _handle_ns loader.load_module(packageName); module.__path__ = path File "/usr/lib/python2.5/pkgutil.py", line 238, in load_module mod = imp.load_module(fullname, self.file, self.filename, self.etc) File "/usr/lib/python2.5/site-packages/enthought.envisage-2.0.4-py2.5.egg/enthought/envisage/__init__.py", line 7, in <module> from core.application import Application File "/usr/lib/python2.5/site-packages/enthought.envisage-2.0.4-py2.5.egg/enthought/envisage/core/application.py", line 23, in <module> from enthought.logger.api import CONFIG_FILE_EXISTS ImportError: cannot import name CONFIG_FILE_EXISTS * * ERROR: dev-python/envisagecore-3.1.0 failed. * Call stack: * ebuild.sh, line 48: Called src_compile * environment, line 2475: Called distutils_src_compile * environment, line 724: Called die * The specific snippet of code: * ${python} setup.py build "$@" || die "compilation failed" * The die message: * compilation failed * * 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/envisagecore-3.1.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/envisagecore-3.1.0/temp/environment'.
> File
> "/usr/lib/python2.5/site-packages/enthought.envisage-2.0.4-py2.5.egg/enthought/envisage/core/application.py",
> line 23, in <module>
> from enthought.logger.api import CONFIG_FILE_EXISTS
> ImportError: cannot import name CONFIG_FILE_EXISTS
What is this file doing in here? Seems you have some old left over python egg that causes you this trouble.
(In reply to comment #4) > > > File > > "/usr/lib/python2.5/site-packages/enthought.envisage-2.0.4-py2.5.egg/enthought/envisage/core/application.py", > > line 23, in <module> > > from enthought.logger.api import CONFIG_FILE_EXISTS > > ImportError: cannot import name CONFIG_FILE_EXISTS > > > What is this file doing in here? Seems you have some old left over python egg > that causes you this trouble. > Ill be honset with you - I don't know. I just emerge *app* and let it go. I wouldn't know enough to look for this. Since emerge is tellin g me it isn't installed, could I just wip the current evisage directory and everything in it? (In reply to comment #5) > (In reply to comment #4) > > > > > File > > > "/usr/lib/python2.5/site-packages/enthought.envisage-2.0.4-py2.5.egg/enthought/envisage/core/application.py", > > > line 23, in <module> > > > from enthought.logger.api import CONFIG_FILE_EXISTS > > > ImportError: cannot import name CONFIG_FILE_EXISTS > > > > > > What is this file doing in here? Seems you have some old left over python egg > > that causes you this trouble. > > > > Ill be honset with you - I don't know. I just emerge *app* and let it go. I > wouldn't know enough to look for this. Since emerge is tellin g me it isn't > installed, could I just wip the current evisage directory and everything in it? > That did it - I just wiped the old envisage stuff from /usr/lib/python2.5/site-packages and everything worked. Thank you for your time looking into this. I would have never found it. |