![]() |
#301 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,964
Karma: 147448039
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#302 |
Calibre Plugins Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,732
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
True.
![]() Look at the whats new with every calibre releases and there are frequently regression fixes, even an uber experienced full-time Python guru like Kovid gets tripped up - so that doesn't leave much chance for the rest of us without even more time/effort. We are definitely close on this release though... |
![]() |
![]() |
Advert | |
|
![]() |
#303 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,964
Karma: 147448039
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
One thing I thought I may have scene once was the original cover XML left behind. But my last test looking for it did not find that had happened. So I'll do some more testing and see what I can break next.
|
![]() |
![]() |
![]() |
#304 |
Calibre Plugins Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,732
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
Cool, let me know. The conditions on which it will keep an existing cover xml page are based around (a) whether it has any *other* images on that page, and (b) whether there is any text content on that page. If either of those conditions are true, then rather than removing the whole page it just removes the link to the cover image and leaves the rest of the page as is.
So if you have an ePub that doesn't have a "real" cover page, but incorrectly (Sigil can cause this issue) has marked the first page semantically as a cover, you don't lose any text content from the book. I have seen this happen with calibre conversions in the past, I believe it has been fixed now with the same sort of logic. Edit: I should add, this is all assuming the plugin is able to "identify" the existing cover page. If there are no guide entries indicating a cover, or no meta tag entries pointing to an image, then it won't know what page the existing cover is. So it will just add a new page at the front, just like a calibre conversion does. These are the really badly published epubs, that hopefully are in the minority. Last edited by kiwidude; 05-29-2012 at 05:31 PM. |
![]() |
![]() |
![]() |
#305 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,123
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
![]()
The latest run against a EPUB that I Sigil edited and passed FC
Spoiler:
|
![]() |
![]() |
Advert | |
|
![]() |
#306 |
Calibre Plugins Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,732
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
@theducks - you are running an older beta, I fixed this issue yesterday. Try again with the new beta in post #182. If you think you upgraded, did you remember to restart calibre?
|
![]() |
![]() |
![]() |
#307 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,123
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
I Uninstalled the PI I restarted Calibre (the Modify Icon is gone) I downloaded the file from post 181 installed the PI Restarted Calibre (the Icon now shows) Same book, same error (3 seconds longer) Spoiler:
Version 1.1.8 - 27 May 2012 (Beta) Change to require minimum calibre version 0.8.53 in order to utilise some calibre bug fixes/changes Change to calibre API for deprecated dialog in 0.8.49 which caused issues that intermittently crashed calibre on Mac OS Add a "Insert or replace cover" option to attempt to insert or replace a cover without doing a conversion Add a "Remove cover" option to attempt to completely remove an identified cover from the ePub. Rewrite "Removed unused image files" and "Remove broken cover images" features to use lxml rather than regex for better accuracy Add protection for numerous options against trying to apply them to a DRM encrypted book Better handle ebooks where the ncx file is not in same directory as opf manifest Last edited by theducks; 05-29-2012 at 07:09 PM. Reason: change log note |
|
![]() |
![]() |
![]() |
#308 |
Calibre Plugins Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,732
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
Ok, thats a different error - the one you had previously was most definitely from the old code (I can tell by the error messages).
However the latest error you just posted is also something I fixed yesterday. But in transferring the files between work and home this morning it seems I missed one and so that fix got reverted, the joys of ad hoc "source control"... New version posted above, I'm going to bed, clearly I need sleep. |
![]() |
![]() |
![]() |
#309 |
Occassional Beta Tester
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 284
Karma: 3516
Join Date: Nov 2010
Location: Hungary
Device: none
|
I just updated to your latest beta, restarted calibre, tried to insert covers into books and got the following error. (With an FFDL updated epub ebook.)
Spoiler:
Last edited by Firedancer885; 05-30-2012 at 10:11 AM. Reason: spoiler |
![]() |
![]() |
![]() |
#310 |
Calibre Plugins Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,732
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
@Firedancer885 - thx for reporting that. New build on the beta post above.
|
![]() |
![]() |
![]() |
#311 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,964
Karma: 147448039
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#312 |
Calibre Plugins Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,732
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
@JSWolf - I think I did, though the change notes won't reflect it, I don't bother with updating those for bug-fixes related to new features, it will all get cleaned up when I officially release 1.2.0.
Anyone who has installed one of the beta versions along the way should make sure they are using that version posted above, with I think is set to 1.1.10. I'm going to officially release it tomorrow night in all probability unless anyone comes up with an example epub cover situation I haven't correctly handled before then. |
![]() |
![]() |
![]() |
#313 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,964
Karma: 147448039
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I've just found one bug that's in need of fixing. The link to the cover in the internal ToC was not updated.
One feature request... When there already exists a cover XML file, it would be good to have the plugin keep the same file name as the existing cover XML. Last edited by JSWolf; 05-31-2012 at 11:19 AM. |
![]() |
![]() |
![]() |
#314 |
Occassional Beta Tester
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 284
Karma: 3516
Join Date: Nov 2010
Location: Hungary
Device: none
|
|
![]() |
![]() |
![]() |
#315 | ||
Calibre Plugins Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,732
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Any web-to-epub plugin for internet browser? | bthoven | ePub | 7 | 07-10-2011 05:14 AM |
[Old Thread] Reading epub on viewer inexplicably changes the time stamp of epub | greenapple | Library Management | 20 | 03-19-2011 10:18 PM |
Easy way to modify thread subscription emails in bulk? | snipenekkid | Feedback | 11 | 02-06-2011 03:47 AM |
Another plugin dev question | DiapDealer | Plugins | 2 | 12-11-2010 01:46 PM |
Epub plugin dev | DiapDealer | Plugins | 15 | 11-12-2010 09:36 AM |