polish fails when adding jacket to epub
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| calibre |
Undecided
|
Unassigned |
Bug Description
Calibre version: 1.3.0 x64
OS: Windows 8 Professional 64-bit
I have edited the xhtml and css files for the metadata jacket to include a couple of my custom columns, but when trying to polish an ePub and adding a metadata jacket it fails when I try to use a column that is for keeping series-like information (basically a "sub-series").
Without this custom column being defined it will work properly, even with other custom columns defined.
I have noticed, however, that if that column is populated, then it will work with it being defined, but if it is empty is when it fails.
Here is the output I get:
Traceback (most recent call last):
File "site.py", line 132, in main
File "site.py", line 109, in run_entry_point
File "site-packages\
File "site-packages\
File "site-packages\
eplace_jacket
File "site-packages\
jacket
File "site-packages\
acket
File "site-packages\
der_jacket
File "site-packages\
erate_html
KeyError: u'_subseries'
description: | updated |
description: | updated |
Bryan Durnell (ealdwulf) wrote : | #2 |
the name of the column that I am using is #subseries
the entry that I put into template.xhtml is _subseries
if the #subseries column is populated, then it works fine
if the #subseries column is NOT populated then it does not work
if you would like, I can provide the database file and template.xhtml so you can see that
a) the column does exist
b) that with nothing in that column it does not work
Changed in calibre: | |
status: | Invalid → New |
Kovid Goyal (kovid) wrote : | #3 |
Attach the db file and the template
status incomplete
Changed in calibre: | |
status: | New → Incomplete |
Bryan Durnell (ealdwulf) wrote : | #4 |
Database attached
Bryan Durnell (ealdwulf) wrote : | #5 |
Template attached
Kovid Goyal (kovid) wrote : Fixed in master | #6 |
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 |
That error indicates the name you used does not exist. You need to
ensure you are using the correct name for the column, which you can get
by hovering the mouse over the column header.
status invalid