get zipimport.ZipImportError on installation

Bug #67871 reported by Ian Bicking on 2006-10-23
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Buildout
Undecided
Vlad

Bug Description

Traceback:

zc.buildout.easy_install: Getting new distribution for nose
Traceback (most recent call last):
  File "./bin/buildout", line 12, in ?
    zc.buildout.buildout.main()
  File "/tmp/tmp4FGVEI/zc.buildout-1.0.0b10-py2.4.egg/zc/buildout/buildout.py", line 1000, in main
  File "/tmp/tmp4FGVEI/zc.buildout-1.0.0b10-py2.4.egg/zc/buildout/buildout.py", line 364, in install
  File "/home/ianb/env/topp/src/deliverance.buildout/eggs/zc.recipe.egg-1.0.0b2-py2.4.egg/zc/recipe/egg/egg.py", line 94, in install
    reqs, ws = self.working_set()
  File "/home/ianb/env/topp/src/deliverance.buildout/eggs/zc.recipe.egg-1.0.0b2-py2.4.egg/zc/recipe/egg/egg.py", line 85, in working_set
    path=[options['_d']]
  File "/home/ianb/env/topp/src/deliverance.buildout/eggs/setuptools-0.6c3-py2.4.egg/easy_install.py", line 367, in install

  File "/home/ianb/env/topp/src/deliverance.buildout/eggs/setuptools-0.6c3-py2.4.egg/easy_install.py", line 235, in _get_dist

zipimport.ZipImportError: not a Zip file

I'm guessing that easy_install is finding the instance of nose already installed, and trying to use that, which is not a zipped egg (but is an egg).

The traceback threw me, the exception is actually in zc.buildout.easy_install

Jim Fulton (jim-zope) wrote :

Yeah, wrt finding a non-zipped egg. I'm not sure why it's looking in a
local directory. I'll add a check to make sure it's a file.

I don't really know what to make of the traceback. I don't know what would cause that, not have I seen anything like it.

Jim Fulton (jim-zope) wrote :

Thanks for reporting this. It is fixed in b11.

I wasn't able to reproduce the weird traceback.

Changed in zc.buildout:
status: Unconfirmed → Fix Released
Vlad (ovod88) on 2013-08-03
Changed in zc.buildout:
assignee: nobody → Vlad (ovod88)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers