Issue #68 resolved

bootstrap.py fails if buildout uses a pinned buildout

Patrick Gerken
created an issue

When calling buildout, he tries repeatetly to get distribute. He finds it but wants to get it again after that.

The problem dissappears when not pinning buildout.

With pinning, I started out with buildout 1.4.1. During buildout process, buildout got buildout 1.2.1 and restartet itself. Maybe this is correlated.

Comments (8)

  1. Patrick Gerken reporter

    Thats part of the output when running ./bin/buildout -vvvvvv

    .......

    mr.developer: Switching 'syslabcom.filter'

    Installing 'zc.buildout', 'setuptools'.

    We have the distribution that satisfies 'zc.buildout==1.2.1'.

    We have the best distribution that satisfies 'distribute'.

    Picked: distribute = 0.6.4

    Getting required 'distribute'

    We have the best distribution that satisfies 'distribute'.

    Picked: distribute = 0.6.4

    Getting required 'distribute'

    We have the best distribution that satisfies 'distribute'.

    Picked: distribute = 0.6.4

    Getting required 'distribute'

    We have the best distribution that satisfies 'distribute'.

    Picked: distribute = 0.6.4

    Getting required 'distribute'

    We have the best distribution that satisfies 'distribute'.

    Picked: distribute = 0.6.4

    Getting required 'distribute'

    We have the best distribution that satisfies 'distribute'.

    Picked: distribute = 0.6.4

    .....

  2. Lennart Regebro

    With that bootstrap_dev.py I get:

    Traceback (most recent call last):
      File "/tmp/tmp_ZO65E/zc.buildout-1.4.1-py2.4.egg/zc/buildout/buildout.py", line 1659, in main
        getattr(buildout, command)(args)
      File "/tmp/tmp_ZO65E/zc.buildout-1.4.1-py2.4.egg/zc/buildout/buildout.py", line 363, in bootstrap
        ws.require('zc.buildout')
      File "/opt/python24/lib/python2.4/site-packages/distribute-0.6.4-py2.4.egg/pkg_resources.py", line 621, in require
        needed = self.resolve(parse_requirements(requirements))
      File "/opt/python24/lib/python2.4/site-packages/distribute-0.6.4-py2.4.egg/pkg_resources.py", line 519, in resolve
        raise DistributionNotFound(req)  # XXX put more info here
    DistributionNotFound: setuptools
    
    
  3. Patrick Gerken reporter

    Hi Lennart,

    thats funny, for me it works now with pinned zc.buildout.

    I think this is a different bug then, maybe.

    But I cant set it to resolved now that you have issues.

  4. Tarek Ziadé repo owner

    Do3cc: Cool ! Glad it works !

    Lennart: Doesn't look right, you are supposed to get 0.6.5dev.

    can you check that you don't have a any tar.gz file alongside the script before you start ? and in you temp folder, then download the script again and restart.

    Also look for the options in buildout that prefers the final releases.

    If it works then please close this issue.

  5. Log in to comment