Comment 3 for bug 1632897

Revision history for this message
Matthew Kidd (mkidd) wrote :

Okay, here is a related scenario. Run check reports that file foo.jpg is not referenced. Double click (not single click) on said error message such that foo.jpg image is shown in the tabbed document editing pane, delete foo.jpg via Files Browser (i.e. right click on filename and delete). Double click (not single click) again on said error message. Exception will occur.

calibre, version 2.69.0
ERROR: Unhandled exception: <b>KeyError</b>:u'OEBPS/godi_9781101196311_msr_cvt_r1.jpg'

calibre 2.69 [64bit] embedded-python: True is64bit: True
Windows-7-6.1.7601-SP1 Windows ('64bit', 'WindowsPE')
('Windows', '7', '6.1.7601')
Python 2.7.9
Windows: ('7', '6.1.7601', 'SP1', 'Multiprocessor Free')
Traceback (most recent call last):
  File "site-packages\calibre\gui2\tweak_book\boss.py", line 67, in ans
  File "site-packages\calibre\gui2\tweak_book\boss.py", line 1175, in check_item_activated
KeyError: u'OEBPS/godi_9781101196311_msr_cvt_r1.jpg'