View Single Post
Old 04-24-2009, 08:18 AM   #6
gabesword
Junior Member
gabesword began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Apr 2009
Device: T-Mobile G1 (Google Android)
Here is the output:

$ calibre-debug -c "from calibre import browser; print browser().open('http://google.com').read()"

Traceback (most recent call last):
File "/tmp/init.py", line 45, in <module>
File "/home/kovid/work/calibre/src/calibre/debug.py", line 150, in main
File "<string>", line 1, in <module>
File "/usr/lib/python2.6/site-packages/mechanize/_mechanize.py", line 209, inopen
File "/usr/lib/python2.6/site-packages/mechanize/_mechanize.py", line 236, in_mech_open
File "/usr/lib/python2.6/site-packages/mechanize/_opener.py", line 191, in open
File "/usr/lib/python2.6/urllib2.py", line 401, in _open
'_open', req)
File "/usr/lib/python2.6/urllib2.py", line 361, in _call_chain
result = func(*args)
File "/usr/lib/python2.6/site-packages/mechanize/_http.py", line 729, in http_open
File "/usr/lib/python2.6/site-packages/mechanize/_http.py", line 706, in do_open
urllib2.URLError: <urlopen error [Errno -2] Name or service not known>
Segmentation fault
gabesword is offline   Reply With Quote