|
|
#301 |
|
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Apr 2011
Device: iPad
|
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. |
|
|
|
|
|
#302 |
|
calibre/Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,089
Karma: 1211092
Join Date: Oct 2010
Location: London, UK
Device: Kindle 3 3G, iPad 2, iPad 3
|
Ahhh - I can guess what is happening with that. I will push a fix shortly.
__________________
Like my calibre plugins or Sigil work? Say thanks with PayPal |
|
|
|
|
Enthusiast
|
|
|
|
#303 |
|
calibre/Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,089
Karma: 1211092
Join Date: Oct 2010
Location: London, UK
Device: Kindle 3 3G, iPad 2, iPad 3
|
v1.3.2 Released
Changes in this release:
__________________
Like my calibre plugins or Sigil work? Say thanks with PayPal |
|
|
|
|
|
#304 |
|
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Apr 2011
Device: iPad
|
Wow, that was a quick response! It's working now, thanks!
|
|
|
|
|
|
#305 |
|
Occassional Beta Tester
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 121
Karma: 1162
Join Date: Nov 2010
Location: Hungary
Device: Samsung Galaxy Tab
|
Hi,
![]() I tried to insert covers into stories (I have no other options checked) and got the following error: Spoiler:
|
|
|
|
|
|
#306 |
|
calibre/Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,089
Karma: 1211092
Join Date: Oct 2010
Location: London, UK
Device: Kindle 3 3G, iPad 2, iPad 3
|
v1.3.3 Released
Changes in this release
__________________
Like my calibre plugins or Sigil work? Say thanks with PayPal |
|
|
|
|
|
#307 |
|
Occassional Beta Tester
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 121
Karma: 1162
Join Date: Nov 2010
Location: Hungary
Device: Samsung Galaxy Tab
|
|
|
|
|
|
|
#308 |
|
calibre/Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,089
Karma: 1211092
Join Date: Oct 2010
Location: London, UK
Device: Kindle 3 3G, iPad 2, iPad 3
|
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.
__________________
Like my calibre plugins or Sigil work? Say thanks with PayPal |
|
|
|
|
|
#309 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 207
Karma: 64000
Join Date: May 2006
Location: Oslo, Norway
Device: 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?
|
|
|
|
|
|
#310 |
|
calibre/Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,089
Karma: 1211092
Join Date: Oct 2010
Location: London, UK
Device: Kindle 3 3G, iPad 2, iPad 3
|
@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.
__________________
Like my calibre plugins or Sigil work? Say thanks with PayPal |
|
|
|
|
|
#311 |
|
calibre/Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,089
Karma: 1211092
Join Date: Oct 2010
Location: London, UK
Device: Kindle 3 3G, iPad 2, iPad 3
|
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
__________________
Like my calibre plugins or Sigil work? Say thanks with PayPal |
|
|
|
|
|
#312 |
|
Zennist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 508
Karma: 44758120
Join Date: Jul 2010
Device: iPod Touch, Sony PRS-350
|
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 |
|
|
|
|
|
#313 |
|
calibre/Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,089
Karma: 1211092
Join Date: Oct 2010
Location: London, UK
Device: Kindle 3 3G, iPad 2, iPad 3
|
@PatNY - just change your default setting in Preferences -> Output Options -> EPUB Output by ticking the "Preserve cover aspect ratio" box.
__________________
Like my calibre plugins or Sigil work? Say thanks with PayPal |
|
|
|
|
|
#314 |
|
Zennist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 508
Karma: 44758120
Join Date: Jul 2010
Device: iPod Touch, Sony PRS-350
|
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 |
|
|
|
|
|
#315 |
|
calibre/Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,089
Karma: 1211092
Join Date: Oct 2010
Location: London, UK
Device: Kindle 3 3G, iPad 2, iPad 3
|
Well, that is the setting this plugin uses when you choose the Insert/Replace cover option.
__________________
Like my calibre plugins or Sigil work? Say thanks with PayPal |
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [GUI Plugin] Quality Check | kiwidude | Plugins | 631 | 05-10-2013 04:10 PM |
| [GUI Plugin] Manage Series | kiwidude | Plugins | 105 | 05-06-2013 01:43 PM |
| [GUI Plugin] Open With | kiwidude | Plugins | 183 | 04-22-2013 02:25 PM |
| Modify ePub plugin dev thread | kiwidude | Development | 343 | 11-22-2012 07:35 AM |
| [GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |