Comment 2 for bug 2026795

Revision history for this message
dan (ohoro) wrote : Re: [Bug 2026795] Re: can't convert epub to lit

Thanks man. Just for the update I supported you. Love the program.

On Wed, Jul 12, 2023 at 12:35 AM Kovid Goyal <email address hidden>
wrote:

> Fixed in branch master. The fix will be in the next release. calibre is
> usually released every alternate Friday.
>
> ** Changed in: calibre
> Status: New => Fix Released
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/2026795
>
> Title:
> can't convert epub to lit
>
> Status in calibre:
> Fix Released
>
> Bug description:
> Updated to 6.22 and since can't convert files to lit format, log
> below.
>
> calibre, version 6.22.0 (win32, embedded-python: True)
> Conversion error: Failed: Convert book 1 of 1 ( )
>
> Convert book 1 of 1 ( )
> Conversion options changed from defaults:
> cover: 'C:\\Users\\
> \\AppData\\Local\\Temp\\calibre_z2pb5jtp\\j6un7w16.jpeg'
> verbose: 2
> read_metadata_from_opf: 'C:\\Users\\
> \\AppData\\Local\\Temp\\calibre_z2pb5jtp\\q4nhdr_f.opf'
> Resolved conversion options
> calibre version: 6.22.0
> {'asciiize': False,
> 'author_sort': None,
> 'authors': None,
> 'base_font_size': 0.0,
> 'book_producer': None,
> 'change_justification': 'original',
> 'chapter': "//*[((name()='h1' or name()='h2') and re:test(., "
>
> "'\\s*((chapter|book|section|part)\\s+)|((prolog|prologue|epilogue)(\\s+|$))',
> "
> "'i')) or @class = 'chapter']",
> 'chapter_mark': 'pagebreak',
> 'comments': None,
> 'cover': 'C:\\Users\\
> \\AppData\\Local\\Temp\\calibre_z2pb5jtp\\j6un7w16.jpeg',
> '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': '',
> '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
> 0x000001A8B9AF3250>,
> '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,
> 'output_profile': <calibre.customize.profiles.OutputProfile object at
> 0x000001A8B9AF3520>,
> 'page_breaks_before': '/',
> 'prefer_metadata_cover': False,
> 'pretty_print': False,
> 'pubdate': None,
> 'publisher': None,
> 'rating': None,
> 'read_metadata_from_opf': 'C:\\Users\\
> \\AppData\\Local\\Temp\\calibre_z2pb5jtp\\q4nhdr_f.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': '',
> '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,
> 'transform_css_rules': '[]',
> 'transform_html_rules': '[]',
> 'unsmarten_punctuation': False,
> 'unwrap_lines': True,
> 'use_auto_toc': False,
> 'verbose': 2}
> InputFormatPlugin: EPUB Input running
> on C:\Users\ \AppData\Local\Temp\calibre_z2pb5jtp\6d9u0_ch.epub
> Found HTML cover OEBPS/Text/cover_page.xhtml
> Parsing all content...
> Parsing OEBPS/Text/part0000.xhtml ...
> Parsing OEBPS/Text/cover_page.xhtml ...
> Parsing OEBPS/Text/part0004.xhtml ...
> Parsing OEBPS/Text/part0002.xhtml ...
> Parsing OEBPS/Text/part0005.xhtml ...
> Parsing OEBPS/Styles/style0001.css ...
> Parsing OEBPS/Text/part0001.xhtml ...
> Parsing OEBPS/Text/part0007.xhtml ...
> Parsing OEBPS/Text/part0003.xhtml ...
> Parsing OEBPS/Text/part0006.xhtml ...
> Reading TOC from NCX...
> Merging user specified metadata...
> Detecting structure...
> Flattening CSS and remapping font sizes...
> Source base font size is 12.00000pt
> Removing fake margins...
> Found 8 items of level: div_1
> Found 8 items of level: div_2
> Found 16 items of level: div_3
> Found 16 items of level: div_4
> Found 5156 items of level: p_5
> Found 12 items of level: div_5
> Ignoring level div_4
> Ignoring level div_5
> Ignoring level div_3
> div_1 left margin stats: Counter({'0': 8})
> div_1 right margin stats: Counter({'0': 8})
> div_2 left margin stats: Counter({'0': 7})
> div_2 right margin stats: Counter({'0': 7})
> p_5 left margin stats: Counter({'0': 5156})
> p_5 right margin stats: Counter({'0': 5156})
> Cleaning up manifest...
> Trimming unused files from manifest...
> Trimming 'OEBPS/Text/cover_page.xhtml' from manifest
> Creating LIT Output...
> Splitting markup on page breaks and flow limits, if any...
> Generating in-line TOC...
> Applying case-transforming CSS...
> Parsing manglecase.css ...
> Parsing tocstyle.css ...
> Rasterizing SVG images...
> File 'OEBPS/Fonts/font00222.ttf' of unknown media-type
> 'application/x-font-ttf' excluded from output.
> File 'OEBPS/Fonts/font00228.ttf' of unknown media-type
> 'application/x-font-ttf' excluded from output.
> File 'OEBPS/Fonts/font00221.ttf' of unknown media-type
> 'application/x-font-ttf' excluded from output.
> File 'OEBPS/Fonts/font00227.ttf' of unknown media-type
> 'application/x-font-ttf' excluded from output.
> File 'OEBPS/Fonts/font00226.ttf' of unknown media-type
> 'application/x-font-ttf' excluded from output.
> File 'OEBPS/Fonts/font00224.ttf' of unknown media-type
> 'application/x-font-ttf' excluded from output.
> File 'OEBPS/Fonts/font00230.ttf' of unknown media-type
> 'application/x-font-ttf' excluded from output.
> File 'OEBPS/Fonts/font00223.ttf' of unknown media-type
> 'application/x-font-ttf' excluded from output.
> File 'OEBPS/Fonts/font00225.ttf' of unknown media-type
> 'application/x-font-ttf' excluded from output.
> File 'OEBPS/Fonts/font00229.ttf' of unknown media-type
> 'application/x-font-ttf' excluded from output.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/calibre/+bug/2026795/+subscriptions
>
>