[Pkg-utopia-maintainers] Bug#559547: __init__.pys present on my system

Matt Kraai kraai at ftbfs.org
Sun Dec 6 22:07:30 UTC 2009


On Sun, Dec 06, 2009 at 01:41:50PM -0500, Joseph Spiros wrote:
> Same here.
> 
> $ dpkg -L python-coherence | grep /__init__\\.py\$
> /usr/share/pyshared/coherence/upnp/core/test/__init__.py
> /usr/share/pyshared/coherence/extern/louie/__init__.py
> /usr/share/pyshared/coherence/extern/galleryremote/__init__.py
> /usr/share/pyshared/coherence/extern/youtubedl/__init__.py
> /usr/share/pyshared/coherence/__init__.py
> 
> However, __init__.py files are missing in many of the other
> subdirectories of /usr/share/pyshared/coherence, which causes those
> directories to not be seen as packages/modules.
> 
> For example, /usr/share/pyshared/coherence/extern/__init__.py does not
> exist. It does exist in the current trunk of the coherence project, and
> needs to exists to allow coherence(1) to import extern.simple_config.

No, I can run coherence and also a script that just contains

 import coherence.extern.simple_config

on my system.  Line 23 of /usr/bin/coherence on my system contains

 from coherence.extern.simple_config import Config,ConfigItem

Is this also the case on your system?  Is this the line that's causing
the exception?

-- 
Matt                                            http://ftbfs.org/kraai






More information about the Pkg-utopia-maintainers mailing list