Check Book in Edit Book end with Unhandled exception

Bug #1272769 reported by William Bello
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
calibre
Fix Released
Undecided
Unassigned

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
KeyError:u'OEBPS/Text'
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/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/Text'

Running MacBook Air OSX 10.9.1
Calibre 1.21

Revision history for this message
Kovid Goyal (kovid) wrote : Re: calibre bug 1272769

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
Revision history for this message
William Bello (william-bello) wrote : Re: [Bug 1272769] Re: calibre bug 1272769

Here it is …
Thnx

Revision history for this message
Kovid Goyal (kovid) wrote : Fixed in master

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.