Check Book in Edit Book end with Unhandled exception

Bug #1272769 reported by William Bello on 2014-01-25
This bug affects 2 people
Affects Status Importance Assigned to Milestone

Bug Description

I have 3.2MB ePub book. When I open it in Edit Book and click on Check Book it display dialog:
ERROR: Unhandled exception
Copy to clipboard ->

calibre, version 1.21.0
ERROR: Unhandled exception: <b>KeyError</b>:u'OEBPS/Text'

calibre 1.21 isfrozen: True is64bit: True
Darwin-13.0.0-x86_64-i386-64bit Darwin ('64bit', '')
('Darwin', '13.0.0', 'Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64')
Python 2.7.5
OSX: ('10.9.1', ('', '', ''), 'x86_64')
Traceback (most recent call last):
  File "site-packages/calibre/gui2/tweak_book/", line 73, in ans
  File "site-packages/calibre/gui2/tweak_book/", line 891, in check_requested
  File "site-packages/calibre/gui2/tweak_book/", line 167, in run_checks
  File "site-packages/calibre/ebooks/oeb/polish/check/", line 61, in run_checks
  File "site-packages/calibre/ebooks/oeb/polish/check/", line 137, in check_links
  File "site-packages/calibre/ebooks/oeb/polish/check/", line 137, in <setcomp>
KeyError: u'OEBPS/Text'

Running MacBook Air OSX 10.9.1
Calibre 1.21

Attach the EPUB file demonstrating/reproducing the problem to this bug report. You can do that by clicking the "Add attachment or patch" link at the bottom of the bug's page. If the file you are attaching is copyrighted, mark the bug as private. You can do this by clicking the tiny lock icon next to "This report contains Public information" in the top right area of the bug's page.

 status incomplete

Changed in calibre:
status: New → Incomplete

Here it is …

Fixed in branch master. The fix will be in the next release. calibre is usually released every Friday.

 status fixreleased

Changed in calibre:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers