![]() |
#91 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Aug 2009
Device: iphone
|
Catalog Error: Error reading catalog data. Please try again later.
Hi all,
Just trying Stanza/Calibre/iphone for the first time and running into some problems with the content server. I've set up a new stanza catalog entry on my iphone, pointing to the Calibre content server using http://192.168.1.102:8080/stanza/ When I connect I get a familiar list "By Author; By Title; By Newest" But clicking on any of these gives the same error: "Catalog Error: Error reading catalog data. Please try again later." Content server testing on Calibre works fine: I get a web page showing the two test books in my Calibre library. Any ideas? My PC OS is Ubuntu Jaunty. My iphone is 2g OS 3.0. My wifi router has WPA/WPA2 security. Here are the relevant lines from my Access log: 192.168.1.100 - - [23/Aug/2009:14:17:38] "GET /stanza/ HTTP/1.1" 200 1080 "" "Stanza/1.9 iPhone OS/3.0/iPhone catalog/1.9" 192.168.1.100 - - [23/Aug/2009:14:17:38] "GET /stanza/ HTTP/1.1" 200 1080 "" "Stanza/1.9 iPhone OS/3.0/iPhone catalog/1.9" 192.168.1.100 - - [23/Aug/2009:14:17:38] "GET /stanza/ HTTP/1.1" 200 1080 "" "Stanza/1.9 iPhone OS/3.0/iPhone catalog/1.9" 192.168.1.100 - - [23/Aug/2009:14:18:32] "GET /?sortby=byauthor HTTP/1.1" 200 2514 "" "Stanza/1.9 iPhone OS/3.0/iPhone catalog/1.9" 192.168.1.100 - - [23/Aug/2009:14:18:32] "GET /?sortby=byauthor HTTP/1.1" 200 2514 "" "Stanza/1.9 iPhone OS/3.0/iPhone catalog/1.9" 192.168.1.100 - - [23/Aug/2009:14:18:32] "GET /?sortby=byauthor HTTP/1.1" 200 2514 "" "Stanza/1.9 iPhone OS/3.0/iPhone catalog/1.9" |
![]() |
![]() |
![]() |
#92 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,364
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
the two books are in epub format?
|
![]() |
![]() |
Advert | |
|
![]() |
#93 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Aug 2009
Device: iphone
|
Yes. In fact, I can download them to my iphone and view them in stanza by adding
http://192.168.1.102:8080/ as a "web page" catalog. I just can't access them through the stanza catalog. |
![]() |
![]() |
![]() |
#94 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Mar 2009
Location: Danville, VA
Device: NookColor, ipod touch
|
I am getting the same result. Stanza catalog was working fine in previous version.
|
![]() |
![]() |
![]() |
#95 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,364
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Run the server as
calibre-server --develop in a terminal and then try to access it in Stanza and post any output |
![]() |
![]() |
Advert | |
|
![]() |
#96 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Jul 2009
Location: East Coast, USA
Device: ipod touch
|
Having the same challenge here (vista, not ubuntu though). I tried reinstalling the previous 2 versions of Stanza on the ipod just in case the issue was with Stanza but no joy... rolled back to 6.7 and the catalog is working fine.
|
![]() |
![]() |
![]() |
#97 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Aug 2009
Device: iphone
|
Tried starting in a terminal with
calibre-server --develop Here is the terminal ouput: [24/Aug/2009:00:41:21] ENGINE Bus STARTING [24/Aug/2009:00:41:21] ENGINE Started monitor thread '_TimeoutMonitor'. [24/Aug/2009:00:41:21] ENGINE Started monitor thread 'Autoreloader'. [24/Aug/2009:00:41:21] ENGINE Serving on 0.0.0.0:8080 [24/Aug/2009:00:41:21] ENGINE Bus STARTED [24/Aug/2009:00:48:54] ENGINE Bus STARTING [24/Aug/2009:00:48:54] ENGINE Started monitor thread '_TimeoutMonitor'. [24/Aug/2009:00:48:54] ENGINE Started monitor thread 'Autoreloader'. [24/Aug/2009:00:48:54] ENGINE Serving on 0.0.0.0:8080 [24/Aug/2009:00:48:54] ENGINE Bus STARTED 192.168.1.100 - - [24/Aug/2009:00:49:11] "GET /stanza/ HTTP/1.1" 200 1080 "" "Stanza/1.9.1 iPhone OS/3.0/iPhone catalog/1.9.1" 192.168.1.100 - - [24/Aug/2009:00:49:19] "GET /?sortby=bytitle HTTP/1.1" 200 2514 "" "Stanza/1.9.1 iPhone OS/3.0/iPhone catalog/1.9.1" ^C[24/Aug/2009:00:49:35] ENGINE Keyboard Interrupt: shutting down bus [24/Aug/2009:00:49:35] ENGINE Bus STOPPING [24/Aug/2009:00:49:35] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 8080)) shut down [24/Aug/2009:00:49:35] ENGINE Stopped thread 'Autoreloader'. [24/Aug/2009:00:49:35] ENGINE Stopped thread '_TimeoutMonitor'. [24/Aug/2009:00:49:35] ENGINE Bus STOPPED [24/Aug/2009:00:49:35] ENGINE Bus EXITING [24/Aug/2009:00:49:35] ENGINE Bus EXITED [24/Aug/2009:00:49:35] ENGINE Waiting for child threads to terminate... |
![]() |
![]() |
![]() |
#98 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,364
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Hmm works for me with Stanza 1.9.1 though on OS/2.2.1
OK with the server running in one terminal, run the follwoing in another terminal and post the output Code:
calibre-debug -c "from calibre import browser; br = browser(); print br.open('http://localhost:8080/stanza/?sortby=bytitle').read()" |
![]() |
![]() |
![]() |
#99 |
Junior Member
![]() 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! |
![]() |
![]() |
![]() |
#100 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Jul 2009
Location: East Coast, USA
Device: ipod touch
|
sorry, I'm an idiot... forgot to change the port #. Output is attached
|
![]() |
![]() |
![]() |
#101 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Jul 2009
Location: East Coast, USA
Device: ipod touch
|
OK, I'm going to play my 'free dumb question for the day' card. I've noticed that some stanza users need to set up their catalog as "http://xxx.xxx.xxx.xxx:8080/stanza/" rather than just "http://xxx.xxx.xxx.xxx:8080/". Since there's now a breakdown by author/title/newest is there anything additional to put in the catalog setup?
|
![]() |
![]() |
![]() |
#102 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,364
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Hmm nothing wrong with that feed as far as I can tell. And I updated my iTouch to OS 3.0, still works for me. I wish there was some way to get Stanza to give more verbose error messages.
|
![]() |
![]() |
![]() |
#103 | |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,364
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Quote:
|
|
![]() |
![]() |
![]() |
#104 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Jul 2009
Location: East Coast, USA
Device: ipod touch
|
You got me thinking about stanza output. For comparison, I opened a location in Stanza desktop under from a 6.8 instance and a 6.7 instance on a different box. Output is attached in case it helps to see the feed.
|
![]() |
![]() |
![]() |
#105 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,364
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
They are different, as in 0.6.8 calibre now exports sub catalogs so you can go By Newest, By title etc.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Covers in Stanza on iPhone/iPod Touch | pietvo | Calibre | 3 | 07-25-2011 05:28 AM |
iPhone Get your Ebooks off your iPhone/Touch Stanza Library | RoninTech | Apple Devices | 15 | 03-25-2010 09:17 AM |
Creating an online Stanza catalog | wdonne | News | 6 | 02-25-2010 03:33 PM |
Still can't generate a Mobi catalog | Sydney's Mom | Library Management | 11 | 02-02-2010 08:55 AM |
Loading Stanza on jailbroken iPhone/iPod Touch? | Robotech_Master | Apple Devices | 1 | 08-12-2009 04:57 PM |