calibre: e-book management

pdf conversion fails in 0.9.13 64 bit calibre

Reported by Myron Turner on 2013-01-05
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Undecided
cuong

Bug Description

Attached: Debug Log:

calibre, version 0.9.13 (win32, isfrozen: True)
Conversion Error: Failed: Convert book 1 of 1 (FckgLite Handbook)

Convert book 1 of 1 (FckgLite Handbook)
Resolved conversion options
calibre version: 0.9.13
{'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(., '\\s*((chapter|book|section|part)\\s+)|((prolog|prologue|epilogue)(\\s+|$))', 'i')) or @class = 'chapter']",
 'chapter_mark': u'pagebreak',
 'comments': None,
 'cover': u'C:\\Users\\Tower\\AppData\\Local\\Temp\\calibre_0.9.13_tmp_pxeape\\h5sb6s.jpeg',
 'custom_size': None,
 'debug_pipeline': None,
 'dehyphenate': True,
 'delete_blank_paragraphs': True,
 'disable_font_rescaling': False,
 'duplicate_links_in_toc': False,
 'embed_font_family': None,
 'enable_heuristics': False,
 'extra_css': None,
 'filter_css': u'',
 'fix_indents': True,
 'font_size_mapping': None,
 'format_scene_breaks': True,
 'html_unwrap_factor': 0.4,
 'input_encoding': None,
 'input_profile': <calibre.customize.profiles.InputProfile object at 0x0000000004C1D0F0>,
 'insert_blank_line': False,
 'insert_blank_line_size': 0.5,
 'insert_metadata': False,
 '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': 5.0,
 'margin_left': 5.0,
 'margin_right': 5.0,
 'margin_top': 5.0,
 'markup_chapter_headings': True,
 'max_toc_links': 50,
 'minimum_line_height': 120.0,
 'no_chapters_in_toc': False,
 'no_inline_navbars': False,
 'old_pdf_engine': False,
 'output_profile': <calibre.customize.profiles.OutputProfile object at 0x0000000004C1D438>,
 'override_profile_size': False,
 'page_breaks_before': u'/',
 'paper_size': u'letter',
 'pdf_default_font_size': 20,
 'pdf_mark_links': False,
 'pdf_mono_family': u'Courier New',
 'pdf_mono_font_size': 16,
 'pdf_sans_family': u'8514oem',
 'pdf_serif_family': u'Times New Roman',
 'pdf_standard_font': u'serif',
 'prefer_metadata_cover': False,
 'preserve_cover_aspect_ratio': False,
 'pretty_print': False,
 'pubdate': None,
 'publisher': None,
 'rating': None,
 'read_metadata_from_opf': u'C:\\Users\\Tower\\AppData\\Local\\Temp\\calibre_0.9.13_tmp_pxeape\\dxnbeh.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'',
 'search_replace': '[]',
 '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,
 'start_reading_at': None,
 'subset_embedded_fonts': False,
 'tags': None,
 'timestamp': None,
 'title': None,
 'title_sort': None,
 'toc_filter': None,
 'toc_threshold': 6,
 'uncompressed_pdf': False,
 'unit': u'inch',
 'unsmarten_punctuation': False,
 'unwrap_lines': True,
 'use_auto_toc': False,
 'verbose': 2}
