Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 04-23-2022, 07:49 AM   #1
Clio
Enthusiast
Clio began at the beginning.
 
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
Clio is offline   Reply With Quote
Old 04-23-2022, 08:31 AM   #2
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 73,913
Karma: 315160596
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
https://www.mobileread.com/forums/sh...d.php?t=186697

Don't post copyright books to MobileRead. Attachment deleted.
pdurrant is offline   Reply With Quote
Advert
Old 04-23-2022, 09:57 AM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,328
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Your error message is incomplete. I suggest the first thing you do is install the 64bit version of calibre.
kovidgoyal is offline   Reply With Quote
Old 04-23-2022, 11:02 AM   #4
Clio
Enthusiast
Clio began at the beginning.
 
Posts: 31
Karma: 10
Join Date: Jan 2021
Location: UK
Device: Kobo Glo HD, Kobo Libra2, Kindle
Quote:
Originally Posted by kovidgoyal View Post
Your error message is incomplete. I suggest the first thing you do is install the 64bit version of calibre.
Thank you. I see that you are right about the error message. For some reason it doesn't want to let me copy and paste the entire message. I'm not sure why that is. But attached is a screenshot of the last part of the error message, in case that's useful.

I did as you suggested and installed the 64 bit Calibre, but I got the same result with that.
Attached Thumbnails
Click image for larger version

Name:	screenshot.jpg
Views:	107
Size:	423.2 KB
ID:	193431  
Clio is offline   Reply With Quote
Old 04-23-2022, 11:05 AM   #5
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,328
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
thats a problem in the kepub output plugin. You should post that in that plugins thread.
kovidgoyal is offline   Reply With Quote
Advert
Old 04-23-2022, 12:40 PM   #6
Clio
Enthusiast
Clio began at the beginning.
 
Posts: 31
Karma: 10
Join Date: Jan 2021
Location: UK
Device: Kobo Glo HD, Kobo Libra2, Kindle
Quote:
Originally Posted by kovidgoyal View Post
thats a problem in the kepub output plugin. You should post that in that plugins thread.
Thank you! I have done as you suggested.
Clio is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
AZW3 won't convert bartveld Calibre 16 10-22-2017 07:46 AM
One book of series won't convert... carpetmojo Conversion 6 10-07-2013 06:04 AM
Won't convert Cookbook Sydney's Mom Conversion 4 07-26-2013 08:53 PM
Won't convert- Value Error??? Help Krazybaker Calibre 2 01-27-2010 06:29 PM
Mobi book won't convert to ePub HarryT Calibre 4 08-09-2009 11:20 AM


All times are GMT -4. The time now is 07:32 PM.


MobileRead.com is a privately owned, operated and funded community.