Error in option "Description note" in creating catalog

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

Bug Description

When I create a catalog and turn on the setting "Description note", then the error:
calibre, version 0.8.51
ERROR: Unhandled exception:: <b>KeyError</b>:'\xd0\x9b\xd1\x8e\xd0\xb4\xd0\xb822'

Traceback (most recent call last):
  File "site-packages\calibre\gui2\catalog\catalog_epub_mobi.py", line 363, in header_note_source_field_changed
KeyError: '\xd0\x9b\xd1\x8e\xd0\xb4\xd0\xb822'

WinXP

And could you explain this option in other words (how it works) for the translation, because I can not understand:
Description note - Description of the note? Note with description?
and
Custom column source for note to include in Description header area
Description header area - As I understand it the title of the description?

Tags: apple-driver
Baz (baz-)
description: updated
Revision history for this message
Kovid Goyal (kovid) wrote : Re: calibre bug 1001437

Changing the component for this bug.

 assignee griker
 tag apple-driver
 status triaged

Changed in calibre:
assignee: nobody → GRiker (griker)
status: New → Triaged
Revision history for this message
GRiker (griker-deactivatedaccount) wrote :

From the Creating Catalogs FAQ http://www.mobileread.com/forums/showthread.php?t=118556:

Description note specifies a custom column's contents to be inserted into the Description header, opposite the cover. For example, you might want to display the date you last read a book using a Last Read custom column.

This post http://www.mobileread.com/forums/showpost.php?p=1335767&postcount=395 describes creating a custom column then using the Description Note feature with the contents of that custom column.

In order to understand the error that you report, I need to see the entire debug log leading up to the error. Review the instructions for creating a debug log in the 'If You Have Problems' section of the Catalog FAQ, then attach the debug log to this ticket by clicking the 'Add attachment or patch' link below.

Changed in calibre:
status: Triaged → Incomplete
Revision history for this message
GRiker (griker-deactivatedaccount) wrote :

Also, what was the name of the custom column you specified as the source for the Description Note? Please attach a screen shot showing the settings of the E-book options you used when the error occurred.

Revision history for this message
Baz (baz-) wrote :

Thanks for the explanation.

I understood that error appears when I use no English name. That's enough, or do a log?

By the way, there is another problem: as I understand the program does not recognize the name of the translated sections (such as a tag word in another language) and all functions (and even search) should be written in English.

Revision history for this message
GRiker (griker-deactivatedaccount) wrote :

I may have a fix for the accented characters problem, but it will be a few weeks before I can implement and test it. I will keep this bug report open and post updates here.

With respect to your other problem/question, that's really something that should be addressed to Kovid, perhaps through the forum. I maintain the catalog code, which is why I responded to this bug report. Kovid is the main programmer and policy maker for the entire program.

Changed in calibre:
status: Incomplete → Confirmed
Revision history for this message
GRiker (griker-deactivatedaccount) wrote :

The fix turned out to be simpler than I thought, so I've submitted a patch to Kovid.

Changed in calibre:
status: Confirmed → Fix Committed
Revision history for this message
Kovid Goyal (kovid) wrote : Fixed in lp:calibre

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

 status fixreleased

Changed in calibre:
status: Fix Committed → 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.