View Single Post
Old 12-02-2020, 04:57 AM   #1
anacreon
Guru
anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.
 
anacreon's Avatar
 
Posts: 978
Karma: 3475832
Join Date: May 2012
Location: France
Device: Elipsa, Sage, Libra 2
problems converting a kindle book I've just bought

I have the 1.17 version of Kindle, and up to now no problem converting to epubs, but I've tried twice to convert this book and I have this error message:
Spoiler:
calibre, version 4.23.0 (win32, embedded-python: True)
Erreur lors de la conversion: Échoué: Conversion du livre 1 sur 1 (The Boys and Their Baby)

Conversion du livre 1 sur 1 (The Boys and Their Baby)
C:\Programmes Portables\Calibre Port\Calibre\\app\pylib.zip\dateutil\parser\_parse r.py:1177: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
Conversion options changed from defaults:
epub_version: u'3'
insert_blank_line: True
output_profile: u'tablet'
change_justification: u'justify'
verbose: 2
filter_css: u',margin,color,padding-right,margin-left,background-color,background,padding-bottom,padding-top,margin-right,margin-bottom,font-family,float,margin-top,padding-left,padding'
base_font_size: 12.0
read_metadata_from_opf: u'C:\\Users\\isabe\\AppData\\Local\\Temp\\calibre_ 0fv_r3\\glbmel.opf'
remove_paragraph_spacing: True
extra_css: u'body {orphans: 1;}\ndiv, p, blockquote {line-height: 1.1},\npage { margin-bottom: 5pt; margin-top: 5pt}'
cover: u'C:\\Users\\isabe\\AppData\\Local\\Temp\\calibre_ 0fv_r3\\bbjpaz.jpeg'
html_unwrap_factor: 0.3
remove_paragraph_spacing_indent_size: 0.0
Resolved conversion options
calibre version: 4.23.0
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 12.0,
'book_producer': None,
'change_justification': u'justify',
'chapter': u"//*[((name()='h1' or name()='h2') and re:test(., '\\s*((chapter|book|section|part)\\s+)|((prolog|pr ologue|epilogue)(\\s+|$))', 'i')) or @class = 'chapter']",
'chapter_mark': u'pagebreak',
'comments': None,
'cover': u'C:\\Users\\isabe\\AppData\\Local\\Temp\\calibre_ 0fv_r3\\bbjpaz.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': u'3',
'expand_css': False,
'extra_css': u'body {orphans: 1;}\ndiv, p, blockquote {line-height: 1.1},\npage { margin-bottom: 5pt; margin-top: 5pt}',
'extract_to': None,
'filter_css': u',margin,color,padding-right,margin-left,background-color,background,padding-bottom,padding-top,margin-right,margin-bottom,font-family,float,margin-top,padding-left,padding',
'fix_indents': True,
'flow_size': 260,
'font_size_mapping': None,
'format_scene_breaks': True,
'html_unwrap_factor': 0.3,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x000001D594D6C948>,
'insert_blank_line': True,
'insert_blank_line_size': 0.5,
'insert_metadata': False,
'isbn': None,
'italicize_common_cases': True,
'keep_ligatures': False,
'kepub_clean_markup': True,
'kepub_hyphenate': True,
'kepub_replace_lang': True,
'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.TabletOutput object at 0x000001D594E4B408>,
'page_breaks_before': u"//*[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': u'C:\\Users\\isabe\\AppData\\Local\\Temp\\calibre_ 0fv_r3\\glbmel.opf',
'remove_fake_margins': True,
'remove_first_image': False,
'remove_paragraph_spacing': True,
'remove_paragraph_spacing_indent_size': 0.0,
'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': '[]',
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: MOBI Input running
on C:\Users\isabe\AppData\Local\Temp\calibre_0fv_r3\a oyux_.azw3
Found KF8 MOBI of type u'standalone'
Extracting text...
Parsing all content...
Parsing text/part0011.html ...
Parsing text/part0010.html ...
Parsing text/part0020.html ...
Parsing text/part0004.html ...
Parsing text/part0019.html ...
Parsing text/part0003.html ...
Parsing text/part0002.html ...
Parsing text/part0018.html ...
Parsing text/part0001.html ...
Parsing styles/0001.css ...
Parsing text/part0016.html ...
Parsing text/part0000.html ...
Parsing text/part0015.html ...
Parsing text/part0014.html ...
Parsing text/part0013.html ...
Parsing text/part0008.html ...
Parsing text/part0017.html ...
Parsing text/part0005.html ...
Parsing text/part0009.html ...
Parsing text/part0007.html ...
Parsing text/part0012.html ...
Parsing text/part0006.html ...
Referenced file u'styles/XXXXXXXXXXXXXXXX' not found
Referenced file u'text/page-template.xpgt' not found
Reading TOC from NCX...
Merging user specified metadata...
Detecting structure...
Detected chapter: Contents
Detected chapter: CHAPTER ONEWELCOME TOSAN FRANCISCO
Detected chapter: CHAPTER TWOTHE PACIFIC
Detected chapter: CHAPTER THREEANYONECAN WHISTLE
Detected chapter: CHAPTER FOUROLD WORLD,NEW WORLD
Detected chapter: CHAPTER FIVEPRIVATEEDUCATION
Detected chapter: CHAPTER SIXGOLDEN GATE
Detected chapter: CHAPTER SEVENTHE WOMENAND THE BOYS
Detected chapter: CHAPTER EIGHTTABOO
Detected chapter: CHAPTER NINEI’VE GOT ACRUSH ON YOU
Detected chapter: CHAPTER TENLEPROSY
Detected chapter: CHAPTER ELEVENHAPPY BIRTHDAY,DEAR CHRISTOPHER
Detected chapter: CHAPTER TWELVEALL ALONE
Detected chapter: CHAPTER THIRTEENADAM’S PENIS
Detected chapter: CHAPTER FOURTEENTHE WOUNDEDHERO
Detected chapter: CHAPTER FIFTEENON THETHRESHOLD
Detected chapter: Permissions Acknowledgments
Flattening CSS and remapping font sizes...
Filtering CSS properties: , padding-bottom, padding-top, float, margin-bottom, background, font-family, color, background-color, padding-left, margin, margin-left, padding-right, padding, margin-right, margin-top
Source base font size is 12.00000pt
Removing fake margins...
Found 1 items of level: div_2
Found 28 items of level: div_1
Found 1046 items of level: p_1
Found 41 items of level: p_2
Found 9 items of level: p_3
Ignoring level p_3
div_2 left margin stats: Counter({u'': 1})
div_2 right margin stats: Counter({u'': 1})
div_1 left margin stats: Counter({u'': 4})
div_1 right margin stats: Counter({u'': 4})
p_1 left margin stats: Counter({u'': 1046})
p_1 right margin stats: Counter({u'': 1046})
p_2 left margin stats: Counter({u'': 41})
p_2 right margin stats: Counter({u'': 41})
Cleaning up manifest...
Trimming unused files from manifest...
Trimming u'images/00010.jpeg' from manifest
Trimming u'images/00001.jpeg' from manifest
Creating Fichier de sortie KePub...
Splitting markup on page breaks and flow limits, if any...
Splitting on page-break at id=c07
Looking for large trees in text/part0011.html...
No large trees found
Splitting on page-break at id=c06
Looking for large trees in text/part0010.html...
No large trees found
Splitting on page-break at id=bm1
Looking for large trees in text/part0020.html...
No large trees found
Splitting on page-break at id=calibre_pb_0
Looking for large trees in text/part0004.html...
No large trees found
Splitting on page-break at id=c15
Looking for large trees in text/part0019.html...
No large trees found
Looking for large trees in text/part0003.html...
No large trees found
Looking for large trees in text/part0002.html...
No large trees found
Splitting on page-break at id=c14
Looking for large trees in text/part0018.html...
No large trees found
Looking for large trees in text/part0001.html...
No large trees found
Splitting on page-break at id=c12
Looking for large trees in text/part0016.html...
No large trees found
Looking for large trees in text/part0000.html...
No large trees found
Splitting on page-break at id=c11
Looking for large trees in text/part0015.html...
No large trees found
Splitting on page-break at id=c10
Looking for large trees in text/part0014.html...
No large trees found
Splitting on page-break at id=c09
Looking for large trees in text/part0013.html...
No large trees found
Splitting on page-break at id=c04
Looking for large trees in text/part0008.html...
No large trees found
Splitting on page-break at id=c13
Looking for large trees in text/part0017.html...
No large trees found
Splitting on page-break at id=c01
Looking for large trees in text/part0005.html...
No large trees found
Splitting on page-break at id=c05
Looking for large trees in text/part0009.html...
No large trees found
Splitting on page-break at id=c03
Looking for large trees in text/part0007.html...
No large trees found
Splitting on page-break at id=c08
Looking for large trees in text/part0012.html...
No large trees found
Splitting on page-break at id=c02
Looking for large trees in text/part0006.html...
No large trees found
Upgrading to EPUB 3...
Encrypting font: fonts/00002.ttf
Encrypting font: fonts/00003.ttf
Encrypting font: fonts/00004.ttf
Python function terminated unexpectedly
Failed to find obfuscation key (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 114, in main
File "site.py", line 88, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 209, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 43, in gui_convert_override
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 28, in gui_convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 1275, in run
File "calibre_plugins.koboconversion.conversion.kepub_o utput", line 60, in convert
File "site-packages\calibre\ebooks\oeb\polish\container.py", line 1222, in __init__
File "site-packages\calibre\ebooks\oeb\polish\container.py", line 1339, in process_encryption
calibre.ebooks.oeb.polish.container.ObfuscationKey Missing: Failed to find obfuscation key
FYI I have in fact a modified version of Calibre portable to turn it into a 64b version, since the 32b didn't work for converting some of my heavier books (size and number of pages and files) - see https://www.mobileread.com/forums/sh...51&postcount=9.
Can someone explain what is wrong and what I can do? If not I'll return it and buy from another seller
anacreon is offline   Reply With Quote