View Single Post
Old 03-12-2021, 03:15 PM   #1566
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,613
Karma: 169712392
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Running 1.62 on the epub after I updated the metadata and cover, gave an error message:

Spoiler:
Code:
calibre, version 5.13.0
ERROR: Modify ePub failed: No ePub files were updated

Modify ePubs version (1, 6, 2)
Logfile for book ID 10609 (Grantville Gazette, Volume 94 / Bjorn Hasseler)
Job details 10609

  Modifying:  C:\Users\David\AppData\Local\Temp\calibre_y9es3p9c\fdku4a4__modify_epub\10609.epub
	Updating metadata and cover
	  Parsing xml file: content.opf
	Looking for Adobe xpgt files and links to remove
	Looking for pagemaps
	Looking for Google Play pagemaps
	Looking for Adobe DRM meta tags to remove
	Looking for all jackets
	Looking for inline javascript blocks to remove
	Looking for .js files to remove
	Applying smarten punctuation
	  Smartened punctuation in: contents.xhtml
	  Smartened punctuation in: index_03.xhtml
	  Smartened punctuation in: index_04.xhtml
	  Smartened punctuation in: index_05.xhtml
	  Smartened punctuation in: index_06.xhtml
	  Smartened punctuation in: index_07.xhtml
	  Smartened punctuation in: index_08.xhtml
	  Smartened punctuation in: index_09.xhtml
	  Smartened punctuation in: index_10.xhtml
	  Smartened punctuation in: index_11.xhtml
	  Smartened punctuation in: nav.xhtml
	Stripping Kobo remnants
	  Stripped Kobo spans in: index_02.xhtml
	  Stripped Kobo spans in: index_03.xhtml
	  Stripped Kobo spans in: index_04.xhtml
	  Stripped Kobo spans in: index_05.xhtml
	  Stripped Kobo spans in: index_06.xhtml
	  Stripped Kobo spans in: index_07.xhtml
	  Stripped Kobo spans in: index_08.xhtml
	  Stripped Kobo spans in: index_09.xhtml
	  Stripped Kobo spans in: index_10.xhtml
	  Stripped Kobo spans in: index_11.xhtml
	Looking for files to remove: ['iTunesMetadata.plist', 'iTunesArtwork']
	Looking for files to remove: ['META-INF/calibre_bookmarks.txt']
	Looking for files to remove: ['.DS_Store', 'thumbs.db']
	Looking for unused images
	Stripping spans
	Insert or replace cover
	...Looking for guide cover reference
	...Looking for meta cover
	  Found meta tag with cover id: titlepage
	  Meta item removed: cover
	...Looking for other.ms-* guide references to clean out
	...Working with possible existing cover: titlepage.xhtml
	...Looking for TOC navpoint for this cover
Grantville Gazette, Volume 94 - ERROR: Traceback (most recent call last):
  File "calibre_plugins.modify_epub.modify", line 78, in process_book
  File "calibre_plugins.modify_epub.modify", line 204, in _process_book
  File "calibre_plugins.modify_epub.modify", line 897, in _insert_replace_cover
  File "calibre_plugins.modify_epub.covers", line 59, in insert_or_replace_cover
  File "calibre_plugins.modify_epub.covers", line 141, in _get_and_clean_existing_cover_item
  File "calibre_plugins.modify_epub.container", line 308, in get_toc_navpoint_content
AttributeError: 'NoneType' object has no attribute 'xpath'

ePub not changed after 1.57 seconds


Updating back to 1.6.3, Modify Epub worked with the following log:
Spoiler:

Code:
Modify ePubs version (1, 6, 3)
Logfile for book ID 10609 (Grantville Gazette, Volume 94 / Bjorn Hasseler)
Job details 10609
  Modifying:  C:\Users\David\AppData\Local\Temp\calibre_y9es3p9c\t_6pr_jp_modify_epub\10609.epub
	Updating metadata and cover
	  Parsing xml file: content.opf
	Looking for Adobe xpgt files and links to remove
	Looking for pagemaps
	Looking for Google Play pagemaps
	Looking for Adobe DRM meta tags to remove
	Looking for all jackets
	Looking for inline javascript blocks to remove
	Looking for .js files to remove
	Applying smarten punctuation
	  Smartened punctuation in: contents.xhtml
	  Smartened punctuation in: index_03.xhtml
	  Smartened punctuation in: index_04.xhtml
	  Smartened punctuation in: index_05.xhtml
	  Smartened punctuation in: index_06.xhtml
	  Smartened punctuation in: index_07.xhtml
	  Smartened punctuation in: index_08.xhtml
	  Smartened punctuation in: index_09.xhtml
	  Smartened punctuation in: index_10.xhtml
	  Smartened punctuation in: index_11.xhtml
	  Smartened punctuation in: nav.xhtml
	Stripping Kobo remnants
	  Stripped Kobo spans in: index_02.xhtml
	  Stripped Kobo spans in: index_03.xhtml
	  Stripped Kobo spans in: index_04.xhtml
	  Stripped Kobo spans in: index_05.xhtml
	  Stripped Kobo spans in: index_06.xhtml
	  Stripped Kobo spans in: index_07.xhtml
	  Stripped Kobo spans in: index_08.xhtml
	  Stripped Kobo spans in: index_09.xhtml
	  Stripped Kobo spans in: index_10.xhtml
	  Stripped Kobo spans in: index_11.xhtml
	Looking for files to remove: ['iTunesMetadata.plist', 'iTunesArtwork']
	Looking for files to remove: ['META-INF/calibre_bookmarks.txt']
	Looking for files to remove: ['.DS_Store', 'thumbs.db']
	Looking for unused images
	Stripping spans
	Insert or replace cover
	...Looking for guide cover reference
	...Looking for meta cover
	  Found meta tag with cover id: titlepage
	  Meta item removed: cover
	...Looking for other.ms-* guide references to clean out
	...Working with possible existing cover: titlepage.xhtml
	...Looking for TOC navpoint for this cover
	  No NCX found
	...Inspecting old cover for removal
	  Cover page contains only this image so can be deleted
	  Manifest item removed: titlepage.xhtml (titlepage)
	  Spine itemref removed: titlepage
	  Checking safe to remove cover image: cover.jpeg
	  No other html pages use this image, safe to remove
	  Manifest item removed: cover.jpeg (cover)
	...Writing new cover image and titlepage html
	  New cover image written to: cover.jpeg
	  New titlepage html written to: titlepage.xhtml
	...Updating manifest and TOC for the new cover
	  Manifest item added: titlepage.xhtml (titlepage)
	  Manifest item added: cover.jpeg (cover)
	  Meta item inserted: cover:cover
	  Spine item inserted: titlepage at pos: 0
	  No guide parent element found - inserting one
	  Guide item inserted: titlepage.xhtml:Cover:cover
	...Remove any orphaned guide images
	...Apply device specific fixes
	...Cover modifications completed
ePub updated in 1.21 seconds
DNSB is offline   Reply With Quote