Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
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
Old 11-18-2011, 10:23 AM   #2
woodygirl
Member
woodygirl began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Oct 2010
Device: Nook
I'm having the same problem! As soon as I installed the new update, I have conversion errors on all my new books!
woodygirl is offline   Reply With Quote
Advert
Old 11-18-2011, 11:22 AM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,744
Karma: 22446736
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
turn off the insert metadata as first page conversion feature under structure detection, until I release a fixed build.
kovidgoyal is offline   Reply With Quote
Old 11-24-2011, 08:47 PM   #4
Pinkie
Connoisseur
Pinkie ought to be getting tired of karma fortunes by now.Pinkie ought to be getting tired of karma fortunes by now.Pinkie ought to be getting tired of karma fortunes by now.Pinkie ought to be getting tired of karma fortunes by now.Pinkie ought to be getting tired of karma fortunes by now.Pinkie ought to be getting tired of karma fortunes by now.Pinkie ought to be getting tired of karma fortunes by now.Pinkie ought to be getting tired of karma fortunes by now.Pinkie ought to be getting tired of karma fortunes by now.Pinkie ought to be getting tired of karma fortunes by now.Pinkie ought to be getting tired of karma fortunes by now.
 
Posts: 66
Karma: 707918
Join Date: Mar 2008
Device: Kindle keyboard, Nook Color, Kobo
Conversion failure

You said "turn off the insert metadata as first page conversion feature under structure detection, until I release a fixed build."

That didn't work for me. None of my books will convert. I tried to convert a new book to rtf, then an old book that I'd converted before, taking the old rtf file out first, and got the same "failed to convert" error.
Tried other formats, and sometimes it would say it converted, but the book wouldn't open. Most times I got the "failed to convert" error.
Pinkie is offline   Reply With Quote
Old 11-24-2011, 09:01 PM   #5
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,659
Karma: 54369090
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Pinkie View Post
You said "turn off the insert metadata as first page conversion feature under structure detection, until I release a fixed build."

That didn't work for me. None of my books will convert. I tried to convert a new book to rtf, then an old book that I'd converted before, taking the old rtf file out first, and got the same "failed to convert" error.
Tried other formats, and sometimes it would say it converted, but the book wouldn't open. Most times I got the "failed to convert" error.
If you have converted that book before, the settings in effect at that time are used.
There is a "Restore Defaults" button on the conversion screen that needs to be used to make that book use the Latest Defaults.
theducks is offline   Reply With Quote
Advert
Old 11-25-2011, 07:40 AM   #6
Pinkie
Connoisseur
Pinkie ought to be getting tired of karma fortunes by now.Pinkie ought to be getting tired of karma fortunes by now.Pinkie ought to be getting tired of karma fortunes by now.Pinkie ought to be getting tired of karma fortunes by now.Pinkie ought to be getting tired of karma fortunes by now.Pinkie ought to be getting tired of karma fortunes by now.Pinkie ought to be getting tired of karma fortunes by now.Pinkie ought to be getting tired of karma fortunes by now.Pinkie ought to be getting tired of karma fortunes by now.Pinkie ought to be getting tired of karma fortunes by now.Pinkie ought to be getting tired of karma fortunes by now.
 
Posts: 66
Karma: 707918
Join Date: Mar 2008
Device: Kindle keyboard, Nook Color, Kobo
Temporary solution and thanks

Quote:
Originally Posted by theducks View Post
If you have converted that book before, the settings in effect at that time are used.
There is a "Restore Defaults" button on the conversion screen that needs to be used to make that book use the Latest Defaults.
But it happens with books that I haven't converted before, too. I keep a copy of the original, when I can, and I used a few of those to test.
I temporarily solved my problem. I found an old copy of Calibre (0.8.22), uninstalled the 0.8.27 version and reinstalled 0.8.22 which works like a charm. I think I've learned my lesson, to keep an old copy to hand in case something goes wrong.
I have to say that I really appreciate your work on this program. It's hugely useful. I own a Nook Color, a Kobo and a Kindle Keyboard (I sometimes do demos on ebooks and I've found hands-on is the best way) as well as an old Ipaq 4700 (which still works well and has a 4 inch screen) so the conversion facility is very important to me. Thank you for making it so much easier for the average reader!
(I avoid pdf when I can - it does hinky stuff in the conversion!)
Pinkie is offline   Reply With Quote
Old 11-25-2011, 10:00 AM   #7
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by Pinkie View Post
I temporarily solved my problem. I found an old copy of Calibre (0.8.22), uninstalled the 0.8.27 version and reinstalled 0.8.22 which works like a charm. I think I've learned my lesson, to keep an old copy to hand in case something goes wrong.
Glad you got a temporary fix, but the new version 0.8.28 as been available for at least 9 hours by now. Also, no need to keep old versions they can all be found on Sourceforge, here.
DoctorOhh is offline   Reply With Quote
Old 11-25-2011, 09:49 PM   #8
Pinkie
Connoisseur
Pinkie ought to be getting tired of karma fortunes by now.Pinkie ought to be getting tired of karma fortunes by now.Pinkie ought to be getting tired of karma fortunes by now.Pinkie ought to be getting tired of karma fortunes by now.Pinkie ought to be getting tired of karma fortunes by now.Pinkie ought to be getting tired of karma fortunes by now.Pinkie ought to be getting tired of karma fortunes by now.Pinkie ought to be getting tired of karma fortunes by now.Pinkie ought to be getting tired of karma fortunes by now.Pinkie ought to be getting tired of karma fortunes by now.Pinkie ought to be getting tired of karma fortunes by now.
 
Posts: 66
Karma: 707918
Join Date: Mar 2008
Device: Kindle keyboard, Nook Color, Kobo
You're a marvel. Many thanks!
Pinkie is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
conversion error raykoko Conversion 4 06-13-2011 09:03 AM
conversion error rheostaticsfan Calibre 2 09-16-2010 04:01 PM
Conversion error colly Calibre 2 06-12-2010 02:27 AM
Error: Conversion Error Spectralist Calibre 1 08-08-2009 12:14 PM
Conversion Error EowynCarter Calibre 4 05-05-2009 03:37 PM


All times are GMT -4. The time now is 12:50 AM.


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