View Single Post
Old 11-22-2011, 10:34 AM   #1
iomari
Zealot
iomari doesn't litteriomari doesn't litter
 
Posts: 146
Karma: 100
Join Date: Aug 2003
Location: Nigeria
Device: galaxy tab
0.8.27 gives error on conversion

Just updated my source to 0.8.27.
compilation goes smooth as usual but when i tried to convert a book from epub to txt and epub to epub i get the following error which does not happen when i revert back to 0.8.26:

calibre, version 0.8.27
ERROR: Conversion Error: <b>Failed</b>: Convert book 1 of 1 (The Cutting)
Spoiler:

Convert book 1 of 1 (The Cutting)
Resolved conversion options
calibre version: 0.8.27
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0.0,
'book_producer': None,
'change_justification': u'original',
'chapter': u"//*[((name()='h1' or name()='h2') and re:test(., 'chapter|book|section|part|prologue|epilogue\\s+', 'i')) or @class = 'chapter']",
'chapter_mark': u'pagebreak',
'comments': None,
'cover': '/tmp/calibre_0.8.27_tmp_AxpRw_/p_Y94f.jpeg',
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'duplicate_links_in_toc': False,
'enable_heuristics': False,
'extra_css': None,
'filter_css': u'',
'fix_indents': True,
'font_size_mapping': None,
'force_max_line_length': False,
'format_scene_breaks': True,
'html_unwrap_factor': 0.4,
'inline_toc': True,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x92f0ccc>,
'insert_blank_line': False,
'insert_blank_line_size': 0.5,
'insert_metadata': True,
'isbn': None,
'italicize_common_cases': True,
'keep_color': True,
'keep_image_references': False,
'keep_ligatures': False,
'keep_links': False,
'language': None,
'level1_toc': None,
'level2_toc': None,
'level3_toc': None,
'line_height': 0.0,
'linearize_tables': False,
'margin_bottom': 5.0,
'margin_left': 5.0,
'margin_right': 5.0,
'margin_top': 5.0,
'markup_chapter_headings': True,
'max_line_length': 0,
'max_toc_links': 50,
'minimum_line_height': 120.0,
'newline': u'system',
'no_chapters_in_toc': False,
'no_inline_navbars': False,
'output_profile': <calibre.customize.profiles.OutputProfile object at 0x92fd28c>,
'page_breaks_before': u'/',
'prefer_metadata_cover': False,
'pretty_print': False,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': '/tmp/calibre_0.8.27_tmp_AxpRw_/yJUMHU.opf',
'remove_fake_margins': True,
'remove_first_image': False,
'remove_paragraph_spacing': False,
'remove_paragraph_spacing_indent_size': 1.5,
'renumber_headings': True,
'replace_scene_breaks': u'',
'series': None,
'series_index': None,
'smarten_punctuation': False,
'sr1_replace': None,
'sr1_search': None,
'sr2_replace': None,
'sr2_search': None,
'sr3_replace': None,
'sr3_search': None,
'tags': None,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'txt_output_encoding': u'utf-8',
'txt_output_formatting': u'plain',
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
WARNING:calibre.css:Property: Unknown Property name. [79:5: -webkit-border-radius]
InputFormatPlugin: EPUB Input running
on /tmp/calibre_0.8.27_tmp_AxpRw_/AyXvYU.epub
Found HTML cover titlepage.xhtml
Parsing all content...
Parsing Cutting/xhtml/chapter027.html ...
Parsing Cutting/xhtml/chapter035.html ...
Parsing stylesheet1.css ...
Property: Unknown Property name. [79:5: -webkit-border-radius]
Parsing Cutting/xhtml/chapter048.html ...
Parsing Cutting/xhtml/chapter012.html ...
Parsing Cutting/xhtml/chapter031.html ...
Parsing Cutting/xhtml/chapter049.html ...
Parsing Cutting/xhtml/chapter013.html ...
Parsing Cutting/xhtml/chapter022.html ...
Parsing Cutting/xhtml/copyright.html ...
Parsing Cutting/xhtml/chapter045.html ...
Parsing Cutting/xhtml/chapter050.html ...
Parsing Cutting/xhtml/chapter014.html ...
Parsing Cutting/xhtml/chapter030.html ...
Parsing Cutting/xhtml/chapter038.html ...
Parsing Cutting/xhtml/chapter051.html ...
Parsing Cutting/xhtml/chapter015.html ...
Parsing Cutting/xhtml/chapter025.html ...
Parsing Cutting/xhtml/chapter052.html ...
Parsing Cutting/xhtml/title.html ...
Parsing Cutting/xhtml/chapter016.html ...
Parsing Cutting/xhtml/chapter037.html ...
Parsing Cutting/xhtml/chapter003.html ...
Parsing Cutting/xhtml/chapter017.html ...
Parsing Cutting/xhtml/chapter028.html ...
Parsing Cutting/xhtml/dedication.html ...
Parsing Cutting/xhtml/chapter036.html ...
Parsing Cutting/xhtml/prologue.html ...
Parsing Cutting/xhtml/chapter019.html ...
Parsing Cutting/xhtml/chapter023.html ...
Parsing Cutting/xhtml/chapter046.html ...
Parsing Cutting/xhtml/chapter040.html ...
Parsing Cutting/xhtml/chapter020.html ...
Parsing titlepage.xhtml ...
Parsing Cutting/xhtml/chapter021.html ...
Parsing Cutting/xhtml/chapter018.html ...
Parsing jacket.xhtml ...
Parsing Cutting/xhtml/toc.html ...
Parsing Cutting/xhtml/chapter041.html ...
Parsing Cutting/xhtml/chapter042.html ...
Parsing Cutting/xhtml/chapter026.html ...
Parsing Cutting/xhtml/chapter034.html ...
Parsing Cutting/xhtml/chapter043.html ...
Parsing Cutting/xhtml/chapter029.html ...
Parsing Cutting/xhtml/chapter004.html ...
Parsing Cutting/xhtml/abouttheauthor.html ...
Parsing Cutting/xhtml/chapter044.html ...
Parsing Cutting/xhtml/chapter005.html ...
Parsing Cutting/xhtml/acknowledgements.html ...
Parsing Cutting/xhtml/chapter039.html ...
Parsing Cutting/xhtml/chapter006.html ...
Parsing Cutting/xhtml/chapter033.html ...
Parsing Cutting/xhtml/chapter007.html ...
Parsing Cutting/xhtml/chapter001.html ...
Parsing Cutting/xhtml/chapter024.html ...
Parsing Cutting/xhtml/chapter008.html ...
Parsing Cutting/xhtml/chapter047.html ...
Parsing Cutting/xhtml/chapter009.html ...
Parsing Cutting/xhtml/chapter002.html ...
Parsing Cutting/xhtml/chapter010.html ...
Parsing Cutting/xhtml/chapter032.html ...
Parsing Cutting/xhtml/chapter011.html ...
Reading TOC from NCX...
Merging user specified metadata...
Detecting structure...
Detected chapter: Prologue
Removed existing jacket
Inserting metadata into book...
Traceback (most recent call last):
File "/usr/bin/calibre-parallel", line 19, in <module>
sys.exit(main())
File "/mnt/installs/iomari/work/calibre/src/calibre/utils/ipc/worker.py", line 187, in main
result = func(*args, **kwargs)
File "/mnt/installs/iomari/work/calibre/src/calibre/gui2/convert/gui_conversion.py", line 31, in gui_convert_override
override_input_metadata=True)
File "/mnt/installs/iomari/work/calibre/src/calibre/gui2/convert/gui_conversion.py", line 25, in gui_convert
plumber.run()
File "/mnt/installs/iomari/work/calibre/src/calibre/ebooks/conversion/plumber.py", line 1016, in run
Jacket()(self.oeb, self.opts, self.user_metadata)
File "/mnt/installs/iomari/work/calibre/src/calibre/ebooks/oeb/transforms/jacket.py", line 93, in __call__
self.insert_metadata(metadata)
File "/mnt/installs/iomari/work/calibre/src/calibre/ebooks/oeb/transforms/jacket.py", line 69, in insert_metadata
alt_comments=comments)
File "/mnt/installs/iomari/work/calibre/src/calibre/ebooks/oeb/transforms/jacket.py", line 220, in render_jacket
root = etree.fromstring(generate_html(''),
File "/mnt/installs/iomari/work/calibre/src/calibre/ebooks/oeb/transforms/jacket.py", line 184, in generate_html
data=True).decode('utf-8').format(**args)
KeyError: u'_genre_label'


Moderator Notice
wrap these long ( ~ >10 lines) logs in spoiler tag in the future please

Last edited by theducks; 11-22-2011 at 10:51 AM.
iomari is offline   Reply With Quote