Hi Kovid,
I have an unhandled exception with removing unused css rules due to a not existing file.
Is only as information as this is an mistake in the epub and I will adjust this in the book.
Calibre error message:
Spoiler:
calibre, version 1.41.0
ERROR: Unhandled exception: <b>KeyError</b>:u'text/page-template.xpgt'
calibre 1.41* [64bit] isfrozen: True is64bit: True
Windows-Vista-6.0.6002-SP2 Windows ('64bit', 'WindowsPE')
('Windows', 'Vista', '6.0.6002')
Python 2.7.5
Windows: ('Vista', '6.0.6002', 'SP2', 'Multiprocessor Free')
Traceback (most recent call last):
File "c:\home\kovid\work\calibre\src\calibre\gui2\tweak _book\boss.py", line 439, in polish
File "c:\home\kovid\work\calibre\src\calibre\ebooks\oeb \polish\main.py", line 247, in tweak_polish
File "c:\home\kovid\work\calibre\src\calibre\ebooks\oeb \polish\main.py", line 202, in polish_one
File "c:\home\kovid\work\calibre\src\calibre\ebooks\oeb \polish\css.py", line 190, in remove_unused_css
KeyError: u'text/page-template.xpgt'
Error caused by missing file: