1. Tarek Ziadé
  2. distribute
  3. Issues
Issue #253 new

distribute_setup.py should search mirrors instead of fail (esp. when a.pypi is down)

Anonymous created an issue

vagrant@lucid64:~$ curl -kL https://bitbucket.org/tarek/distribute/raw/7fd7b6e30a0e/distribute_setup.py | sudo python2.7 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 15757 0 15757 0 0 58950 0 --:--:-- --:--:-- --:--:-- 226k Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.24.tar.gz Traceback (most recent call last): File "<stdin>", line 485, in <module> File "<stdin>", line 480, in main File "<stdin>", line 193, in download_setuptools File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen return _opener.open(url, data, timeout) File "/usr/lib/python2.7/urllib2.py", line 394, in open response = self._open(req, data) File "/usr/lib/python2.7/urllib2.py", line 412, in _open '_open', req) File "/usr/lib/python2.7/urllib2.py", line 372, in _call_chain result = func(*args) File "/usr/lib/python2.7/urllib2.py", line 1201, in http_open return self.do_open(httplib.HTTPConnection, req) File "/usr/lib/python2.7/urllib2.py", line 1171, in do_open raise URLError(err) urllib2.URLError: <urlopen error [Errno 101] Network is unreachable>