IOError in easy_install

Bug #503301 reported by Michael Haubenwallner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
BlueBream
Fix Released
Undecided
Unassigned

Bug Description

i am using python2.6, ubuntu 9.10

inside an activated virtualenv with no-site-packages ...

$ bin/paster create -t bluebream sampleproject
...
Running /home/d2m/workspace/bluebream/bin/python setup.py egg_info
Traceback (most recent call last):
...
  File "/home/d2m/workspace/bluebream/lib/python2.6/site-packages/PasteScript-1.7.3-py2.6.egg/paste/script/pluginlib.py", line 134, in egg_info_dir
    % ', '.join(all))
IOError: No egg-info directory found (looked in ...)

description: updated
description: updated
Revision history for this message
Michael Haubenwallner (d2m) wrote :

in contrast to the bluebream tests this is missing when creating a sample project:

    Recursing into +package+.egg-info
      Creating ./sample/src/sample.egg-info/

Revision history for this message
Baiju Muthukadan (baijum) wrote :

It looks similar to #502817 the +package+.egg-info is an empty directory, I think that's causing this error. I fixed that issue by adding few text files inside the directory structure. I am not sure whether that is correct fix for this issue.

BTW, I couldn't reproduce it like this (using system Python):

$ virtualenv --no-site-packages ve
$ cd ve
$ source bin/activate
$ easy_install bluebream
$ paster create -t bluebream sampleproject

Are you using system Python ? Can you provide actual steps you tried. Meanwhile I will try with a custom built Python.

Revision history for this message
Baiju Muthukadan (baijum) wrote :

I couldn't reproduce this error with custom built Python. But as you mentioned, I cannot see the step for creating .egg-info directory from PasteScripts's command-line output.

I have reported this issue here: http://trac.pythonpaste.org/pythonpaste/ticket/404

As a work around I have fixed by adding an empty "PKG-INFO" file and made a new release. As I couldn't reproduce the error properly, I will wait for somebody else to verify this fix, until then, we will keep this bug opened.

Revision history for this message
Michael Haubenwallner (d2m) wrote :

thanks, works now with bluebream0.1.4

Changed in bluebream:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.