Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 08-23-2009, 03:47 PM   #106
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
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.
Attached Files
File Type: txt debug_OSX.txt (997 Bytes, 304 views)
yankeespitfire is offline   Reply With Quote
Old 08-23-2009, 03:51 PM   #107
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
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?
kovidgoyal is online now   Reply With Quote
Advert
Old 08-23-2009, 03:58 PM   #108
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
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.
yankeespitfire is offline   Reply With Quote
Old 08-23-2009, 04:10 PM   #109
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
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.
kovidgoyal is online now   Reply With Quote
Old 08-24-2009, 11:48 AM   #110
ghyatt
Junior Member
ghyatt began at the beginning.
 
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;
}

Quote:
Originally Posted by kovidgoyal View Post
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.
ghyatt is offline   Reply With Quote
Advert
Old 08-24-2009, 11:52 AM   #111
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
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
Attached Files
File Type: zip server.zip (6.3 KB, 367 views)
kovidgoyal is online now   Reply With Quote
Old 08-24-2009, 01:03 PM   #112
ghyatt
Junior Member
ghyatt began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Aug 2009
Device: iPhone
Thank you

Thank you, that works great..
ghyatt is offline   Reply With Quote
Old 08-24-2009, 01:11 PM   #113
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
That did the trick nicely. Many Thanks!!
yankeespitfire is offline   Reply With Quote
Old 08-25-2009, 04:53 AM   #114
TomHiggins
Emonk
TomHiggins began at the beginning.
 
TomHiggins's Avatar
 
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
TomHiggins is offline   Reply With Quote
Old 08-29-2009, 12:05 AM   #115
jseligma
Junior Member
jseligma began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Aug 2009
Device: iphone
Many thanks, Kovid. That solved my original problem.
jseligma is offline   Reply With Quote
Old 09-03-2009, 09:02 PM   #116
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
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!
Attached Files
File Type: zip server.zip (6.5 KB, 259 views)
ilovejedd is offline   Reply With Quote
Old 09-03-2009, 09:42 PM   #117
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
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.
kovidgoyal is online now   Reply With Quote
Old 09-05-2009, 12:45 AM   #118
kjk
.
kjk ought to be getting tired of karma fortunes by now.kjk ought to be getting tired of karma fortunes by now.kjk ought to be getting tired of karma fortunes by now.kjk ought to be getting tired of karma fortunes by now.kjk ought to be getting tired of karma fortunes by now.kjk ought to be getting tired of karma fortunes by now.kjk ought to be getting tired of karma fortunes by now.kjk ought to be getting tired of karma fortunes by now.kjk ought to be getting tired of karma fortunes by now.kjk ought to be getting tired of karma fortunes by now.kjk ought to be getting tired of karma fortunes by now.
 
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!
kjk is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 08:03 PM.


MobileRead.com is a privately owned, operated and funded community.