View Single Post
Old 12-04-2010, 03:40 PM   #1
graemev
Junior Member
graemev began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Dec 2010
Device: HTC-Legend
linux_installer fails (proably proxy)

Following the instructions:

sudo python -c "import urllib2; exec urllib2.urlopen('http://status.calibre-ebook.com/linux_installer').read(); main()"


Fails.

I strongly suspect this is because I need to use a proxy.
So what I'd like to do is run as separate steps . I've manged to download the file linux_installer ... but it's not clear how ...how to run this ...
(typing python linux_installer .. does nothing)

sudo python -c "import urllib2; exec urllib2.urlopen('http://status.calibre-ebook.com/linux_installer').read(); main()"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python2.6/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.6/urllib2.py", line 391, in open
response = self._open(req, data)
File "/usr/lib/python2.6/urllib2.py", line 409, in _open
'_open', req)
File "/usr/lib/python2.6/urllib2.py", line 369, in _call_chain
result = func(*args)
File "/usr/lib/python2.6/urllib2.py", line 1170, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/lib/python2.6/urllib2.py", line 1145, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [Errno 111] Connection refused>
graemev is offline   Reply With Quote