View Single Post
Old 11-18-2011, 06:24 AM   #1
lbik
Reader
lbik doesn't litterlbik doesn't litter
 
Posts: 46
Karma: 162
Join Date: Nov 2010
Location: Hannover
Device: Kindle KB and Kindle Fire HD 8.9
Conversion Error in 0.8.27

This book was converted in 0.8.26 and everything was OK.
In 0.8.27 the conversion ends with an errorlog.
The Error happens on EVERY conversion on all books.
Going back to 0.8.26 everything is OK.

Errorlog:
calibre, version 0.8.27
ERROR: Konvertierungsfehler: <b>Misslungen</b>: Konvertiere Buch 1 von 1 (Der Kuss des Satyrs)

Konvertiere Buch 1 von 1 (Der Kuss des Satyrs)
Resolved conversion options
calibre version: 0.8.27
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 16.0,
'book_producer': None,
'change_justification': u'original',
'chapter': u"//*[((name()='h1' or name()='h2') and re:test(., 'kapitel|Danksagung|Anhang|book|section|part|prolo gue|epilogue\\s+', 'i')) or @class = 'kapitel']",
'chapter_mark': u'both',
'comments': None,
'cover': 'c:\\temp\\calibre_0.8.27_tmp_vxjzhd\\ndd2xx.jpeg' ,
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'dont_compress': False,
'duplicate_links_in_toc': False,
'enable_heuristics': True,
'extra_css': None,
'extract_to': None,
'filter_css': u'',
'fix_indents': True,
'font_size_mapping': u'12.0, 12.0, 14.0, 16.0, 18.0, 20.0, 22.0, 24.0',
'format_scene_breaks': True,
'html_unwrap_factor': 0.3,
'input_encoding': u'cp1252',
'input_profile': <calibre.customize.profiles.KindleInput object at 0x062D0C90>,
'insert_blank_line': False,
'insert_blank_line_size': 0.5,
'insert_metadata': True,
'isbn': None,
'italicize_common_cases': True,
'keep_ligatures': False,
'language': None,
'level1_toc': None,
'level2_toc': None,
'level3_toc': None,
'line_height': 0.0,
'linearize_tables': False,
'margin_bottom': 0.0,
'margin_left': 0.0,
'margin_right': 0.0,
'margin_top': 0.0,
'markup_chapter_headings': True,
'max_toc_links': 50,
'minimum_line_height': 120.0,
'mobi_ignore_margins': False,
'mobi_toc_at_start': True,
'new_pdf_engine': False,
'no_chapters_in_toc': False,
'no_images': False,
'no_inline_navbars': True,
'no_inline_toc': False,
'output_profile': <calibre.customize.profiles.KindleOutput object at 0x062D0EF0>,
'page_breaks_before': u"//*[name()='h1' or name()='h2']",
'personal_doc': u'[PDOC]',
'prefer_author_sort': False,
'prefer_metadata_cover': False,
'pretty_print': False,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': 'c:\\temp\\calibre_0.8.27_tmp_vxjzhd\\wt9yqs.opf',
'remove_fake_margins': True,
'remove_first_image': True,
'remove_paragraph_spacing': False,
'remove_paragraph_spacing_indent_size': 1.5,
'renumber_headings': True,
'replace_scene_breaks': u'',
'rescale_images': False,
'series': None,
'series_index': None,
'share_not_sync': False,
'smarten_punctuation': False,
'sr1_replace': u'<br>',
'sr1_search': u'<br>\\s*-*\\s*\\d+\\s*-*\\s*<br>',
'sr2_replace': None,
'sr2_search': u'-<br>\\s*',
'sr3_replace': u'\u2013',
'sr3_search': u'<br>\n\u2013',
'tags': None,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'toc_title': u'Inhaltsverzeichnis aus Calibre',
'unsmarten_punctuation': False,
'unwrap_factor': 0.35,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: PDF Input running
on c:\temp\calibre_0.8.27_tmp_vxjzhd\3u5f1j.pdf
Converting file to html...
pdftohtml log:
Document has copy-protection bit set.

