08-23-2009, 03:47 PM | #106 |
Junior Member
Posts: 8
Karma: 10
Join Date: Jul 2009
Location: East Coast, USA
Device: ipod touch
|
I don't know if this can help, I installed 6.8 on an OSX box. Still no luck with the catalog. Attached the output of the debug.
|
08-23-2009, 03:51 PM | #107 |
creator of calibre
Posts: 43,844
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Is stanza autodetecting the calibre feed or are you entering it manually?
|
Advert | |
|
08-23-2009, 03:58 PM | #108 |
Junior Member
Posts: 8
Karma: 10
Join Date: Jul 2009
Location: East Coast, USA
Device: ipod touch
|
I've tried it on 3 different touch's, had to manually enter it on all 3. Had to enter it as "http://xxx.xxx.xxx:808x/stanza/" on all 3 as well, I get an empty catalog with just the iport entered.
|
08-23-2009, 04:10 PM | #109 |
creator of calibre
Posts: 43,844
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Ah, that explains it. Stanza rather stupidly doesn't send the correct headers when you ad a catalog manually. I will add a workaround for this in the next release.
|
08-24-2009, 11:48 AM | #110 |
Junior Member
Posts: 2
Karma: 10
Join Date: Aug 2009
Device: iPhone
|
Till it is fixed
When will the next version be?
Till it is fixed I hack a fast PHP script that works: <?php $host = 'mistress'; $port = 8080; $script = 'stanza.php'; // START $calibre = "sed 's/ href=\"/ href=\"http:\/\/{$host}:{$port}/'"; $here = "sed 's/ href=\"\// href=\"http:\/\/{$host}\/{$script}/'"; if (empty($_GET['authorid'])) { $str = makecmd('sortby=byauthor', $here); } else { $str = makecmd("authorid={$_GET['authorid']}", $calibre); } passthru($str); exit; function makecmd($cmd, $sed) { return <<<CMD calibre-debug -c "from calibre import browser; br = browser(); print br.open('http://localhost:8080/stanza/?$cmd').read()" | $sed CMD; } |
Advert | |
|
08-24-2009, 11:52 AM | #111 |
creator of calibre
Posts: 43,844
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Just unzip the attached file, and in a terminal run
calibre-debug -u calibre.library.server server.py where server.py comes from the zipped file |
08-24-2009, 01:03 PM | #112 |
Junior Member
Posts: 2
Karma: 10
Join Date: Aug 2009
Device: iPhone
|
Thank you
Thank you, that works great..
|
08-24-2009, 01:11 PM | #113 |
Junior Member
Posts: 8
Karma: 10
Join Date: Jul 2009
Location: East Coast, USA
Device: ipod touch
|
That did the trick nicely. Many Thanks!!
|
08-25-2009, 04:53 AM | #114 |
Emonk
Posts: 2
Karma: 10
Join Date: Aug 2009
Device: Soney PRS 505
|
Not having an iPhone I never had this problem, but tonight I showed off Calibre to an iPhone owning friend. No dice, empty catalogs..much sadness. I did a quick search around found your patch. Hats off to you sir, it worked perfect.
Thnak much for your spot on patch and for calibre in general. Great app |
08-29-2009, 12:05 AM | #115 |
Junior Member
Posts: 4
Karma: 10
Join Date: Aug 2009
Device: iphone
|
Many thanks, Kovid. That solved my original problem.
|
09-03-2009, 09:02 PM | #116 |
hopeless n00b
Posts: 5,111
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
|
Kovid, thanks so much for adding hierarchical views to the Stanza catalog!
Mucked around the 0.6.10 source code and did some copy/paste/edit to add sort by tag and series. Unfortunately, I have no idea how to submit the code so I'm just posting my modified server.py here. Again, thank you very very much for Calibre! |
09-03-2009, 09:42 PM | #117 |
creator of calibre
Posts: 43,844
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Thanks are due to lbigelow, the category code is his. Can you open a ticket and attach your patch. I'll look at it when I have a moment and taht way I won't forget.
|
09-05-2009, 12:45 AM | #118 |
.
Posts: 3,408
Karma: 5647231
Join Date: Oct 2008
Device: never enough
|
Wow, I just tried this online catalog thing for fun, and it works great! Thanks!
|
|
Similar Threads | ||||
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 |