Public bug reported:
Binary package hint: python-setuptools
version:ubuntu lucid
the gitosis can't work after the python-setuptools upgrade 12-2.
if u exec this code,in python:
{{{
from pkg_resources import load_entry_point
}}}
will got these error:
<error>
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 2656, in
<module>
add_activation_listener(lambda dist: dist.activate())
File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 647, in
subscribe
callback(dist)
File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 2656, in
<lambda>
add_activation_listener(lambda dist: dist.activate())
File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 2162, in
activate
self.insert_on(path)
File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 2256, in
insert_on
if '0.7' in self.version:
File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 2120, in
version
"Missing 'Version:' header and/or PKG-INFO file", self
ValueError: ("Missing 'Version:' header and/or PKG-INFO file", setuptools
[unknown version] (/usr/lib/python2.6/dist-packages))
</error>
my env:
f...@feiy-desktop:/usr/bin$ python --version
Python 2.6.4
f...@feiy-desktop:/usr/bin$ uname -a
Linux feiy-desktop 2.6.32-6-generic #8-Ubuntu SMP Sat Nov 28 12:47:40 UTC 2009
x86_64 GNU/Linux
f...@feiy-desktop:/usr/bin$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu lucid (development branch)"
f...@feiy-desktop:/usr/bin$ dpkg --list python-setuptools
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ 名称 版本 简介
+++-==============-==============-============================================
ii python-setupto 0.6.8-1ubuntu1 Python Distutils Enhancements (setuptools co
** Affects: python-setuptools (Ubuntu)
Importance: Undecided
Status: New
--
from pkg_resources import load_entry_point got ValueError: ("Missing 'Version:'
header and/or PKG-INFO file", setuptools [unknown version]
(/usr/lib/python2.6/dist-packages)) error
https://bugs.launchpad.net/bugs/491710
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs