easy_install crashed with ZipImportError in egg_distribution()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-setuptools (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
Binary package hint: python-setuptools
It fails with the package hgsvn-0.
gpoo@calcifer:~$ file hgsvn-0.
hgsvn-0.
gpoo@calcifer:~$ unzip -t hgsvn*egg
Archive: hgsvn-0.
testing: EGG-INFO/zip-safe OK
testing: EGG-INFO/
testing: EGG-INFO/
testing: EGG-INFO/
testing: EGG-INFO/PKG-INFO OK
testing: EGG-INFO/
testing: hgsvn/common.py OK
testing: hgsvn/svnclient.pyc OK
testing: hgsvn/__init__.pyc OK
testing: hgsvn/__init__.pyo OK
testing: hgsvn/svnclient.py OK
testing: hgsvn/svnclient.pyo OK
testing: hgsvn/errors.pyc OK
testing: hgsvn/errors.pyo OK
testing: hgsvn/common.pyc OK
testing: hgsvn/errors.py OK
testing: hgsvn/__init__.py OK
testing: hgsvn/common.pyo OK
testing: hgsvn/run/
testing: hgsvn/run/common.py OK
testing: hgsvn/run/
testing: hgsvn/run/
testing: hgsvn/run/
testing: hgsvn/run/
testing: hgsvn/run/
testing: hgsvn/run/
testing: hgsvn/run/
testing: hgsvn/run/
testing: hgsvn/run/
testing: hgsvn/run/
testing: hgsvn/unittests
testing: hgsvn/unittests
testing: hgsvn/unittests
testing: hgsvn/unittests
testing: hgsvn/unittests
testing: hgsvn/unittests
testing: hgsvn/unittests
testing: hgsvn/unittests
testing: hgsvn/unittests
testing: hgsvn/unittests
testing: hgsvn/unittests
testing: hgsvn/unittests
No errors detected in compressed data of hgsvn-0.
ProblemType: Crash
Architecture: i386
Date: Wed Apr 30 22:16:55 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/
InterpreterPath: /usr/bin/python2.5
Package: python-setuptools 0.6c8-0ubuntu2
PackageArchitec
ProcCmdline: /usr/bin/python /usr/bin/
ProcEnviron:
SHELL=/bin/bash
PATH=/
LC_COLLATE=C
LANG=en_US.UTF-8
PythonArgs: ['/usr/
SourcePackage: python-setuptools
Title: easy_install crashed with ZipImportError in egg_distribution()
Uname: Linux 2.6.24-16-generic i686
UserGroups: adm admin audio cdrom dialout dip floppy fuse kvm lpadmin plugdev video
If I try:
gpoo@calcifer:~$ easy_install -n -d /home/gpoo/ lib/python hgsvn lib/python/ site.py lib/python lib/python
Creating /home/gpoo/
Searching for hgsvn
Best match: hgsvn 0.1.4
Adding hgsvn 0.1.4 to easy-install.pth file
Installing hgimportsvn script to /home/gpoo/
Installing hgpullsvn script to /home/gpoo/
Using /home/gpoo/ lib/python
Processing dependencies for hgsvn
Finished processing dependencies for hgsvn
However, If I try: lib/python --upgrade hgsvn lib/python/ site.py pypi.python. org/simple/ hgsvn/ pypi.python. org/packages/ 2.5/h/hgsvn/ hgsvn-0. 1.5-py2. 5.egg#md5= 5fccc189bb3c062 43a7aaaa89752e3 47 1.5-py2. 5.egg 1.5-py2. 5.egg to /home/gpoo/ lib/python easy_install" , line 8, in <module> entry_point( 'setuptools= =0.6c8' , 'console_scripts', 'easy_install')() python2. 5/site- packages/ setuptools/ command/ easy_install. py", line 1671, in main ei_usage( lambda: python2. 5/site- packages/ setuptools/ command/ easy_install. py", line 1659, in with_ei_usage python2. 5/site- packages/ setuptools/ command/ easy_install. py", line 1675, in <lambda> DistributionWit houtHelpCommand s, **kw python2. 5/distutils/ core.py" , line 151, in setup run_commands( ) python2. 5/distutils/ dist.py" , line 974, in run_commands run_command( cmd) python2. 5/distutils/ dist.py" , line 994, in run_command python2. 5/site- packages/ setuptools/ command/ easy_install. py", line 211, in run easy_install( spec, not self.no_deps) python2. 5/site- packages/ setuptools/ command/ easy_install. py", line 446, in easy_install item(spec, dist.location, tmpdir, deps) python2. 5/site- packages/ setuptools/ command/ easy_install. py", line 476, in install_item eggs(spec, download, tmpdir) python2. 5/site- packages/ setuptools/ command/ easy_install. py", line 619, in install_eggs egg(dist_ filename, tmpdir)] python2. 5/site- packages/ setuptools/ command/ easy_install. py", line 696, in install_egg distribution( destination) python2. 5/site- packages/ setuptools/ command/ easy_install. py", line 661, in egg_distribution zipimport. zipimporter( egg_path) ) ZipImportError: not a Zip file
$ easy_install -n -d /home/gpoo/
Creating /home/gpoo/
Searching for hgsvn
Reading http://
Best match: hgsvn 0.1.5
Downloading http://
Processing hgsvn-0.
Moving hgsvn-0.
Traceback (most recent call last):
File "/usr/bin/
load_
File "/usr/lib/
with_
File "/usr/lib/
return f()
File "/usr/lib/
distclass=
File "/usr/lib/
dist.
File "/usr/lib/
self.
File "/usr/lib/
cmd_obj.run()
File "/usr/lib/
self.
File "/usr/lib/
return self.install_
File "/usr/lib/
dists = self.install_
File "/usr/lib/
return [self.install_
File "/usr/lib/
return self.egg_
File "/usr/lib/
metadata = EggMetadata(
zipimport.