get zipimport.ZipImportError on installation

Bug #67871 reported by Ian Bicking
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released

Bug Description


zc.buildout.easy_install: Getting new distribution for nose
Traceback (most recent call last):
  File "./bin/buildout", line 12, in ?
  File "/tmp/tmp4FGVEI/zc.buildout-1.0.0b10-py2.4.egg/zc/buildout/", line 1000, in main
  File "/tmp/tmp4FGVEI/zc.buildout-1.0.0b10-py2.4.egg/zc/buildout/", 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/", 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/", line 85, in working_set
  File "/home/ianb/env/topp/src/deliverance.buildout/eggs/setuptools-0.6c3-py2.4.egg/", line 367, in install

  File "/home/ianb/env/topp/src/deliverance.buildout/eggs/setuptools-0.6c3-py2.4.egg/", 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

Revision history for this message
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.

Revision history for this message
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)
Changed in zc.buildout:
assignee: nobody → Vlad (ovod88)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers