View Single Post
Old 09-01-2013, 08:20 AM   #498
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by kiwidude View Post
@BetterRed - you get the same error as DoctorOhh you mean? Or the same error as mob and ottischwenk reported?

@DoctorOhh - Thanks, I can replicate your issue from looking at the code, that is an easy fix. It comes if you do not have any extra css specified in your preference defaults.
Same as DoctorOhh I think - here you go

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

Modify ePubs
Logfile for book ID 41 (Test Epub / 4 kiwidude)
41
  Modifying:  C:\CalibreTemp\calibre_6nnbzo\7_ny9k_modify_epub\41.epub
	Updating metadata and cover
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']
	Looking for files to remove: [u'.DS_Store', u'thumbs.db']
	Looking for unused images
	Looking for redundant entries in manifest
	Looking for unmanifested files
	Looking for NCX to flatten
	  No nested navPoints
	Looking for broken links in the NCX
	Looking for Adobe xpgt files and links to remove
	Looking for Adobe DRM meta tags to remove
	Looking for all jackets
	Looking for embedded fonts
	Looking for css @font-face style declarations
	Looking for inline @font-face style declarations
	Looking for CSS margins
	Looking for extra CSS to append
Test Epub - ERROR: Traceback (most recent call last):
  File "calibre_plugins.modify_epub.modify", line 73, in process_book
  File "calibre_plugins.modify_epub.modify", line 165, in _process_book
TypeError: unsupported operand type(s) for |=: 'bool' and 'NoneType'

ePub not changed after 0.15 seconds
BetterRed is offline   Reply With Quote