Error in Polish when no cover present

Bug #1168793 reported by Better Red
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Fix Released
Undecided
Unassigned

Bug Description

When I used Polish on a book that had an EPUB but didn't have a cover. I got following error.

======================
calibre, version 0.9.27 (win32, isfrozen: True)
Conversion Error: Failed: Polish Five Lessons for Economists on the Financial Crisis From Olivier Blanchard

Polish Five Lessons for Economists on the Financial Crisis From Olivier Blanchard
Python function terminated unexpectedly
  u'cover' (Error Code: 1)
Traceback (most recent call last):
  File "site.py", line 132, in main
  File "site.py", line 109, in run_entry_point
  File "site-packages\calibre\utils\ipc\worker.py", line 189, in main
  File "site-packages\calibre\ebooks\oeb\polish\main.py", line 178, in gui_polish
KeyError: u'cover'
======================

Update the cover in the book files was unchecked.

I created a cover with the Generate Cover plugin, I could then Polish the EPUB (to update the metadata), I then used Modify to remove the cover

BR

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

Fixed in next release.

 status fixreleased

Changed in calibre:
status: New → Fix Released
Revision history for this message
Better Red (urbanetiger) wrote :

thanks m8

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.