Comment 4 for bug 119661

Revision history for this message
Adam Groszer (agroszer) wrote :

Even worse when it chokes on bootstrap:

adi@xubVM:~/blah$ python2.4 bootstrap.py
While:
  Initializing.

An internal error occured due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
  File "/tmp/tmpI0XdJV/zc.buildout-1.1.1-py2.4.egg/zc/buildout/buildout.py", line 1476, in main
    user_defaults, windows_restart, command)
  File "/tmp/tmpI0XdJV/zc.buildout-1.1.1-py2.4.egg/zc/buildout/buildout.py", line 113, in __init__
    _update(data, _open(os.path.dirname(config_file), config_file, []))
  File "/tmp/tmpI0XdJV/zc.buildout-1.1.1-py2.4.egg/zc/buildout/buildout.py", line 1171, in _open
    result = _update(_open(base, fname, seen), result)
  File "/tmp/tmpI0XdJV/zc.buildout-1.1.1-py2.4.egg/zc/buildout/buildout.py", line 1134, in _open
    fp = urllib2.urlopen(filename)
  File "/usr/lib/python2.4/urllib2.py", line 130, in urlopen
    return _opener.open(url, data)
  File "/usr/lib/python2.4/urllib2.py", line 364, in open
    response = meth(req, response)
  File "/usr/lib/python2.4/urllib2.py", line 471, in http_response
    response = self.parent.error(
  File "/usr/lib/python2.4/urllib2.py", line 402, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.4/urllib2.py", line 337, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.4/urllib2.py", line 480, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 404: Not Found

The thing is that ``extends`` in the buildout.cfg pointed to an invalid URL.