Maximum recursion depth exceeded while attempting to upgrade setuptools on Mac OS X
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Buildout |
New
|
Undecided
|
Unassigned |
Bug Description
Running buildout on my Mac (10.5) with newest=true fails while attempting to upgrade setuptools. This is with setuptools 0.6c9 and zc.buildout 1.4.1. The same buildout works fine on linux. This is with a plain python2.6 built from source.
The buildout.cfg
============
[buildout]
parts = test
[test]
recipe = zc.recipe.egg
eggs =
interpreter = py
buildout command and traceback
=======
$ bin/buildout -vvv
Installing 'zc.buildout', 'setuptools'.
We have the best distribution that satisfies 'zc.buildout'.
Picked: zc.buildout = 1.4.1
Getting distribution for 'setuptools'.
...
Getting distribution for 'setuptools'.
While:
Installing.
Checking for upgrades.
Getting distribution for 'setuptools'.
...
Getting distribution for 'setuptools'.
An internal error occured due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
File "/data/
getattr(
File "/data/
self.
File "/data/
allow_hosts = self._allow_hosts
File "/data/
return installer.
File "/data/
for dist in self._get_
File "/data/
dist.location, ws, self._dest, dist)
File "/data/
ws, False,
...
File "/data/
dist.location, ws, self._dest, dist)
File "/data/
ws, False,
File "/data/
dist, avail = self._satisfied
File "/data/
best_available = self._obtain(req, source)
File "/data/
if index.obtain(
File "/data/
self.prescan(); self.find_
File "/data/
self.
File "/data/
self.
File "/data/
dists = list(distros_
File "/data/
base, fragment = egg_info_
File "/data/
scheme, server, path, parameters, query, fragment = urlparse.
File "/data/
tuple = urlsplit(url, scheme, allow_fragments)
File "/data/
allow_fragments = bool(allow_
RuntimeError: maximum recursion depth exceeded while calling a Python object
I can't reproduce this. I might be able to suggest something if you
included the full traceback.
Jim
On Wed, Sep 16, 2009 at 10:49 AM, Laurence Rowe <email address hidden> wrote: ======= ======= === buildout/ eggs/zc. buildout- 1.4.1-py2. 6.egg/zc/ buildout/ buildout. py", line 1659, in main buildout/ eggs/zc. buildout- 1.4.1-py2. 6.egg/zc/ buildout/ buildout. py", line 381, in install upgrade( ) buildout/ eggs/zc. buildout- 1.4.1-py2. 6.egg/zc/ buildout/ buildout. py", line 804, in _maybe_upgrade buildout/ eggs/zc. buildout- 1.4.1-py2. 6.egg/zc/ buildout/ easy_install. py", line 800, in install install( specs, working_set) buildout/ eggs/zc. buildout- 1.4.1-py2. 6.egg/zc/ buildout/ easy_install. py", line 646, in install dist(requiremen t, ws, self._always_ unzip): buildout/ eggs/zc. buildout- 1.4.1-py2. 6.egg/zc/ buildout/ easy_install. py", line 543, in _get_dist buildout/ eggs/zc. buildout- 1.4.1-py2. 6.egg/zc/ buildout/ easy_install. py", line 301, in _call_easy_install buildout/ eggs/zc. buildout- 1.4.1-py2. 6.egg/zc/ buildout/ easy_install. py", line 543, in _get_dist buildout/ eggs/zc. buildout- 1.4.1-py2. 6.egg/zc/ buildout/ easy_install. py", line 301, in _call_easy_install buildout/ eggs/zc. buildout- 1.4.1-py2. 6.egg/zc/ buildout/ easy_install. py", line 475, in _get_dist (requirement) buildout/ eggs/zc. buildout- 1.4.1-py2. 6.egg/zc/ buildout/ easy_install. py", line 243, in _satisfied buildout/ eggs/zc. buildout- 1.4.1-py2. 6.egg/zc/ buildout/ easy_install. py", line 399, in _obtain requirement) is None: buildout/ eggs/setuptools -0.6c9- py2.6.egg/ setuptools/ package_ index.py" , line 318, in obtain packages( requirement) buildout/ eggs/setuptools -0.6c9- py2.6.egg/ setuptools/ package_ index.p. ..
> Public bug reported:
>
> Running buildout on my Mac (10.5) with newest=true fails while
> attempting to upgrade setuptools. This is with setuptools 0.6c9 and
> zc.buildout 1.4.1. The same buildout works fine on linux. This is with a
> plain python2.6 built from source.
>
> The buildout.cfg
> ============
>
> [buildout]
> parts = test
>
> [test]
> recipe = zc.recipe.egg
> eggs =
> interpreter = py
>
> buildout command and traceback
> =======
>
> $ bin/buildout -vvv
> Installing 'zc.buildout', 'setuptools'.
> We have the best distribution that satisfies 'zc.buildout'.
> Picked: zc.buildout = 1.4.1
> Getting distribution for 'setuptools'.
> ...
> Getting distribution for 'setuptools'.
> While:
> Installing.
> Checking for upgrades.
> Getting distribution for 'setuptools'.
> ...
> Getting distribution for 'setuptools'.
>
> An internal error occured due to a bug in either zc.buildout or in a
> recipe being used:
> Traceback (most recent call last):
> File "/data/
> getattr(buildout, command)(args)
> File "/data/
> self._maybe_
> File "/data/
> allow_hosts = self._allow_hosts
> File "/data/
> return installer.
> File "/data/
> for dist in self._get_
> File "/data/
> dist.location, ws, self._dest, dist)
> File "/data/
> ws, False,
> ...
> File "/data/
> dist.location, ws, self._dest, dist)
> File "/data/
> ws, False,
> File "/data/
> dist, avail = self._satisfied
> File "/data/
> best_available = self._obtain(req, source)
> File "/data/
> if index.obtain(
> File "/data/
> self.prescan(); self.find_
> File "/data/