InputFormatPlugin: EPUB Input running
on C:\Users\Tower\AppData\Local\Temp\calibre_0.9.13_tmp_pxeape\pv629j.epub
Found HTML cover OEBPS/title.html
Parsing all content...
Parsing OEBPS/@lang_template.html ...
Parsing OEBPS/@docs@auto_install.html ...
Parsing <email address hidden> ...
Parsing OEBPS/title.html ...
Initial parse failed, using more forgiving parsers
Parsing OEBPS/title.html as HTML
Parsing <email address hidden> ...
Parsing OEBPS/@file_browser_install.html ...
Parsing <email address hidden> ...
Parsing <email address hidden> ...
Initial parse failed, using more forgiving parsers
Parsing <email address hidden> as HTML
Parsing OEBPS/@docs@ie9_ff6.html ...
Parsing OEBPS/style.css ...
Unexpected token (CHAR, [, 51, 11)
Unexpected token (CHAR, !, 51, 12)
Property: Unexpected ident. [51:13: IE]
Unexpected token (CHAR, ], 51, 15)
Property: Unexpected ident. [51:18: padding-right]
CSSStyleDeclaration: Syntax Error in Property: if [!IE] padding-right: 2.5em
CSSStyleDeclaration: Unexpected token, ignoring upto u';\n width: 200px;'. [2398:16: ;]
CSSStyleDeclaration: Unexpected token, ignoring upto u'; background-color:#ffffff;'. [2499:18: ;]
Parsing <email address hidden> ...
Parsing OEBPS/@fckglite_lang_interface.html ...
Parsing <email address hidden> ...
Parsing OEBPS/@internal_to_external.html ...
Parsing OEBPS/footnotes.html ...
Parsing <email address hidden> ...
Parsing <email address hidden> ...
Referenced file u'/fckgLite/lib/plugins/filelist/images/txt.png' not found
Referenced file u'/fckgLite/lib/plugins/wrap/images/note/48/help.png' not found
Referenced file '/fckgLite/doku.php%3fid%3dtag%3atables%26do%3dshowtag%26tag%3dtables' not found
Referenced file u'/fckgLite/lib/tpl/simple_sidebar/images/tag.gif' not found
Referenced file u'/fckgLite/lib/plugins/wrap/images/note/48/download.png' not found
Referenced file '/fckgLite/doku.php%3fid%3dtag%3aflash%26do%3dshowtag%26tag%3dflash' not found
Referenced file u'/fckgLite/lib/images/admin/usermanager.png' not found
Referenced file u'/fckgLite/lib/images/icon-sort.png' not found
Referenced file u'/fckgLite/lib/plugins/loglog/pix/off.png' not found
Referenced file '/fckgLite/doku.php%3fid%3dtag%3awindows%26do%3dshowtag%26tag%3dwindows' not found
Referenced file u'/fckgLite/lib/images/throbber.gif' not found
Referenced file '/fckgLite/doku.php%3fid%3dtag%3abrowsers%26do%3dshowtag%26tag%3dbrowsers' not found
Referenced file '/fckgLite/doku.php%3fid%3dtag%3ascayt%26do%3dshowtag%26tag%3dscayt' not found
Referenced file '/fckgLite/doku.php%3fdo%3dexport_code%26id%3d%26codeblock%3d8' not found
Referenced file '/fckgLite/doku.php%3fid%3dtag%3acompatibility%26do%3dshowtag%26tag%3dcompatibility' not found
Referenced file u'/fckgLite/lib/plugins/include/images/comment.gif' not found
Referenced file '/fckgLite/doku.php%3fid%3dtag%3aubuntu%26do%3dshowtag%26tag%3dubuntu' not found
Referenced file u'/fckgLite/lib/plugins/acl/pix/group.png' not found
Referenced file '/fckgLite/doku.php%3fid%3dtag%3atoolbar%26do%3dshowtag%26tag%3dtoolbar' not found
Referenced file '/fckgLite/doku.php%3fid%3dtag%3aplugins%26do%3dshowtag%26tag%3dplugins' not found
Referenced file u'/fckgLite/lib/plugins/filelist/images/tgz.png' not found
Referenced file u'/fckgLite/lib/tpl/simple_sidebar/images/open.gif' not found
Referenced file u'/fckgLite/lib/tpl/simple_sidebar/images/link_icon.gif' not found
Referenced file u'/fckgLite/lib/tpl/simple_sidebar/images/buttonshadow.png' not found
Referenced file u'/fckgLite/lib/plugins/include/images/date.gif' not found
Referenced file u'/fckgLite/lib/plugins/acl/pix/user.png' not found
Referenced file '/fckgLite/doku.php%3fid%3dtag%3ainstall%26do%3dshowtag%26tag%3dinstall' not found
Referenced file u'/fckgLite/lib/images/admin/plugin.png' not found
Referenced file u'/fckgLite/lib/tpl/simple_sidebar/images/mail_icon.gif' not found
Referenced file '/fckgLite/doku.php%3fid%3dtag%3alists%26do%3dshowtag%26tag%3dlists' not found
Referenced file '/fckgLite/doku.php%3fid%3dtag%3acode-blocks%26do%3dshowtag%26tag%3dcode-blocks' not found
Referenced file '/fckgLite/doku.php%3fid%3dtag%3afootnotes%26do%3dshowtag%26tag%3dfootnotes' not found
Referenced file u'/fckgLite/lib/plugins/wrap/images/note/16/download.png' not found
Referenced file u'/fckgLite/lib/images/ns.png' not found
Referenced file u'/fckgLite/lib/plugins/wrap/images/note/48/todo.png' not found
Referenced file '/fckgLite/doku.php%3fid%3dtag%3adebian%26do%3dshowtag%26tag%3ddebian' not found
Referenced file u'/fckgLite/lib/tpl/simple_sidebar/images/resizecol.png' not found
Referenced file '/fckgLite/doku.php%3fid%3dtag%3awindows-8%26do%3dshowtag%26tag%3dwindows-8' not found
Referenced file u'/fckgLite/lib/plugins/wrap/images/note/48/alert.png' not found
Referenced file u'/fckgLite/lib/plugins/loglog/pix/perm.png' not found
Referenced file u'/fckgLite/lib/images/icon-list.png' not found
Referenced file u'/fckgLite/lib/images/admin/revert.png' not found
Referenced file '/fckgLite/doku.php%3fid%3dtag%3alinks%26do%3dshowtag%26tag%3dlinks' not found
Referenced file u'/fckgLite/lib/plugins/include/images/user.gif' not found
Referenced file u'/fckgLite/lib/plugins/wrap/images/note/48/tip.png' not found
Referenced file u'/fckgLite/lib/plugins/note/images/note.png' not found
Referenced file '/fckgLite/doku.php%3fid%3dtag%3asafari%26do%3dshowtag%26tag%3dsafari' not found
Referenced file u'/fckgLite/lib/plugins/acl/pix/page.png' not found
Referenced file u'/fckgLite/lib/plugins/wrap/images/note/48/info.png' not found
Referenced file u'/fckgLite/lib/plugins/wrap/images/note/16/important.png' not found
Referenced file '/fckgLite/doku.php%3fid%3dtag%3alinux%26do%3dshowtag%26tag%3dlinux' not found
Referenced file '/fckgLite/doku.php%3fid%3dtag%3akeys%26do%3dshowtag%26tag%3dkeys' not found
Referenced file '/fckgLite/doku.php%3fid%3dtag%3aentities%26do%3dshowtag%26tag%3dentities' not found
Referenced file u'/fckgLite/lib/tpl/simple_sidebar/images/inputshadow.png' not found
Referenced file u'/fckgLite/lib/plugins/note/images/important.png' not found
Referenced file u'/fckgLite/lib/plugins/note/images/warning.png' not found
Referenced file '/fckgLite/doku.php%3fid%3dtag%3aescapes%26do%3dshowtag%26tag%3descapes' not found
Referenced file u'/fckgLite/lib/plugins/include/images/link.gif' not found
Referenced file '/fckgLite/doku.php%3fid%3dtag%3afilebrowser%26do%3dshowtag%26tag%3dfilebrowser' not found
Referenced file '/fckgLite/doku.php%3fid%3dtag%3aspacing%26do%3dshowtag%26tag%3dspacing' not found
Referenced file u'/fckgLite/lib/images/admin/config.png' not found
Referenced file u'/fckgLite/lib/plugins/note/images/tip.png' not found
Referenced file u'/fckgLite/lib/plugins/wrap/images/note/48/important.png' not found
Referenced file '/fckgLite/doku.php%3fid%3dtag%3asecurity%26do%3dshowtag%26tag%3dsecurity' not found
Referenced file '/fckgLite/doku.php%3fid%3dtag%3aconfiguration%26do%3dshowtag%26tag%3dconfiguration' not found
Referenced file u'/fckgLite/lib/plugins/wrap/images/note/16/todo.png' not found
Referenced file u'/fckgLite/lib/images/up.png' not found
Referenced file u'/fckgLite/lib/plugins/wrap/images/note/16/help.png' not found
Referenced file '/fckgLite/doku.php%3fid%3dtag%3aupgrade%26do%3dshowtag%26tag%3dupgrade' not found
Referenced file '/fckgLite/doku.php%3fid%3dtag%3adownload%26do%3dshowtag%26tag%3ddownload' not found
Referenced file u'/fckgLite/lib/plugins/wrap/images/note/16/info.png' not found
Referenced file u'/fckgLite/lib/plugins/wrap/images/note/16/tip.png' not found
Referenced file u'/fckgLite/lib/images/page.png' not found
Referenced file u'/fckgLite/lib/tpl/simple_sidebar/images/windows.gif' not found
Referenced file u'/fckgLite/lib/plugins/loglog/pix/temp.png' not found
Referenced file '/fckgLite/doku.php%3fid%3dtag%3achrome%26do%3dshowtag%26tag%3dchrome' not found
Referenced file u'/fckgLite/lib/plugins/epub/epub.png' not found
Referenced file '/fckgLite/doku.php%3fid%3dtag%3ageshi%26do%3dshowtag%26tag%3dgeshi' not found
Referenced file '/fckgLite/doku.php%3fid%3dtag%3aosx%26do%3dshowtag%26tag%3dOSX' not found
Referenced file u'/fckgLite/lib/images/admin/acl.png' not found
Referenced file u'/fckgLite/lib/tpl/simple_sidebar/images/closed.gif' not found
Referenced file '/fckgLite/doku.php%3fid%3dtag%3asamba%26do%3dshowtag%26tag%3dsamba' not found
Referenced file u'/fckgLite/lib/tpl/simple_sidebar/images/tocdot2.gif' not found
Referenced file '/fckgLite/doku.php%3fid%3dtag%3alanguage%26do%3dshowtag%26tag%3dlanguage' not found
Referenced file u'/fckgLite/lib/images/admin/popularity.png' not found
Referenced file '/fckgLite/doku.php%3fid%3dtag%3asmileys%26do%3dshowtag%26tag%3dsmileys' not found
Referenced file u'/fckgLite/lib/plugins/wrap/images/note/16/alert.png' not found
Referenced file '/fckgLite/doku.php%3fid%3dtag%3atemplates%26do%3dshowtag%26tag%3dtemplates' not found
Referenced file '/fckgLite/doku.php%3fid%3dtag%3aimage%26do%3dshowtag%26tag%3dimage' not found
Referenced file '/fckgLite/doku.php%3fid%3dtag%3aie10%26do%3dshowtag%26tag%3dIE10' not found
Referenced file u'/fckgLite/lib/plugins/acl/pix/ns.png' not found
Reading TOC from NCX...
Merging user specified metadata...
Detecting structure...
Flattening CSS and remapping font sizes...
Source base font size is 9.00000pt
Removing fake margins...
Found 2 items of level: div_9
Found 1 items of level: div_8
Found 15 items of level: div_1
Found 54 items of level: div_3
Found 164 items of level: div_2
Found 117 items of level: div_5
Found 4 items of level: div_7
Found 2 items of level: div_6
Found 1 items of level: p_7
Found 4 items of level: p_2
Found 432 items of level: p_3
Ignoring level div_9
Ignoring level div_8
Ignoring level div_7
Ignoring level div_6
Ignoring level p_7
Ignoring level p_2
div_1 left margin stats: Counter({u'0': 12})
div_1 right margin stats: Counter({u'0': 12})
div_3 left margin stats: Counter({u'0': 50, u'auto': 4})
div_3 right margin stats: Counter({u'0': 50, u'auto': 4})
div_2 left margin stats: Counter({u'43px': 25, u'23px': 11, u'63px': 9, u'3px': 1})
div_2 right margin stats: Counter({u'0': 46})
div_5 left margin stats: Counter({u'0': 117})
div_5 right margin stats: Counter({u'0': 117})
p_3 left margin stats: Counter({u'0': 432})
p_3 right margin stats: Counter({u'0': 432})
Cleaning up manifest...
Trimming unused files from manifest...
Trimming u'OEBPS/title.html' from manifest
Trimming u'OEBPS/cover.png' from manifest
Creating PDF Output...
Converting input as a text based book...
Serializing oeb input to disk for processing...
Ignoring unsupported font: Roman
The cover image has an id != "cover". Renaming to work around bug in Nook Color
Rendering pages to PDF...
Processing C:\Users\Tower\AppData\Local\Temp\calibre_0.9.13_tmp_pxeape\iugytr_pdf_out\OEBPS\@introduction.html...
Processing C:\Users\Tower\AppData\Local\Temp\calibre_0.9.13_tmp_pxeape\iugytr_pdf_out\OEBPS\@configuration.html...
Processing C:\Users\Tower\AppData\Local\Temp\calibre_0.9.13_tmp_pxeape\iugytr_pdf_out\OEBPS\@features.html...
Processing C:\Users\Tower\AppData\Local\Temp\calibre_0.9.13_tmp_pxeape\iugytr_pdf_out\OEBPS\@media.html...
Processing C:\Users\Tower\AppData\Local\Temp\calibre_0.9.13_tmp_pxeape\iugytr_pdf_out\OEBPS\@file_browser_install.html...
Processing C:\Users\Tower\AppData\Local\Temp\calibre_0.9.13_tmp_pxeape\iugytr_pdf_out\OEBPS\@v06.html...
Processing C:\Users\Tower\AppData\Local\Temp\calibre_0.9.13_tmp_pxeape\iugytr_pdf_out\OEBPS\@faq.html...
Processing C:\Users\Tower\AppData\Local\Temp\calibre_0.9.13_tmp_pxeape\iugytr_pdf_out\OEBPS\@internal_to_external.html...
Processing C:\Users\Tower\AppData\Local\Temp\calibre_0.9.13_tmp_pxeape\iugytr_pdf_out\OEBPS\@entities.html...
Processing C:\Users\Tower\AppData\Local\Temp\calibre_0.9.13_tmp_pxeape\iugytr_pdf_out\OEBPS\@plugins.html...
Processing C:\Users\Tower\AppData\Local\Temp\calibre_0.9.13_tmp_pxeape\iugytr_pdf_out\OEBPS\@docs@auto_install.html...
Processing C:\Users\Tower\AppData\Local\Temp\calibre_0.9.13_tmp_pxeape\iugytr_pdf_out\OEBPS\@docs@ie9_ff6.html...
Processing C:\Users\Tower\AppData\Local\Temp\calibre_0.9.13_tmp_pxeape\iugytr_pdf_out\OEBPS\@fckglite_lang_interface.html...
Processing C:\Users\Tower\AppData\Local\Temp\calibre_0.9.13_tmp_pxeape\iugytr_pdf_out\OEBPS\@lang_template.html...
Processing C:\Users\Tower\AppData\Local\Temp\calibre_0.9.13_tmp_pxeape\iugytr_pdf_out\OEBPS\footnotes.html...
Traceback (most recent call last):
  File "site-packages\calibre\ebooks\pdf\render\engine.py", line 140, in end
  File "site-packages\calibre\ebooks\pdf\render\serialize.py", line 484, in end
  File "site-packages\calibre\ebooks\pdf\render\links.py", line 61, in add_links
KeyError: u'mailing_list'

Python function terminated unexpectedly
  PDF Output failed, see log for details (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 186, 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 1156, in run
  File "site-packages\calibre\ebooks\conversion\plugins\pdf_output.py", line 119, in convert
  File "site-packages\calibre\ebooks\conversion\plugins\pdf_output.py", line 237, in convert_text
  File "site-packages\calibre\ebooks\conversion\plugins\pdf_output.py", line 263, in write
  File "site-packages\calibre\ebooks\pdf\render\from_html.py", line 196, in dump
Exception: PDF Output failed, see log for details

Related branches

Fixed in branch lp:calibre. The fix will be in the next release. calibre is usually released every Friday.

 status fixreleased

Changed in calibre:
status: New → Fix Released
cuong (cuong-ngox) on 2014-04-02
Changed in calibre:
assignee: nobody → cuong (cuong-ngox)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers