Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Related Tools

Notices

Reply
 
Thread Tools Search this Thread
Old 03-05-2011, 06:15 AM   #346
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
It is already being looked at. If you had looked at the bug list on the Calibre project page (https://bugs.launchpad.net/calibre2opds) you would see that this is down as an "in progress" item. The way we are intending to implement this feature is to let the main generation happen unchanged to the TEMP folder on the local machine. The Copy phase is then optimised to avoid copying any newly generated files whose content is identical to the previous run. This approach is being used as detecting that a file WOULD be unchanged before we even attempt to generate it is too hard..

The current status is that the code to this in place and appears to work. Items intended to complete this change are:
  • Make it an optional feature. At the moment it is not optional, and as it adds to the time taken to generate the catalog all users may not want this feature on by default.
  • Look at ways of reducing the costs at the catalog generation stage, possibly by cachng results during runs. We may make the first release without this being implemented so that we can get user feedback on the effectiveness of the feature in their particular environments.

Look for this feature to be avaiable therefore in beta 4.

If anyone is interested in looking at the current change without the extra work mentioned above, then they are welcome to check the source code out of launchpad and build calibre2opds on their own machine. If nothing else that would help check out how complete the documentation (https://wiki.mobileread.com/wiki/Calibre2OpdsDevelop) is for setting up ones own development environment for calibre2opds.

Last edited by itimpi; 03-05-2011 at 06:25 AM.
itimpi is online now   Reply With Quote
Old 03-06-2011, 04:27 PM   #347
bakker_be
Junior Member
bakker_be began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Mar 2011
Device: iPad 1, Acer Iconia Tab A700
CBR not downloadable in Stanza

Hi there, I just installed 2.4b3 for it's ability to include CBR in the catalog, but I can't download them in Stanza on my Ipad. I'm getting a 404-error.
Using Safari on the Ipad I can download the same file, but it doesn't get added to the library, only to the "downloaded" and the "recent reads"sections.
I used calibre2opds in publish mode to my apache web server.
bakker_be is offline   Reply With Quote
Advert
Old 03-07-2011, 11:46 AM   #348
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
Quote:
Originally Posted by bakker_be View Post
Hi there, I just installed 2.4b3 for it's ability to include CBR in the catalog, but I can't download them in Stanza on my Ipad. I'm getting a 404-error.
I just tried this, and it is working fine for me.

It is worth checking:
- That the book file in question is at the the expected destination
- The path/filename for the book has identical case to the entry in the Calibre database. The Apache system is almost certainly case sensitive, and dependng on what system was running calibre and/or Calibre2Opds there may be a case mismatch. However since you said the HTML link worked I am not sure if this is the issue. The apache log might help as it should allow you to see exactly what filename was being requested.

Quote:
Using Safari on the Ipad I can download the same file, but it doesn't get added to the library, only to the "downloaded" and the "recent reads"sections.
This appears to be a Stanza issue of some sort. I found that I could quite happily open the book and read it even though it was not listed where I thought it would be. It appears that for this type of book, Stanza does not set the author correctly when downloaded in this way.
itimpi is online now   Reply With Quote
Old 03-09-2011, 03:22 AM   #349
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
Quote:
Originally Posted by Coleccionista View Post
First, I indicate the catalog to be created at H:\foo, (basefolder) and _catalog as name.
calibre2opds puts the author folders one level above the _catalog and in the process of creating the catalog deleted all the previous contents of H:\foo without warning.
I have been trying to recreate this issue without success. I am finding that the contents of _catalog are cleared (which is expected behavior), but that any existing contents of H:\foo are left intact. Maybe I need a bit more information on the settings you are using to recreate the issue. In particular things like the mode you are using and the settings for source and target.

Quote:
Also the catalog got created but the first time all the covers appeared as red X (missing) in the browser , I created the same catalog again and the second time covers appeared. :-?
i am also having some problems re-creating this issue, so maybe there is a step I am missing that causes it?

Quote:
Other than that I'd like the folder structure to have one top-level "index.html" and then subfolders so you don't have to go through "subfolder_name/index.html" or create a intermediate /index.html to load the "subfolder_name/index.html"
I am not sure this will be an issue if the H:\foo level content is left intact as once you have created the index.html file pointing to the _catalog level it should remain there for future use.
itimpi is online now   Reply With Quote
Old 03-09-2011, 07:09 AM   #350
bakker_be
Junior Member
bakker_be began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Mar 2011
Device: iPad 1, Acer Iconia Tab A700
The strangest thing is that if I enable the Calibre content server and download the same file, it gets added to the correct sections in Stanza ...
bakker_be is offline   Reply With Quote
Advert
Old 03-11-2011, 09:28 PM   #351
iandix
Addict
iandix is far more humble than you.iandix is far more humble than you.iandix is far more humble than you.iandix is far more humble than you.iandix is far more humble than you.iandix is far more humble than you.iandix is far more humble than you.iandix is far more humble than you.iandix is far more humble than you.iandix is far more humble than you.iandix is far more humble than you.
 
iandix's Avatar
 
Posts: 295
Karma: 109308
Join Date: Dec 2009
Location: NSW Australia
Device: nook touch a Nook 3g (rooted) and a nookcolor (rooted)
I don't know if this problem is something with just me ...but

I have been using Aldiko on my nookcolor with no problem for a while and upgraded to the premium version, just recently, because I believed the developers deserved the money. Then a few days I ago I received an updated version of Aldiko premium and after that I have a problem with my opds catalogue.

It appears to display fine, but it will only ever display the first 25 books (under series, tag or whatever) It now does not display the pages that have been split after 25.

Has anyone else noticed this??

... I'm using the latest beta version calibre2opds
iandix is offline   Reply With Quote
Old 03-12-2011, 01:26 AM   #352
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
I personally do not have a system that can run Aldiko so I can test for this issue. However I would strongly suspect it is an Aldiko issue.

Another reader app (Quickreader on Apple devices) exhibited similar behavior. As I had contact with the developer, I was able to give him access to my personal ebook library so that the problem could be investigated. Once this was done, the problem was quickly identified as a bug in the Quickreader code for processing the link to the next page as there had been a small (legitimate) change to the URL format introduced as part of conforming to the latest OPDS speification. The latest version of Quickreader incorporates this fix and now handles the next page perfectly when working with calibre2opds catalogs.

I suspect that Aldiko has a similar bug that will need fixing by the developer.
itimpi is online now   Reply With Quote
Old 03-12-2011, 06:34 AM   #353
jhempel24
Wizard
jhempel24 ought to be getting tired of karma fortunes by now.jhempel24 ought to be getting tired of karma fortunes by now.jhempel24 ought to be getting tired of karma fortunes by now.jhempel24 ought to be getting tired of karma fortunes by now.jhempel24 ought to be getting tired of karma fortunes by now.jhempel24 ought to be getting tired of karma fortunes by now.jhempel24 ought to be getting tired of karma fortunes by now.jhempel24 ought to be getting tired of karma fortunes by now.jhempel24 ought to be getting tired of karma fortunes by now.jhempel24 ought to be getting tired of karma fortunes by now.jhempel24 ought to be getting tired of karma fortunes by now.
 
jhempel24's Avatar
 
Posts: 2,157
Karma: 7068605
Join Date: Dec 2007
Device: Amazon Kindle Paperwhite, B&N Nook Colro
I think it was mentioned in an above post that it wasn't setup to do that. But you could specify tags. I don't know if that would remove the already created catalog. I just create a catalog once a week. It doesn't seem to me that its a huge deal.
jhempel24 is offline   Reply With Quote
Old 03-29-2011, 05:44 AM   #354
Nine989
Ebook Destroyer
Nine989 began at the beginning.
 
Nine989's Avatar
 
Posts: 43
Karma: 10
Join Date: Oct 2008
Location: Spain
Device: PRS-505 - Kindle 2 - Kindle Dx
Hi

I keep getting this error when generating the catalogue. It happens since I updated to calibre v 0.7.52. Does anyone one know what to do?

Nine989 is offline   Reply With Quote
Old 03-29-2011, 05:51 AM   #355
dpierron
calibre2opds guru
dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.
 
dpierron's Avatar
 
Posts: 533
Karma: 8792
Join Date: Aug 2005
Location: Metz, France
Device: iPhone, iPad, PRS-650
Hi,

It seems that there is a bug in our code, when a book has no publication date. We'll correct it ASAP. In the meantime, please check that all your books that have a publisher also have a publication date...

All best,
David.
dpierron is offline   Reply With Quote
Old 03-29-2011, 07:16 AM   #356
Nine989
Ebook Destroyer
Nine989 began at the beginning.
 
Nine989's Avatar
 
Posts: 43
Karma: 10
Join Date: Oct 2008
Location: Spain
Device: PRS-505 - Kindle 2 - Kindle Dx
Thank you so much. It was driving me crazy.
Nine989 is offline   Reply With Quote
Old 03-31-2011, 04:25 PM   #357
Nine989
Ebook Destroyer
Nine989 began at the beginning.
 
Nine989's Avatar
 
Posts: 43
Karma: 10
Join Date: Oct 2008
Location: Spain
Device: PRS-505 - Kindle 2 - Kindle Dx
Sorry to post this again, but it seems I keep getting the same error. It didn't happen for a while, but it seems it has returned. Are you sure the problem is with the publishing date of a specific ebook?
Nine989 is offline   Reply With Quote
Old 03-31-2011, 07:01 PM   #358
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
I think it has to be. The line of code quoted in the error message is one where the publication date is being retrieved - and that is only done if the publisher is set. The code did not allow for the case where the publisher was set but the date was not.

This has now been fixed so that if no date has been specified it returns the current date and continues rather than aborting. I was wondering if some other date value would be better in this case, but that was pragmatic and easy. A warning message is also now written to the log file giving the title of the book that had the issue to help with finding and correcting it.

I am not sure if Dave Pierron is going to find pressure of work interferring with getting the next beta out. If you want to PM me an email address I could send you an unoffical build with this fix (and others included) prior to beta 4 being generally available.

Last edited by itimpi; 03-31-2011 at 07:06 PM.
itimpi is online now   Reply With Quote
Old 04-01-2011, 07:02 AM   #359
Nine989
Ebook Destroyer
Nine989 began at the beginning.
 
Nine989's Avatar
 
Posts: 43
Karma: 10
Join Date: Oct 2008
Location: Spain
Device: PRS-505 - Kindle 2 - Kindle Dx
Thanks! I have sent you a message.
Nine989 is offline   Reply With Quote
Old 04-01-2011, 08:16 AM   #360
sdspieg
Connoisseur
sdspieg began at the beginning.
 
Posts: 54
Karma: 10
Join Date: Jun 2009
Device: Nook, Kindle 3
Does this mean that the beta 4 is close to public release? With also the changes you talked about with respect to the incremental update (with the \Temp folder solution)?

-Stephan
sdspieg is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre->Calibre2Opds->Fbreader Network Library - No Download Icon boredsysadmin Calibre 2 01-16-2011 08:00 PM
Your personal online OPDS-library wdonne Self-Promotions by Authors and Publishers 9 01-04-2011 03:34 AM
Calibre, calibre2opds,and NOOK - best way to keep catalog up to date? rubyv Calibre 8 09-01-2010 12:16 AM
Call for comments: OPDS Catalogs 0.9 draft (open catalog standard ebooks) zelda_pinwheel News 4 05-14-2010 01:02 PM


All times are GMT -4. The time now is 04:24 PM.


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