[Pkg-utopia-maintainers] Bug#559547: __init__.pys present on my system
Matt Kraai
kraai at ftbfs.org
Mon Dec 7 04:42:04 UTC 2009
On Sun, Dec 06, 2009 at 10:16:37PM -0500, Joseph Spiros wrote:
> Yes, it is line 23 that fails. I reverted my find+touch "fix", purged,
> ensured that /usr/lib/pymodules/python2.5/coherence and
> /usr/share/pyshared/coherence no longer existed before reinstalling the
> python-coherence package to obtain this log:
>
> > $ coherence
> > Traceback (most recent call last):
> > File "/usr/bin/coherence", line 23, in <module>
> > from coherence.extern.simple_config import Config,ConfigItem
> > ImportError: No module named extern.simple_config
> > $ python
> > Python 2.5.4 (r254:67916, Nov 19 2009, 19:46:21)
> > [GCC 4.3.4] on linux2
> > Type "help", "copyright", "credits" or "license" for more information.
> >>>> from coherence.extern.simple_config import Config,ConfigItem
> > Traceback (most recent call last):
> > File "<stdin>", line 1, in <module>
> > ImportError: No module named extern.simple_config
> >>>> import coherence.extern
> > Traceback (most recent call last):
> > File "<stdin>", line 1, in <module>
> > ImportError: No module named extern
> >>>> import coherence.extern.simple_config
> > Traceback (most recent call last):
> > File "<stdin>", line 1, in <module>
> > ImportError: No module named extern.simple_config
>
> When I take a look at sys.path, it contains
> /usr/lib/pymodules/python2.5, but does not contain /usr/share/pyshared.
> Do you have an __init__.py file in
> /usr/lib/pymodules/python2.5/coherence/extern?
Yes, an empty
/usr/lib/pymodules/python2.5/coherence/extern/__init__.py exists on my
system. It appears that python-support is responsible for installing
the Python version-specific files. I have 1.0.6. Is that what you
have?
--
Matt http://ftbfs.org/kraai
More information about the Pkg-utopia-maintainers
mailing list