mgedmin / zodbbrowser

ZODB browser
http://launchpad.net/zodbbrowser
Other
19 stars 6 forks source link

bootstrap.py fails to load distribute_setup.py #3

Closed baloan closed 9 years ago

baloan commented 9 years ago

on Windows 8.1, Python 2.7.8

E:\Dist\zodbbrowser-0.11.0>python bootstrap.py
Traceback (most recent call last):
  File "bootstrap.py", line 76, in <module>
    exec(urlopen('http://python-distribute.org/distribute_setup.py').read(), ez)
  File "C:\Apps\Python27\lib\urllib2.py", line 127, in urlopen
    return _opener.open(url, data, timeout)
  File "C:\Apps\Python27\lib\urllib2.py", line 404, in open
    response = self._open(req, data)
  File "C:\Apps\Python27\lib\urllib2.py", line 422, in _open
    '_open', req)
  File "C:\Apps\Python27\lib\urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "C:\Apps\Python27\lib\urllib2.py", line 1214, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "C:\Apps\Python27\lib\urllib2.py", line 1184, in do_open
    raise URLError(err)
urllib2.URLError: <urlopen error [Errno 11001] getaddrinfo failed>
mgedmin commented 9 years ago

Can you replace bootstrap.py with a newer version downloaded from http://downloads.buildout.org/2/bootstrap.py? If that helps, I'll release 0.11.1 with the updated bootstrap.


Alternatively you could use pip install zodbbrowser. Python 2.7.9 was released just two days ago, and it comes with pip preinstalled.

On Windows this is a bit more painful since pip doesn't support .egg files so it tries to compile ZODB extension modules, which requires a C compiler. I've converted the relevant .egg files from PyPI to wheel files that pip supports, so I could do

pip install -f https://debesis.gedmin.as/wheels/ zodbbrowser
mgedmin commented 9 years ago

I released zodbbrowser 0.11.1 for unrelated reasons. It has a new bootstrap.py. If you still get errors with it, please reopen this bug.