Comment 2 for bug 507882

Revision history for this message
David Ally (david-ally) wrote :

I have been trying to add cando to my schooltool installation and it's been coming up with all sorts of errors during the make proces; it just stops at one of the packages and never report anything until i interrupt the installation and it would give this traceback error; the error given varies each time it is interrupted;

david@ubusvr910:~/cando$ sudo make
[sudo] password for david:
test -d python || make BOOTSTRAP_PYTHON=python2.5 bootstrap
test -f bin/test || make buildout
make[1]: Entering directory `/home/david/cando'
bin/buildout
Develop: '/home/david/cando/.'
Installing cando.
^CTraceback (most recent call last):
  File "bin/buildout", line 12, in <module>
    zc.buildout.buildout.main()
  File "/tmp/tmpgJsKD3/zc.buildout-1.4.3-py2.5.egg/zc/buildout/buildout.py", line 1660, in main
  File "/tmp/tmpgJsKD3/zc.buildout-1.4.3-py2.5.egg/zc/buildout/buildout.py", line 532, in install
  File "/tmp/tmpgJsKD3/zc.buildout-1.4.3-py2.5.egg/zc/buildout/buildout.py", line 1204, in _call
  File "/home/david/cando/eggs/zc.recipe.egg-1.0.0-py2.5.egg/zc/recipe/egg/egg.py", line 111, in install
    reqs, ws = self.working_set()
  File "/home/david/cando/eggs/zc.recipe.egg-1.0.0-py2.5.egg/zc/recipe/egg/egg.py", line 80, in working_set
    newest=self.buildout['buildout'].get('newest') == 'true',
  File "/tmp/tmpgJsKD3/zc.buildout-1.4.3-py2.5.egg/zc/buildout/easy_install.py", line 800, in install
  File "/tmp/tmpgJsKD3/zc.buildout-1.4.3-py2.5.egg/zc/buildout/easy_install.py", line 670, in install
  File "/tmp/tmpgJsKD3/zc.buildout-1.4.3-py2.5.egg/zc/buildout/easy_install.py", line 475, in _get_dist
  File "/tmp/tmpgJsKD3/zc.buildout-1.4.3-py2.5.egg/zc/buildout/easy_install.py", line 207, in _satisfied
  File "/tmp/tmpgJsKD3/zc.buildout-1.4.3-py2.5.egg/zc/buildout/easy_install.py", line 399, in _obtain
  File "/home/david/cando/eggs/setuptools-0.6c11-py2.5.egg/setuptools/package_index.py", line 318, in obtain
  File "/home/david/cando/eggs/setuptools-0.6c11-py2.5.egg/setuptools/package_index.py", line 303, in find_packages
  File "/home/david/cando/eggs/setuptools-0.6c11-py2.5.egg/setuptools/package_index.py", line 617, in scan_url
  File "/home/david/cando/eggs/setuptools-0.6c11-py2.5.egg/setuptools/package_index.py", line 201, in process_url
  File "/home/david/cando/eggs/setuptools-0.6c11-py2.5.egg/setuptools/package_index.py", line 278, in process_index
  File "/home/david/cando/eggs/setuptools-0.6c11-py2.5.egg/setuptools/package_index.py", line 617, in scan_url
  File "/home/david/cando/eggs/setuptools-0.6c11-py2.5.egg/setuptools/package_index.py", line 190, in process_url
  File "/home/david/cando/eggs/setuptools-0.6c11-py2.5.egg/setuptools/package_index.py", line 578, in open_url
  File "/home/david/cando/eggs/setuptools-0.6c11-py2.5.egg/setuptools/package_index.py", line 717, in open_with_auth
  File "/usr/lib/python2.5/urllib2.py", line 124, in urlopen
    return _opener.open(url, data)
  File "/usr/lib/python2.5/urllib2.py", line 381, in open
    response = self._open(req, data)
  File "/usr/lib/python2.5/urllib2.py", line 399, in _open
    '_open', req)
  File "/usr/lib/python2.5/urllib2.py", line 360, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.5/urllib2.py", line 1107, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "/usr/lib/python2.5/urllib2.py", line 1080, in do_open
    r = h.getresponse()
  File "/usr/lib/python2.5/httplib.py", line 928, in getresponse
    response.begin()
  File "/usr/lib/python2.5/httplib.py", line 385, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python2.5/httplib.py", line 343, in _read_status
    line = self.fp.readline()
  File "/usr/lib/python2.5/socket.py", line 372, in readline
    data = recv(1)
KeyboardInterrupt
make[1]: *** [buildout] Error 1
make: *** [build] Interrupt

david@ubusvr910:~/cando$ sudo make test ftest
[sudo] password for david:
test -d python || make BOOTSTRAP_PYTHON=python2.5 bootstrap
test -f bin/test || make buildout
make[1]: Entering directory `/home/david/cando'
bin/buildout
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/tmpgJsKD3/zc.buildout-1.4.3-py2.5.egg/zc/buildout/buildout.py", line 1659, in main
  File "/tmp/tmpgJsKD3/zc.buildout-1.4.3-py2.5.egg/zc/buildout/buildout.py", line 182, in __init__
  File "/tmp/tmpgJsKD3/zc.buildout-1.4.3-py2.5.egg/zc/buildout/buildout.py", line 1333, in _open
  File "/tmp/tmpgJsKD3/zc.buildout-1.4.3-py2.5.egg/zc/buildout/buildout.py", line 1283, in _open
  File "/tmp/tmpgJsKD3/zc.buildout-1.4.3-py2.5.egg/zc/buildout/download.py", line 96, in __call__
  File "/tmp/tmpgJsKD3/zc.buildout-1.4.3-py2.5.egg/zc/buildout/download.py", line 173, in download
  File "/usr/lib/python2.5/urllib.py", line 89, in urlretrieve
    return _urlopener.retrieve(url, filename, reporthook, data)
  File "/usr/lib/python2.5/urllib.py", line 222, in retrieve
    fp = self.open(url, data)
  File "/usr/lib/python2.5/urllib.py", line 190, in open
    return getattr(self, name)(url)
  File "/usr/lib/python2.5/urllib.py", line 325, in open_http
    h.endheaders()
  File "/usr/lib/python2.5/httplib.py", line 860, in endheaders
    self._send_output()
  File "/usr/lib/python2.5/httplib.py", line 732, in _send_output
    self.send(msg)
  File "/usr/lib/python2.5/httplib.py", line 699, in send
    self.connect()
  File "/usr/lib/python2.5/httplib.py", line 667, in connect
    socket.SOCK_STREAM):
IOError: [Errno socket error] (-2, 'Name or service not known')
make[1]: *** [buildout] Error 1
make[1]: Leaving directory `/home/david/cando'
make: *** [build] Error 2

I had previously installed cando on another system without any of these issues using the same process, so what could be wrong?