I've been using this plug-in for a while now and haven't had any issues until tonight. I was looking at the metadata jacket and wanted to add taht to some of my files that I was going to provide a friend of mine with. So I ran it on a couple of files with no problems, saw what it looked like, and then edited the template.xhtml and stylesheet.css files to match what I wanted. Now when I run modify epub with the option to add/replace the jacket it provides an error and will not update the file.
Code:
calibre, version 1.3.0
ERROR: Modify ePub failed: No ePub files were updated
Modify ePubs
Logfile for book ID 117 (The Assassin and the Pirate Lord / Sarah J. Maas)
117
Modifying: D:\- - ! Temp Files ! - -\Temp Files\calibre_ykft0n\14kqyk_modify_epub\117.epub
Parsing xml file: ops/9781599909547.opf
Parsing xml file: ops/toc.ncx
Looking for files to remove: [u'iTunesMetadata.plist', u'iTunesArtwork']
Looking for files to remove: [u'META-INF/calibre_bookmarks.txt']
Looking for files to remove: [u'.DS_Store', u'thumbs.db']
Looking for unused images
Looking for broken links in the NCX
Looking for Adobe xpgt files and links to remove
Looking for Adobe DRM meta tags to remove
Adding or updating jacket
The Assassin and the Pirate Lord - ERROR: Traceback (most recent call last):
File "calibre_plugins.modify_epub.modify", line 73, in process_book
File "calibre_plugins.modify_epub.modify", line 155, in _process_book
File "calibre_plugins.modify_epub.jacket", line 16, in add_replace_jacket
File "site-packages\calibre\ebooks\oeb\transforms\jacket.py", line 259, in render_jacket
File "site-packages\calibre\ebooks\oeb\transforms\jacket.py", line 221, in generate_html
KeyError: u'_subseries'
ePub not changed after 0.25 seconds
Does the plug-in not allow for these files to be edited or is this a bug in the plugin?