Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 12-10-2014, 07:41 AM   #1
pein2k4
Junior Member
pein2k4 began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Nov 2014
Location: Germany
Device: KPW2
catalog - full use of any column, custom or othewise doesn't work

Hi,

since 2.1 when you generate a catalog in EPUB or MOBI it says on the website that it allows using the full template language including all custom columns

How do I have to use this feature?

I'm getting:
Spoiler:
calibre, version 2.12.0 (darwin, isfrozen: True)
Konvertierungsfehler: Fehlgeschlagen: Erstelle Katalog

Erstelle Katalog
Python function terminated unexpectedly: u'languages'
Sections: Genres, Descriptions
Catalog_EPUB_MOBI('ebooks-calibre'): Generating epub for kindle_pw in GUI environment, locale: 'German'
connected_device: 'None'
book count: 9
opts:
author_clip: 60
catalog_title: u'B\xfccherliste_2'
connected_kindle: False
creator: u'Wednesday, December 10, 2014'
cross_reference_authors: False
description_clip: 100
exclude_genre: u'\\[.+\\]|^\\+$'
exclusion_rules: ((u'B\xfccherliste', u'Schlagw\xf6rter', u'Katalog'),)
fmt: u'epub'
genre_source_field: u'Schlagw\xf6rter'
header_note_source_field: u'#buchtyp'
merge_comments_rule: u'#movie:after:True'
output_profile: 'kindle_pw'
prefix_rules: ((u'Buch gelesen', u'#read_status', u'Ja', u'\u2713'), (u'Wunschlisteneintrag', u'#read_status', u'Nein', u'\xd7'))
search_text: None
sort_by: None
sort_descriptions_by_author: True
sync: False
thumb_width: u'1.00'
use_existing_cover: False
Begin catalog source generation (0:00:00)
Books excluded by tag:
43 enabled genres:
Abenteuer, Antike, Baby, Belletristik, Bildung, Biografie, Code, Computer,
Design, Drama, Epos, Erzählungen, Fantasy, Fiction, Fotografie,
Gedicht, Gesundheit, Graphic Novel, Historik, Horror, Humor, Idee, InDesign,
Jugendroman, Kinder, Kochbuch, Kommunikation, Krimi, Kurzgeschichte,
Manga, Nachschlagewerk, Novelle, Psycho, Ratgeber, Roman, Romantik,
Sachbuch, Satire, Science Fiction, Steuer, Thriller, verfilmt, Web
1 excluded genres:
Katalog
Custom fields:
#book_status 'Book status' composite
#buchtyp 'Buchtyp' text
#last_read 'zuletzt gelesen' datetime
#mm_annotations 'Annotations' comments
#movie 'Verfilmung' text
#ondevice 'On Device' bool
#pages 'Seiten' int
#price 'Preis' float
#read_status 'gelesen' bool
#uebersetzer 'Übersetzer' text
Thumbnails:
DPI = 212; thumbnail dimensions: 212 x 281
existing thumb cache at /Users/GiuSy/Library/Caches/calibre/catalog/thumbs.zip, cached_thumb_width: 1.00"
Sortiere Titel (0:00:00)
Datenbank wird sortiert (0:00:00)
Vorschaubilder (0:00:00)
Beschreibungen HTML (0:00:00)
unhandled exception in catalog generator
Traceback (most recent call last):
File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.7/site.py", line 208, in main
return run_entry_point()
File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.7/site.py", line 114, in run_entry_point
return getattr(pmod, func)()
File "site-packages/calibre/utils/ipc/worker.py", line 193, in main
File "site-packages/calibre/gui2/convert/gui_conversion.py", line 68, in gui_catalog
File "site-packages/calibre/library/catalogs/epub_mobi.py", line 404, in run
File "site-packages/calibre/library/catalogs/epub_mobi_builder.py", line 289, in build_sources
File "site-packages/calibre/library/catalogs/epub_mobi_builder.py", line 2835, in generate_html_descriptions
File "site-packages/calibre/library/catalogs/epub_mobi_builder.py", line 2758, in generate_html_description_header
File "site-packages/calibre/library/catalogs/epub_mobi_builder.py", line 2666, in _generate_html
KeyError: u'languages'


I added this in my xhtml-file:
Code:
  
<tr>
  <td class="language"><b>Sprache:</b> <br>{languages}</td>
</tr>
for a custom column I have put a #in front of the name.

csv is not an option. It is easier for me to change the look with html and css. I only need the way how to adress the column-names I want into my html file.

with csv i have problems getting the cover, links for the genres and so on...

can someone help me here?

I use calibre 2.12 on OSX 10.9.5

Last edited by pein2k4; 12-10-2014 at 07:46 AM.
pein2k4 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
grouping does not work for custom column type ratings comox Calibre Companion 2 09-24-2014 01:54 PM
Custom column returns value based on value of another custom column? calvin-c Calibre 3 09-14-2013 02:24 PM
Custom yes/no column built from long text column Philantrop Library Management 7 03-23-2013 07:44 PM
how to move value(s) of tag column to a custom made column zoorakhan Library Management 0 12-08-2012 03:53 AM
Can custom book data be displayed in a custom column? kiwidude Development 9 03-02-2011 05:35 AM


All times are GMT -4. The time now is 08:58 PM.


MobileRead.com is a privately owned, operated and funded community.