Retrieving document metadata...
Generating manifest...
Rendering manifest...
Parsing all content...
Parsing index.html ...
********* Heuristic processing HTML *********
There are 233 blank lines. 0.0568015602145 percent blank
minimum chapters required are: 14
found 1 pre-existing headings
common had 32 hits - 32 chapters with no title, 0 chapters with titles, 0.0 percent.
chapter had 32 hits - 32 chapters with no title, 0 chapters with titles, 0.0 percent.
Marked 1 headings, Searching for common section headings
marked 2 chapters. - Kapitel 1
marked 3 chapters. - Kapitel 2
marked 4 chapters. - Kapitel 3
marked 5 chapters. - Kapitel 4
marked 6 chapters. - Kapitel 5
marked 7 chapters. - Kapitel 6
marked 8 chapters. - Kapitel 7
marked 9 chapters. - Kapitel 8
marked 10 chapters. - Kapitel 9
marked 11 chapters. - Kapitel 10
marked 12 chapters. - Kapitel 11
marked 13 chapters. - Kapitel 12
marked 14 chapters. - Kapitel 13
marked 15 chapters. - Kapitel 14
marked 16 chapters. - Kapitel 15
marked 17 chapters. - Kapitel 16
marked 18 chapters. - Kapitel 17
marked 19 chapters. - Kapitel 18
marked 20 chapters. - Kapitel 19
marked 21 chapters. - Kapitel 20
marked 22 chapters. - Kapitel 21
marked 23 chapters. - Kapitel 22
marked 24 chapters. - Kapitel 23
marked 25 chapters. - Kapitel 24
marked 26 chapters. - Kapitel 25
marked 27 chapters. - Kapitel 26
marked 28 chapters. - Kapitel 27
marked 29 chapters. - Kapitel 28
marked 30 chapters. - Kapitel 29
marked 31 chapters. - Kapitel 30
marked 32 chapters. - Kapitel 31
marked 33 chapters. - Kapitel 32
Total wordcount is: 92885, Average words per section is: 2814, Marked up 33 chapters
Hard line breaks check returned False
Median line length is 140, calculated with html format
Unwrapping required, unwrapping Lines
Fixing hyphenated content
Formatting scene breaks
Initial parse failed, using more forgiving parsers
Parsing file 'index.html' as HTML
Forcing index.html into XHTML namespace
Generating default TOC from spine...
Merging user specified metadata...
Detecting structure...
Detected chapter: Kapitel 1
Detected chapter: Kapitel 2
Detected chapter: Kapitel 3
Detected chapter: Kapitel 4
Detected chapter: Kapitel 5
Detected chapter: Kapitel 6
Detected chapter: Kapitel 7
Detected chapter: Kapitel 8
Detected chapter: Kapitel 9
Detected chapter: Kapitel 10
Detected chapter: Kapitel 11
Detected chapter: Kapitel 12
Detected chapter: Kapitel 13
Detected chapter: Kapitel 14
Detected chapter: Kapitel 15
Detected chapter: Kapitel 16
Detected chapter: Kapitel 17
Detected chapter: Kapitel 18
Detected chapter: Kapitel 19
Detected chapter: Kapitel 20
Detected chapter: Kapitel 21
Detected chapter: Kapitel 22
Detected chapter: Kapitel 23
Detected chapter: Kapitel 24
Detected chapter: Kapitel 25
Detected chapter: Kapitel 26
Detected chapter: Kapitel 27
Detected chapter: Kapitel 28
Detected chapter: Kapitel 29
Detected chapter: Kapitel 30
Detected chapter: Kapitel 31
Detected chapter: Kapitel 32
Auto generated TOC with 32 entries.
Inserting metadata into book...
Python function terminated unexpectedly
u'_genre_label' (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 187, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 31, in gui_convert_override
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 25, in gui_convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 1016, in run
File "site-packages\calibre\ebooks\oeb\transforms\jacket.py", line 93, in __call__
File "site-packages\calibre\ebooks\oeb\transforms\jacket.py", line 69, in insert_metadata
File "site-packages\calibre\ebooks\oeb\transforms\jacket.py", line 220, in render_jacket
File "site-packages\calibre\ebooks\oeb\transforms\jacket.py", line 184, in generate_html
KeyError: u'_genre_label'

Last edited by lbik; 11-18-2011 at 09:25 AM.
lbik is offline   Reply With Quote