Quote:
Originally Posted by BeckyEbook
Modified version of the Modify EPUB plugin with the added ability to delete page-map.xml files.
|
The plugin does not work for me. I tested it on 6 books and the error log posted is pretty much the same for all of them. The KeyError: u'remove_page_map' error looks suspiciously like it relates to the changes for page-map.xml files.
Code:
calibre, version 3.12.0
ERROR: Modify ePub failed: No ePub files were updated
Modify ePubs
Logfile for book ID 4085 (Alphabet Soup / Ann Onymous)
4085
Modifying: C:\Users\David\AppData\Local\Temp\calibre_t_57ch\rcqvps_modify_epub\4085.epub
Parsing xml file: content.opf
Parsing xml file: toc.ncx
Looking for files to remove: [u'iTunesMetadata.plist', u'iTunesArtwork']
Looking for files to remove: [u'META-INF/calibre_bookmarks.txt']
Found file to remove: META-INF/calibre_bookmarks.txt
Looking for files to remove: [u'.DS_Store', u'thumbs.db']
Alphabet Soup - ERROR: Traceback (most recent call last):
File "calibre_plugins.modify_epub.modify", line 80, in process_book
File "calibre_plugins.modify_epub.modify", line 133, in _process_book
KeyError: u'remove_page_map'
ePub not changed after 0.59 seconds
Edit: After updating to Calibre 3.13.0, I re-ran Modify Epub against the same files and no errors.