[Openstack-devel] Bug#681903: melange-client: missing dependency on python-pkg-resources

Jakub Wilk jwilk at debian.org
Sun Aug 19 15:15:16 UTC 2012


* gregor herrmann <gregoa at debian.org>, 2012-08-19, 15:40:
># melange
>Traceback (most recent call last):
>  File "/usr/bin/melange", line 9, in <module>
>    load_entry_point('python-melangeclient==0.1', 'console_scripts', 'melange')()
>  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 337, in load_entry_point
>    return get_distribution(dist).load_entry_point(group, name)
>  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2279, in load_entry_point
>    return ep.load()
>  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1989, in load
>    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
>ImportError: No module named melange.client.cli

That's a bug in python-melangeclient[0]. It can be fixed by applying the 
attached patch and bumping b-d on python-all to "(>= 2.6.6-14~)"[1].


[0] It's built from the same source package, so I can't be bothered to 
make a separate bugreport.

[1] That's for the following dh_python2 feature: “dh_python2 parses 
Egg's namespace_packages.txt files (in addition to --namespace command 
line argument(s)) and drops empty __init__.py files from binary package. 
pycompile will regenerates them at install time and pyclean will remove 
them at uninstall time (if they're no longer used in installed packages”

-- 
Jakub Wilk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python-melangeclient-namespace.diff
Type: text/x-diff
Size: 215 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20120819/7e7a2134/attachment.diff>


More information about the Openstack-devel mailing list