ive been trying to convert a dedrm epub (bought from kobo) to pdf without success. ive been using all sorts of software ie calibre, epubor ultimate and other available online.
the conversion just get stuck in middle of conversion. for example if i use calibre, the conversion will stuck at 47% for 2 hours before reported as fail.
can someone help please
here is the log with calibre:
the conversion just get stuck in middle of conversion. for example if i use calibre, the conversion will stuck at 47% for 2 hours before reported as fail.
can someone help please
here is the log with calibre:
Code:
calibre, version 2.70.0 (win32, embedded-python: True)
Conversion Error: Failed: Convert book 1 of 1 (Essential Examination-3e)
Convert book 1 of 1 (Essential Examination-3e)
Resolved conversion options
calibre version: 2.70.0
{'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\\Akmal\\AppData\\Local\\Temp\\calibre_u85g40\\gnu0wc.jpeg',
'custom_size': None,
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'duplicate_links_in_toc': False,
'embed_all_fonts': False,
'embed_font_family': None,
'enable_heuristics': False,
'expand_css': 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 0x00000000028D8EF0>,
'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': 72.0,
'margin_left': 72.0,
'margin_right': 72.0,
'margin_top': 72.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.GenericEink object at 0x00000000064B92B0>,
'override_profile_size': False,
'page_breaks_before': u'/',
'paper_size': u'letter',
'pdf_add_toc': False,
'pdf_default_font_size': 20,
'pdf_footer_template': None,
'pdf_header_template': None,
'pdf_mark_links': False,
'pdf_mono_family': u'Courier New',
'pdf_mono_font_size': 16,
'pdf_page_numbers': False,
'pdf_sans_family': u'MS Shell Dlg 2',
'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\\Akmal\\AppData\\Local\\Temp\\calibre_u85g40\\3lvtqg.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,
'toc_title': None,
'transform_css_rules': '[]',
'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\Akmal\AppData\Local\Temp\calibre_u85g40\gzsjrg.epub
Parsing all content...
Parsing OEBPS/page112.xhtml ...
Parsing OEBPS/page008.xhtml ...
Parsing OEBPS/page113.xhtml ...
Parsing OEBPS/page009.xhtml ...
Parsing OEBPS/page006.xhtml ...
Parsing OEBPS/page098.xhtml ...
Parsing OEBPS/page099.xhtml ...
Parsing OEBPS/page001.xhtml ...
Parsing OEBPS/page102.xhtml ...
Parsing OEBPS/page104.xhtml ...
Parsing OEBPS/page106.xhtml ...
Parsing OEBPS/page107.xhtml ...
Parsing OEBPS/page001a.xhtml ...
Parsing OEBPS/page109.xhtml ...
Parsing OEBPS/page110.xhtml ...
Parsing OEBPS/page111.xhtml ...
Parsing OEBPS/page003.xhtml ...
Parsing OEBPS/page114.xhtml ...
Parsing OEBPS/page115.xhtml ...
Parsing OEBPS/page074.xhtml ...
Parsing OEBPS/page116.xhtml ...
Parsing OEBPS/page117.xhtml ...
Parsing OEBPS/page004.xhtml ...
Parsing OEBPS/page118.xhtml ...
Parsing OEBPS/page119.xhtml ...
Parsing OEBPS/page120.xhtml ...
Parsing OEBPS/page121.xhtml ...
Parsing OEBPS/page122.xhtml ...
Parsing OEBPS/page123.xhtml ...
Parsing OEBPS/page084.xhtml ...
Parsing OEBPS/css/stylesheet_001-025.css ...
COLOR_VALUE: No match: ('FUNCTION', u'RGB(', 55, 17)
COLOR_VALUE: No match for None in Choice(HEX color, Named Color, Sequence(FUNCTION, Choice(unary +-, number, percentage), Sequence(comma, Choice(unary +-, number, percentage)), end FUNC ")"), Sequence(FUNCTION, Choice(unary +-, number, percentage), Sequence(comma, Choice(unary +-, number, percentage)), end FUNC ")"))
No content to parse.
PropertyValue: No match: ('CHAR', u')', 55, 26)
PropertyValue: Unknown syntax or no value: RGB(x,x,x)
CSSStyleDeclaration: Syntax Error in Property: color:RGB(x,x,x)
Parsing OEBPS/page124.xhtml ...
Parsing OEBPS/nav.xhtml ...
Parsing OEBPS/page126.xhtml ...
Parsing OEBPS/css/stylesheet_026-050a.css ...
COLOR_VALUE: No match: ('FUNCTION', u'RGB(', 56, 17)
COLOR_VALUE: No match for None in Choice(HEX color, Named Color, Sequence(FUNCTION, Choice(unary +-, number, percentage), Sequence(comma, Choice(unary +-, number, percentage)), end FUNC ")"), Sequence(FUNCTION, Choice(unary +-, number, percentage), Sequence(comma, Choice(unary +-, number, percentage)), end FUNC ")"))
No content to parse.
PropertyValue: No match: ('CHAR', u')', 56, 26)
PropertyValue: Unknown syntax or no value: RGB(x,x,x)
CSSStyleDeclaration: Syntax Error in Property: color:RGB(x,x,x)
Parsing OEBPS/page127.xhtml ...
Parsing OEBPS/page128.xhtml ...
Parsing OEBPS/css/stylesheet_101-125.css ...
COLOR_VALUE: No match: ('FUNCTION', u'RGB(', 55, 17)
COLOR_VALUE: No match for None in Choice(HEX color, Named Color, Sequence(FUNCTION, Choice(unary +-, number, percentage), Sequence(comma, Choice(unary +-, number, percentage)), end FUNC ")"), Sequence(FUNCTION, Choice(unary +-, number, percentage), Sequence(comma, Choice(unary +-, number, percentage)), end FUNC ")"))
No content to parse.
PropertyValue: No match: ('CHAR', u')', 55, 26)
PropertyValue: Unknown syntax or no value: RGB(x,x,x)
CSSStyleDeclaration: Syntax Error in Property: color:RGB(x,x,x)
Parsing OEBPS/css/stylesheet_101-125a.css ...
COLOR_VALUE: No match: ('FUNCTION', u'RGB(', 56, 17)
COLOR_VALUE: No match for None in Choice(HEX color, Named Color, Sequence(FUNCTION, Choice(unary +-, number, percentage), Sequence(comma, Choice(unary +-, number, percentage)), end FUNC ")"), Sequence(FUNCTION, Choice(unary +-, number, percentage), Sequence(comma, Choice(unary +-, number, percentage)), end FUNC ")"))
No content to parse.
PropertyValue: No match: ('CHAR', u')', 56, 26)
PropertyValue: Unknown syntax or no value: RGB(x,x,x)
CSSStyleDeclaration: Syntax Error in Property: color:RGB(x,x,x)
Parsing OEBPS/css/stylesheet_126-150.css ...
COLOR_VALUE: No match: ('FUNCTION', u'RGB(', 55, 17)
COLOR_VALUE: No match for None in Choice(HEX color, Named Color, Sequence(FUNCTION, Choice(unary +-, number, percentage), Sequence(comma, Choice(unary +-, number, percentage)), end FUNC ")"), Sequence(FUNCTION, Choice(unary +-, number, percentage), Sequence(comma, Choice(unary +-, number, percentage)), end FUNC ")"))
No content to parse.
PropertyValue: No match: ('CHAR', u')', 55, 26)
PropertyValue: Unknown syntax or no value: RGB(x,x,x)
CSSStyleDeclaration: Syntax Error in Property: color:RGB(x,x,x)
Parsing OEBPS/page130.xhtml ...
Parsing OEBPS/css/stylesheet_151-175.css ...
COLOR_VALUE: No match: ('FUNCTION', u'RGB(', 55, 17)
COLOR_VALUE: No match for None in Choice(HEX color, Named Color, Sequence(FUNCTION, Choice(unary +-, number, percentage), Sequence(comma, Choice(unary +-, number, percentage)), end FUNC ")"), Sequence(FUNCTION, Choice(unary +-, number, percentage), Sequence(comma, Choice(unary +-, number, percentage)), end FUNC ")"))
No content to parse.
PropertyValue: No match: ('CHAR', u')', 55, 26)
PropertyValue: Unknown syntax or no value: RGB(x,x,x)
CSSStyleDeclaration: Syntax Error in Property: color:RGB(x,x,x)
Parsing OEBPS/page131.xhtml ...
Parsing OEBPS/page094.xhtml ...
Parsing OEBPS/page132.xhtml ...
Parsing OEBPS/page133.xhtml ...
Parsing OEBPS/page101.xhtml ...
Parsing OEBPS/page086.xhtml ...
Parsing OEBPS/page015.xhtml ...
Parsing OEBPS/page075.xhtml ...
Parsing OEBPS/page088.xhtml ...
Parsing OEBPS/css/stylesheet_001-025a.css ...
COLOR_VALUE: No match: ('FUNCTION', u'RGB(', 56, 17)
COLOR_VALUE: No match for None in Choice(HEX color, Named Color, Sequence(FUNCTION, Choice(unary +-, number, percentage), Sequence(comma, Choice(unary +-, number, percentage)), end FUNC ")"), Sequence(FUNCTION, Choice(unary +-, number, percentage), Sequence(comma, Choice(unary +-, number, percentage)), end FUNC ")"))
No content to parse.
PropertyValue: No match: ('CHAR', u')', 56, 26)
PropertyValue: Unknown syntax or no value: RGB(x,x,x)
CSSStyleDeclaration: Syntax Error in Property: color:RGB(x,x,x)
Parsing OEBPS/css/stylesheet_026-050.css ...
COLOR_VALUE: No match: ('FUNCTION', u'RGB(', 56, 17)
COLOR_VALUE: No match for None in Choice(HEX color, Named Color, Sequence(FUNCTION, Choice(unary +-, number, percentage), Sequence(comma, Choice(unary +-, number, percentage)), end FUNC ")"), Sequence(FUNCTION, Choice(unary +-, number, percentage), Sequence(comma, Choice(unary +-, number, percentage)), end FUNC ")"))
No content to parse.
PropertyValue: No match: ('CHAR', u')', 56, 26)
PropertyValue: Unknown syntax or no value: RGB(x,x,x)
CSSStyleDeclaration: Syntax Error in Property: color:RGB(x,x,x)
Parsing OEBPS/page091.xhtml ...
Parsing OEBPS/page066.xhtml ...
Parsing OEBPS/css/stylesheet_051-075a.css ...
COLOR_VALUE: No match: ('FUNCTION', u'RGB(', 56, 17)
COLOR_VALUE: No match for None in Choice(HEX color, Named Color, Sequence(FUNCTION, Choice(unary +-, number, percentage), Sequence(comma, Choice(unary +-, number, percentage)), end FUNC ")"), Sequence(FUNCTION, Choice(unary +-, number, percentage), Sequence(comma, Choice(unary +-, number, percentage)), end FUNC ")"))
No content to parse.
PropertyValue: No match: ('CHAR', u')', 56, 26)
PropertyValue: Unknown syntax or no value: RGB(x,x,x)
CSSStyleDeclaration: Syntax Error in Property: color:RGB(x,x,x)
Parsing OEBPS/page020.xhtml ...
Parsing OEBPS/page018.xhtml ...
Parsing OEBPS/page129.xhtml ...
Parsing OEBPS/page012.xhtml ...
Parsing OEBPS/page103.xhtml ...
Parsing OEBPS/page096.xhtml ...
Parsing OEBPS/page002.xhtml ...
Parsing OEBPS/page025.xhtml ...
Parsing OEBPS/page019.xhtml ...
Parsing OEBPS/page077.xhtml ...
Parsing OEBPS/page026.xhtml ...
Parsing OEBPS/page027.xhtml ...
Parsing OEBPS/page028.xhtml ...
Parsing OEBPS/page029.xhtml ...
Parsing OEBPS/page030.xhtml ...
Parsing OEBPS/page031.xhtml ...
Parsing OEBPS/page032.xhtml ...
Parsing OEBPS/page033.xhtml ...
Parsing OEBPS/page034.xhtml ...
Parsing OEBPS/page035.xhtml ...
Parsing OEBPS/page036.xhtml ...
Parsing OEBPS/page037.xhtml ...
Parsing OEBPS/page038.xhtml ...
Parsing OEBPS/page039.xhtml ...
Parsing OEBPS/page040.xhtml ...
Parsing OEBPS/page041.xhtml ...
Parsing OEBPS/page042.xhtml ...
Parsing OEBPS/page043.xhtml ...
Parsing OEBPS/page044.xhtml ...
Parsing OEBPS/page045.xhtml ...
Parsing OEBPS/page046.xhtml ...
Parsing OEBPS/css/stylesheet_051-075.css ...
COLOR_VALUE: No match: ('FUNCTION', u'RGB(', 55, 25)
COLOR_VALUE: No match for None in Choice(HEX color, Named Color, Sequence(FUNCTION, Choice(unary +-, number, percentage), Sequence(comma, Choice(unary +-, number, percentage)), end FUNC ")"), Sequence(FUNCTION, Choice(unary +-, number, percentage), Sequence(comma, Choice(unary +-, number, percentage)), end FUNC ")"))
No content to parse.
PropertyValue: No match: ('CHAR', u')', 55, 40)
PropertyValue: Unknown syntax or no value: RGB(255,255,255)
CSSStyleDeclaration: Syntax Error in Property: color:RGB(255,255,255)
Parsing OEBPS/page047.xhtml ...
Parsing OEBPS/page048.xhtml ...
Parsing OEBPS/page049.xhtml ...
Parsing OEBPS/page050.xhtml ...
Parsing OEBPS/page051.xhtml ...
Parsing OEBPS/page150.xhtml ...
Parsing OEBPS/page052.xhtml ...
Parsing OEBPS/page053.xhtml ...
Parsing OEBPS/page054.xhtml ...
Parsing OEBPS/page055.xhtml ...
Parsing OEBPS/page056.xhtml ...
Parsing OEBPS/page057.xhtml ...
Parsing OEBPS/page058.xhtml ...
Parsing OEBPS/page059.xhtml ...
Parsing OEBPS/page060.xhtml ...
Parsing OEBPS/page061.xhtml ...
Parsing OEBPS/page062.xhtml ...
Parsing OEBPS/page063.xhtml ...
Parsing OEBPS/page064.xhtml ...
Parsing OEBPS/page065.xhtml ...
Parsing OEBPS/page068.xhtml ...
Parsing OEBPS/page153.xhtml ...
Parsing OEBPS/page011.xhtml ...
Parsing OEBPS/page070.xhtml ...
Parsing OEBPS/page071.xhtml ...
Parsing OEBPS/page073.xhtml ...
Parsing OEBPS/page013.xhtml ...
Parsing OEBPS/page069.xhtml ...
Parsing OEBPS/page076.xhtml ...
Parsing OEBPS/css/stylesheet_076-100.css ...
COLOR_VALUE: No match: ('FUNCTION', u'RGB(', 55, 17)
COLOR_VALUE: No match for None in Choice(HEX color, Named Color, Sequence(FUNCTION, Choice(unary +-, number, percentage), Sequence(comma, Choice(unary +-, number, percentage)), end FUNC ")"), Sequence(FUNCTION, Choice(unary +-, number, percentage), Sequence(comma, Choice(unary +-, number, percentage)), end FUNC ")"))
No content to parse.
PropertyValue: No match: ('CHAR', u')', 55, 26)
PropertyValue: Unknown syntax or no value: RGB(x,x,x)
CSSStyleDeclaration: Syntax Error in Property: color:RGB(x,x,x)
Parsing OEBPS/page010.xhtml ...
Parsing OEBPS/page078.xhtml ...
Parsing OEBPS/cover.xhtml ...
Parsing OEBPS/page079.xhtml ...
Parsing OEBPS/page080.xhtml ...
Parsing OEBPS/page081.xhtml ...
Parsing OEBPS/page082.xhtml ...
Parsing OEBPS/page083.xhtml ...
Parsing OEBPS/page021.xhtml ...
Parsing OEBPS/page005.xhtml ...
Parsing OEBPS/page085.xhtml ...
Parsing OEBPS/page125.xhtml ...
Parsing OEBPS/page087.xhtml ...
Parsing OEBPS/page016.xhtml ...
Parsing OEBPS/page017.xhtml ...
Parsing OEBPS/page007.xhtml ...
Parsing OEBPS/page090.xhtml ...
Parsing OEBPS/page092.xhtml ...
Parsing OEBPS/page093.xhtml ...
Parsing OEBPS/page022.xhtml ...
Parsing OEBPS/page095.xhtml ...
Parsing OEBPS/page024.xhtml ...
Parsing OEBPS/page097.xhtml ...
Parsing OEBPS/page023.xhtml ...
Parsing OEBPS/page100.xhtml ...
Parsing OEBPS/page067.xhtml ...
Parsing OEBPS/page134.xhtml ...
Parsing OEBPS/page135.xhtml ...
Parsing OEBPS/css/stylesheet_126-150a.css ...
COLOR_VALUE: No match: ('FUNCTION', u'RGB(', 56, 17)
COLOR_VALUE: No match for None in Choice(HEX color, Named Color, Sequence(FUNCTION, Choice(unary +-, number, percentage), Sequence(comma, Choice(unary +-, number, percentage)), end FUNC ")"), Sequence(FUNCTION, Choice(unary +-, number, percentage), Sequence(comma, Choice(unary +-, number, percentage)), end FUNC ")"))
No content to parse.
PropertyValue: No match: ('CHAR', u')', 56, 26)
PropertyValue: Unknown syntax or no value: RGB(x,x,x)
CSSStyleDeclaration: Syntax Error in Property: color:RGB(x,x,x)
Parsing OEBPS/page136.xhtml ...
Parsing OEBPS/page137.xhtml ...
Parsing OEBPS/page138.xhtml ...
Parsing OEBPS/page139.xhtml ...
Parsing OEBPS/page140.xhtml ...
Parsing OEBPS/page141.xhtml ...
Parsing OEBPS/page142.xhtml ...
Parsing OEBPS/page105.xhtml ...
Parsing OEBPS/page143.xhtml ...
Parsing OEBPS/page144.xhtml ...
Parsing OEBPS/page145.xhtml ...
Parsing OEBPS/page146.xhtml ...
Parsing OEBPS/page147.xhtml ...
Parsing OEBPS/page148.xhtml ...
Parsing OEBPS/page149.xhtml ...
Parsing OEBPS/page151.xhtml ...
Parsing OEBPS/page152.xhtml ...
Parsing OEBPS/page154.xhtml ...
Parsing OEBPS/page155.xhtml ...
Parsing OEBPS/page089.xhtml ...
Parsing OEBPS/page108.xhtml ...
Parsing OEBPS/page014.xhtml ...
Parsing OEBPS/page072.xhtml ...
Reading TOC from NCX...
Merging user specified metadata...
Detecting structure...
Flattening CSS and remapping font sizes...
Source base font size is 35.20800pt
Removing fake margins...
Found 156 items of level: div_1
Found 15579 items of level: div_2
div_1 left margin stats: Counter({u'': 148})
div_1 right margin stats: Counter({u'': 148})
div_2 left margin stats: Counter()
div_2 right margin stats: Counter()
Cleaning up manifest...
Trimming unused files from manifest...
Trimming u'OEBPS/images/cover.jpg' from manifest
Trimming u'OEBPS/toc.ncx' from manifest
Trimming u'OEBPS/nav.xhtml' from manifest
Creating PDF Output...
Converting input as a text based book...
Serializing oeb input to disk for processing...
Rendering pages to PDF...
Processing C:\Users\Akmal\AppData\Local\Temp\calibre_u85g40\ae9t7u_pdf_out\OEBPS\page001a.xhtml...
JS: Viewport argument value "1056px;" for key "width" was truncated to its numeric prefix. Note that ';' is not a separator in viewport values. The list should be comma-separated.
JS: Viewport argument value "736px;" for key "height" was truncated to its numeric prefix. Note that ';' is not a separator in viewport values. The list should be comma-separated.
Processing C:\Users\Akmal\AppData\Local\Temp\calibre_u85g40\ae9t7u_pdf_out\OEBPS\page001.xhtml...
JS: Viewport argument value "1056px;" for key "width" was truncated to its numeric prefix. Note that ';' is not a separator in viewport values. The list should be comma-separated.
JS: Viewport argument value "736px;" for key "height" was truncated to its numeric prefix. Note that ';' is not a separator in viewport values. The list should be comma-separated.
Processing C:\Users\Akmal\AppData\Local\Temp\calibre_u85g40\ae9t7u_pdf_out\OEBPS\page002.xhtml...
JS: Viewport argument value "1056px;" for key "width" was truncated to its numeric prefix. Note that ';' is not a separator in viewport values. The list should be comma-separated.
JS: Viewport argument value "736px;" for key "height" was truncated to its numeric prefix. Note that ';' is not a separator in viewport values. The list should be comma-separated.
Rendering failed
Traceback (most recent call last):
File "site-packages\calibre\ebooks\pdf\render\from_html.py", line 289, in render_html
File "site-packages\calibre\ebooks\pdf\render\from_html.py", line 420, in do_paged_render
File "site-packages\calibre\ebooks\pdf\render\engine.py", line 341, in add_links
File "site-packages\calibre\ebooks\pdf\render\links.py", line 44, in add
File "site-packages\calibre\ebooks\pdf\render\links.py", line 24, in __init__
File "site-packages\calibre\ebooks\pdf\render\serialize.py", line 313, in get_pageref
File "site-packages\calibre\ebooks\pdf\render\serialize.py", line 193, in get_ref
IndexError: list index out of range
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 195, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 33, in gui_convert_override
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 26, in gui_convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 1226, in run
File "site-packages\calibre\ebooks\conversion\plugins\pdf_output.py", line 151, in convert
File "site-packages\calibre\ebooks\conversion\plugins\pdf_output.py", line 221, in convert_text
File "site-packages\calibre\ebooks\conversion\plugins\pdf_output.py", line 247, in write
File "site-packages\calibre\ebooks\pdf\render\from_html.py", line 245, in dump
Exception: PDF Output failed, see log for details