11-08-2012, 10:33 AM | #301 |
Member
Posts: 21
Karma: 88814
Join Date: Apr 2011
Device: iPad, Kobo Aura 2, Kobo Libra H20
|
I'm having the "No ePub files were updated" problem with the new version, too, but I DID restart! I even tried uninstalling the plugin, restarting Calibre, reinstalling it, then restarting Calibre, and it still isn't working. I'm on OS X. Also, it seemed to save the selected options between the reinstall, so I'm wondering if the config file could be somehow messed up, but I'm not sure where that would be located so as to try removing it...
Here's the log from just trying to "update metadata" on a book: Code:
calibre, version 0.9.5 ERROR: Modify ePub failed: No ePub files were updated Modify ePubs Logfile for book ID 671 (Monster Hunter International / Larry Correia) 671 Modifying: /var/folders/98/kywyffsj22nfpp_85r9f60v40000gn/T/calibre_0.9.5_tmp_pskkvE/5NUF75_modify_epub/671.epub Updating metadata and cover Parsing xml file: content.opf Parsing xml file: toc.ncx ePub not changed after 0.43 seconds Last edited by FrozenTrout; 11-08-2012 at 10:45 AM. |
11-08-2012, 10:47 AM | #302 |
Calibre Plugins Developer
Posts: 4,673
Karma: 2162246
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
Ahhh - I can guess what is happening with that. I will push a fix shortly.
|
Advert | |
|
11-08-2012, 10:54 AM | #303 |
Calibre Plugins Developer
Posts: 4,673
Karma: 2162246
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
v1.3.2 Released
Changes in this release:
|
11-08-2012, 11:00 AM | #304 |
Member
Posts: 21
Karma: 88814
Join Date: Apr 2011
Device: iPad, Kobo Aura 2, Kobo Libra H20
|
Wow, that was a quick response! It's working now, thanks!
|
11-08-2012, 11:27 AM | #305 |
Occassional Beta Tester
Posts: 283
Karma: 3516
Join Date: Nov 2010
Location: Hungary
Device: Samsung Galaxy Tab 4 (wifi only)
|
Hi,
I tried to insert covers into stories (I have no other options checked) and got the following error: Spoiler:
|
Advert | |
|
11-08-2012, 11:42 AM | #306 |
Calibre Plugins Developer
Posts: 4,673
Karma: 2162246
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
v1.3.3 Released
Changes in this release
|
11-08-2012, 12:58 PM | #307 |
Occassional Beta Tester
Posts: 283
Karma: 3516
Join Date: Nov 2010
Location: Hungary
Device: Samsung Galaxy Tab 4 (wifi only)
|
|
11-16-2012, 03:18 PM | #308 |
Calibre Plugins Developer
Posts: 4,673
Karma: 2162246
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
v1.3.4 Released
Changes in this release:
I've emailed Kovid about the issue with an example epub as it looks like an issue with the smarten punctuation code in calibre. I'm sure some of you might have hit this unknowingly as I have - you go to read an epub that you "thought" you had done smarten punctuation on, but are still getting the straight " quotes in it. It looks like if there is an edge case (found with Baen books in my case) where javascript blocks in the html will interfere with the smarten punctuation logic. While the javascript is present, quotes will not get converted. In the case of Modify ePub, if you have both "Smarten punctuation" and "Remove javascript" checked, then it still took two passes, because of the order they executed in. As a workaround I have now switched them around internally, so if both options are checked your books should end up "smartened" in one pass regardless of whether Kovid decides to change the calibre behaviour or not. |
11-21-2012, 04:13 PM | #309 |
Addict
Posts: 254
Karma: 69786
Join Date: May 2006
Location: Oslo, Norway
Device: Kobo Aura, Sony PRS-650
|
Font subsetting?
@kiwidude: Now that Kovid has written font subsetting code for the calibre conversion, would it be perhaps be possible to add font subset functionality to Modify Epub? It seems that his subsetting functions needs stuff to be done to the css as well, but hopefully these changes can be discarded after the new font files are created?
|
11-21-2012, 05:06 PM | #310 |
Calibre Plugins Developer
Posts: 4,673
Karma: 2162246
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
@Man Eating Duck - the code Kovid has written is dependent on having the data structure used by the conversion pipeline that Modify ePub intentionally avoids using. Which means I have to rewrite what he has done basically. Given that it is listed as "experimental" currently if it ever happens then it is only going to be after it has been in calibre for a while longer as I don't want to have to continually be changing my version of it.
|
11-22-2012, 06:55 PM | #311 |
Calibre Plugins Developer
Posts: 4,673
Karma: 2162246
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
v1.3.5 Released
Changes in this release:
I know there are at least a few users out there who put calibre in their workflow only in order to run this plugin to make use of some feature such as removing non DC: metadata or smarten punctuation. I have bundled in the plugin zip file in a commandline subfolder a python script that can be used from the command line to run almost all of the features of this plugin. There are details on the first post of this thread, a readme.txt inside the zip file, an example batch file and more documentation inside the script itself which can also be viewed. So after extracting the me.py file from the zip, to see the help: Code:
calibre-debug -e me.py --help Code:
calibre-debug -e me.py foo.epub --insert_replace_cover "cover.jpg" Code:
calibre-debug -e me.py foo.epub bar.epub --smarten_punctuation --remove_javascript
|
11-23-2012, 06:33 AM | #312 |
Zennist
Posts: 1,022
Karma: 47809468
Join Date: Jul 2010
Device: iPod Touch, Sony PRS-350, Nook HD+ & HD
|
I was wondering if it would be possible to add the ability to change the way an epub displays the cover -- from stretch to fit to preservation of aspect ratio. Currently, if one wants to change that, you have to either convert the epub or manually edit the cover page. Can this be done easily? Oftentimes the way the cover is displayed is the only change I need to make in an epub.
--Pat |
11-23-2012, 06:37 AM | #313 |
Calibre Plugins Developer
Posts: 4,673
Karma: 2162246
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
@PatNY - just change your default setting in Preferences -> Output Options -> EPUB Output by ticking the "Preserve cover aspect ratio" box.
|
11-23-2012, 06:54 AM | #314 |
Zennist
Posts: 1,022
Karma: 47809468
Join Date: Jul 2010
Device: iPod Touch, Sony PRS-350, Nook HD+ & HD
|
Hi kiwidude. My output settings are already set that way. This is for epubs for which I never did a conversion and for which no conversion needs to be made (other than to change the way the cover is displayed). It even includes magazines downloaded -- the covers are usually set to stretch by default.
--Pat |
11-23-2012, 07:48 AM | #315 |
Calibre Plugins Developer
Posts: 4,673
Karma: 2162246
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
Well, that is the setting this plugin uses when you choose the Insert/Replace cover option.
|
Tags |
modify epub |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Quality Check | kiwidude | Plugins | 1197 | 08-05-2024 06:06 AM |
[GUI Plugin] Manage Series | kiwidude | Plugins | 167 | 07-28-2024 03:07 PM |
[GUI Plugin] Open With | kiwidude | Plugins | 403 | 04-01-2024 08:39 AM |
Modify ePub plugin dev thread | kiwidude | Development | 346 | 09-02-2013 05:14 PM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |