View Single Post
Old 01-26-2014, 08:50 PM   #1
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,079
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Unhandled Exception

W7 HP x64

When I try and validate

Code:
calibre, version 1.21.0
ERROR: Unhandled exception: <b>KeyError</b>:u'OEBPS/images/03.png'

calibre 1.21 [64bit]  isfrozen: True is64bit: True
Windows-7-6.1.7601-SP1 Windows ('64bit', 'WindowsPE')
('Windows', '7', '6.1.7601')
Python 2.7.5
Windows: ('7', '6.1.7601', 'SP1', 'Multiprocessor Free')
Traceback (most recent call last):
  File "site-packages\calibre\gui2\tweak_book\boss.py", line 73, in ans
  File "site-packages\calibre\gui2\tweak_book\boss.py", line 891, in check_requested
  File "site-packages\calibre\gui2\tweak_book\check.py", line 167, in run_checks
  File "site-packages\calibre\ebooks\oeb\polish\check\main.py", line 61, in run_checks
  File "site-packages\calibre\ebooks\oeb\polish\check\links.py", line 137, in check_links
  File "site-packages\calibre\ebooks\oeb\polish\check\links.py", line 137, in <setcomp>
KeyError: u'OEBPS/images/03.png'
I did a bulk import of 31 chapter # images.
I placed the corresponding code in each chapter. The preview looks good for all chapters.

Odd thing I noticed in the OPF
one image items in the Manifest (not 3) had id-"id" where all the rest had "id<number>"
theducks is offline   Reply With Quote