Enthusiast
Posts: 31
Karma: 10
Join Date: Jan 2021
Location: UK
Device: Kobo Glo HD, Kobo Libra2, Kindle
a book which won't convert
Hello,
I'm hoping someone can help me please. I am trying to convert some books to KEPUB format, and most of them have worked beautifully. Unfortunately, there is one which won't convert. I've tried several times and I get the error message pasted below.
The file I'm trying to convert is attached.
Does anyone understand why it won't work?
Spoiler :
calibre, version 5.40.0 (win32, embedded-python: True)
Conversion error: Failed: Convert book 1 of 1 (The hanging tree)
Convert book 1 of 1 (The hanging tree)
DeDRM v7.2.1: Trying to decrypt pl8a1h2s.azw3
Using Library AlfCrypto DLL/DYLIB/SO
Using Library AlfCrypto DLL/DYLIB/SO
MobiDeDrm v1.0.
Copyright © 2008-2020 The Dark Reverser, Apprentice Harper et al.
Decrypting Kindle Format 8 ebook: The Hanging Tree: The Sixth PC Grant Mystery (PC Peter Grant)
Got DSN key from database default_key
Found 4 keys to try after 0.1 seconds
Crypto Type is: 0
This book is not encrypted.
Decryption succeeded after 0.1 seconds
DeDRM v7.2.1: Finished after 0.1 seconds
Conversion options changed from defaults:
read_metadata_from_opf: 'C:\\Users\\marym\\AppData\\Local\\Temp\\calibre__ bntw3a0\\vzjzatzy.opf'
insert_blank_line_size: 0.8
base_font_size: 12.0
cover: 'C:\\Users\\marym\\AppData\\Local\\Temp\\calibre__ bntw3a0\\_r3iuiy8.jpeg'
insert_metadata: True
verbose: 2
input_profile: 'kindle'
insert_blank_line: True
output_profile: 'kobo'
Resolved conversion options
calibre version: 5.40.0
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 12.0,
'book_producer': None,
'change_justification': 'original',
'chapter': "//*[((name()='h1' or name()='h2') and re:test(., "
"'\\s*((chapter|book|section|part)\\s+)|((prolog|p rologue|epilogue)(\\s+|$))', "
"'i')) or @class = 'chapter']",
'chapter_mark': 'pagebreak',
'comments': None,
'cover': 'C:\\Users\\marym\\AppData\\Local\\Temp\\calibre__ bntw3a0\\_r3iuiy8.jpeg',
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'dont_split_on_page_breaks': False,
'duplicate_links_in_toc': False,
'embed_all_fonts': False,
'embed_font_family': None,
'enable_heuristics': False,
'epub_flatten': False,
'epub_inline_toc': False,
'epub_toc_at_end': False,
'epub_version': '3',
'expand_css': False,
'extra_css': None,
'extract_to': None,
'filter_css': '',
'fix_indents': True,
'flow_size': 260,
'font_size_mapping': None,
'format_scene_breaks': True,
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.KindleInput object at 0x074B1CE8>,
'insert_blank_line': True,
'insert_blank_line_size': 0.8,
'insert_metadata': True,
'isbn': None,
'italicize_common_cases': True,
'keep_ligatures': False,
'kepub_clean_markup': True,
'kepub_disable_hyphenation': False,
'kepub_hyphenate': True,
'kepub_hyphenate_chars': 6,
'kepub_hyphenate_chars_after': 3,
'kepub_hyphenate_chars_before': 3,
'kepub_hyphenate_limit_lines': 2,
'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_default_epub_cover': False,
'no_inline_navbars': False,
'no_svg_cover': False,
'output_profile': <calibre.customize.profiles.KoboReaderOutput object at 0x074B1F88>,
'page_breaks_before': "//*[name()='h1' or name()='h2']",
'prefer_metadata_cover': False,
'preserve_cover_aspect_ratio': False,
'pretty_print': True,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': 'C:\\Users\\marym\\AppData\\Local\\Temp\\calibre__ bntw3a0\\vzjzatzy.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,
'toc_title': None,
'transform_css_rules': '[]',
'transform_html_rules': '[]',
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
DeDRM v7.2.1: Trying to decrypt qlqwugh1.azw3
MobiDeDrm v1.0.
Copyright © 2008-2020 The Dark Reverser, Apprentice Harper et al.
Decrypting Kindle Format 8 ebook: The Hanging Tree: The Sixth PC Grant Mystery (PC Peter Grant)
Got DSN key from database default_key
Found 4 keys to try after 0.0 seconds
Crypto Type is: 0
This book is not encrypted.
Decryption succeeded after 0.0 seconds
DeDRM v7.2.1: Finished after 0.0 seconds
InputFormatPlugin: MOBI Input running
on C:\Users\marym\AppData\Local\Temp\calibre__bntw3a0 \4kgq64q0.azw3
Found KF8 MOBI of type 'standalone'
Extracting text...
Parsing all content...
Parsing text/part0002.html ...
Parsing text/part0010.html ...
Parsing text/part0015.html ...
Parsing text/part0018.html ...
Parsing text/part0023.html ...
Parsing text/part0005.html ...
Parsing text/part0013.html ...
Parsing text/part0021.html ...
Parsing text/part0000.html ...
Parsing text/part0008.html ...
Parsing text/part0016.html ...
Parsing text/part0024.html ...
Parsing text/part0003.html ...
Parsing text/part0011.html ...
Parsing text/part0019.html ...
Parsing text/part0006.html ...
Parsing text/part0014.html ...
Parsing text/part0022.html ...
Parsing text/part0001.html ...
Parsing text/part0009.html ...
Parsing text/part0017.html ...
Parsing text/part0004.html ...
Parsing text/part0012.html ...
Parsing text/part0020.html ...
Parsing styles/0001.css ...
Parsing text/part0007.html ...
Referenced file 'styles/XXXXXXXXXXXXXXXX' not found
Reading TOC from NCX...
Merging user specified metadata...
Detecting structure...
Inserting metadata into book...
Flattening CSS and remapping font sizes...
Source base font size is 16.00000pt
Removing fake margins...
Found 9 items of level: div_1
Found 2 items of level: div_2
Found 1 items of level: div_3
Found 3338 items of level: p_1
Found 16 items of level: p_2
Found 4 items of level: p_5
Ignoring level p_5
Ignoring level p_2
Ignoring level div_3
div_1 left margin stats: Counter({'0': 1})
div_1 right margin stats: Counter({'0': 1})
div_2 left margin stats: Counter()
div_2 right margin stats: Counter()
p_1 left margin stats: Counter({'0': 3310, '32px': 16, '48px': 10, '72px': 1, '52px': 1})
p_1 right margin stats: Counter({'0': 3327, '48px': 10, '72px': 1})
Cleaning up manifest...
Trimming unused files from manifest...
Trimming 'images/00016.jpeg' from manifest
Creating KePub Output...
2022-04-23 12:28:54 [DEBUG] Running ePub conversion
Rescaling image from 650x1043 to 427x686 cover.jpeg
Splitting markup on page breaks and flow limits, if any...
Looking for large trees in text/part0002.html...
No large trees found
Looking for large trees in text/part0010.html...
No large trees found
Looking for large trees in text/part0015.html...
No large trees found
Looking for large trees in text/part0018.html...
No large trees found
Looking for large trees in text/part0023.html...
No large trees found
Looking for large trees in text/part0005.html...
No large trees found
Looking for large trees in text/part0013.html...
No large trees found
Splitting on page-break at id=calibre_pb_0
Splitting on page-break at id=calibre_pb_1
Looking for large trees in text/part0021.html...
No large trees found
Split into 2 parts
Looking for large trees in text/part0000.html...
No large trees found
Looking for large trees in text/part0008.html...
No large trees found
Looking for large trees in text/part0016.html...
No large trees found
Looking for large trees in text/part0024.html...
No large trees found
Looking for large trees in text/part0003.html...
No large trees found
Looking for large trees in text/part0011.html...
No large trees found
Looking for large trees in text/part0019.html...
No large trees found
Looking for large trees in jacket.xhtml...
No large trees found
Looking for large trees in text/part0006.html...
No large trees found
Looking for large trees in text/part0014.html...
No large trees found
Looking for large trees in text/part0022.html...
No large trees found
Looking for large trees in text/part0001.html...
No large trees found
Looking for large trees in text/part0009.html...
No large trees found
Looking for large trees in text/part0017.html...
No large trees found
Looking for large trees in text/part0004.html...
No large trees found
Looking for large trees in text/part0012.html...
No large trees found
Looking for large trees in text/part0020.html...
No large trees found
Looking for large trees in text/part0007.html...
No large trees found
2022-04-23 12:28:54 [INFO] Upgrading to EPUB 3...
2022-04-23 12:28:55 [DEBUG] Encrypting font:
Last edited by chaley; 04-23-2022 at 10:12 AM .
Reason: Add spoiler