View Single Post
Old 07-20-2009, 11:29 PM   #609
ronin712
Junior Member
ronin712 began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jul 2009
Device: stanza
Quote:
Originally Posted by kovidgoyal View Post
@ronin712: In a terminal run calibre-server --devlop and then try to connect to the server using stanza and post any output you see in the terminal
When I run that command, I get lines like the following (after a few Python deprecation warnings):
[20/Jul/2009:21:37:35] ENGINE Bus STARTING
[20/Jul/2009:21:37:35] ENGINE Started monitor thread '_TimeoutMonitor'.
[20/Jul/2009:21:37:35] ENGINE Started monitor thread 'Autoreloader'.
[20/Jul/2009:21:37:35] ENGINE Serving on 0.0.0.0:8080
[20/Jul/2009:21:37:35] ENGINE Bus STARTED
After playing with it a while, I can get it to works sometimes, usually right after starting Stanza. If I go back and forth between catalogs, eventually it stops working, and usually (but not always) restarting Stanza fixes it. I'd be ready to just point the finger at Stanza, but the calibre catalog is the only one that stops working. All the other catalogs, both the default ones and a non-calibre one I added, continue to work even once calibre catalog stops responding.

When I go to a "Stanza-type" catalog pointing to http://host:8080/stanza, and it works, I get log lines like the following. If it doesn't work, nothing at all is logged, and Stanza just sits there with a "Loading..." status. If I go to a "Web page" catalog pointing to http://host:8080, I get the same behavior (with different resources being requested when it works, of course).
10.0.0.113 - - [20/Jul/2009:21:38:03] "GET /stanza HTTP/1.1" 200 2480 "" "Stanza/1.9 iPhone OS/3.0/iPhone catalog/1.9"
10.0.0.113 - - [20/Jul/2009:21:38:03] "GET /get/thumb/2 HTTP/1.1" 200 1351 "" "Stanza/1.9 iPhone OS/3.0/iPhone catalog/1.9"
I just saw in another thread that you added support for Bonjour. Does this mean I should be able to see calibre in "Shared Books" like I can with Stanza Desktop? Is this what the Content Server config pages means when it says that Stanza should see calibre automatically?

Also, the Content Server config pages says I can go to http://host:8080 (no /stanza). This is confusing because Stanza has two different types of catalog, "Stanza" and "Web page". It probably needs to be clearer about how to create the catalog in Stanza, and what it means when it says that Stanza should see calibre automatically.
ronin712 is offline