View Single Post
Old 08-23-2009, 01:30 PM   #99
yankeespitfire
Junior Member
yankeespitfire began at the beginning.
 
yankeespitfire's Avatar
 
Posts: 8
Karma: 10
Join Date: Jul 2009
Location: East Coast, USA
Device: ipod touch
OK, under 6.8 on vista, here's the output of calibre-server --develop:
C:\Program Files\calibre\library.zip\cherrypy\lib\cptools.py: 4: DeprecationWarni
ng: the md5 module is deprecated; use hashlib instead
C:\Program Files\calibre\library.zip\cherrypy\lib\sessions.py :16: DeprecationWar
ning: the sha module is deprecated; use the hashlib module instead
C:\Program Files\calibre\library.zip\cherrypy\_cperror.py:190 : DeprecationWarnin
g: BaseException.message has been deprecated as of Python 2.6
[23/Aug/2009:13:24:39] ENGINE Bus STARTING
[23/Aug/2009:13:24:39] ENGINE Started monitor thread '_TimeoutMonitor'.
[23/Aug/2009:13:24:39] ENGINE Started monitor thread 'Autoreloader'.
[23/Aug/2009:13:24:39] ENGINE Serving on 0.0.0.0:8081
[23/Aug/2009:13:24:39] ENGINE Bus STARTED
192.168.0.96 - - [23/Aug/2009:13:25:52] "GET /stanza/ HTTP/1.1" 200 1080 "" "Sta
nza/1.9.1 iPhone OS/3.0/iPod touch catalog/1.9.1"
192.168.0.96 - - [23/Aug/2009:13:25:56] "GET /?sortby=byauthor HTTP/1.1" 200 251
4 "" "Stanza/1.9.1 iPhone OS/3.0/iPod touch catalog/1.9.1"
192.168.0.96 - - [23/Aug/2009:13:26:02] "GET /?sortby=bytitle HTTP/1.1" 200 2514
"" "Stanza/1.9.1 iPhone OS/3.0/iPod touch catalog/1.9.1"

------then from the second terminal:
C:\Users\Jon>calibre-debug -c "from calibre import browser; br = browser(); prin
t br.open('http://localhost:8080/stanza/?sortby=bytitle').read()"
Traceback (most recent call last):
File "debug.py", line 201, in <module>
File "debug.py", line 178, in main
File "<string>", line 1, in <module>
File "mechanize\_mechanize.pyo", line 209, in open
File "mechanize\_mechanize.pyo", line 236, in _mech_open
File "mechanize\_opener.pyo", line 191, in open
File "urllib2.pyo", line 401, in _open
File "urllib2.pyo", line 361, in _call_chain
File "mechanize\_http.pyo", line 729, in http_open
File "mechanize\_http.pyo", line 706, in do_open
urllib2.URLError: <urlopen error [Errno 10054] An existing connection was forcib
ly closed by the remote host>


Thanks!
yankeespitfire is offline   Reply With Quote