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 11-08-2019, 05:26 PM   #1
nicocarmosino
Junior Member
nicocarmosino began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Nov 2019
Device: Kindle Oasis 3
Unhappy Help with ePub to KFX!

Hi Everyone! I downloaded the Amazon Viewer to ensure that the .EPUB books have enhanced typesetting available. I downloaded the calibre KFX output and when I go to convert .EPUB to .KFX, it fails every single time! I have even tried to convert .EPUB to .AZW3 (which works) and then the .AZW3 to a .KFX and it still gives me an error! My error can be found below, thanks in advance to anyone who can see if I'm doing something wrong:

Spoiler:
calibre, version 4.3.0 (win32, embedded-python: True)
Conversion error: Failed: Convert book 1 of 1 (The Hitchhiker’s Guide to the Galaxy tuhgttg-1)

Convert book 1 of 1 (The Hitchhiker’s Guide to the Galaxy tuhgttg-1)
Conversion options changed from defaults:
read_metadata_from_opf: u'C:\\Users\\NICO~1.CAR\\AppData\\Local\\Temp\\cal ibre_2cyt40\\uglrn8.opf'
verbose: 2
page_breaks_before: u'/'
output_profile: u'kindle_voyage'
cover: u'C:\\Users\\NICO~1.CAR\\AppData\\Local\\Temp\\cal ibre_2cyt40\\pnxhv9.jpeg'
Resolved conversion options
calibre version: 4.3.0
{'approximate_pages': False,
'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0.0,
'book_producer': None,
'cde_type_pdoc': False,
'change_justification': u'original',
'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\\NICO~1.CAR\\AppData\\Local\\Temp\\cal ibre_2cyt40\\pnxhv9.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,
'error_tolerant_conversion': 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 0x059FAC70>,
'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,
'number_of_pages_field': u'(auto)',
'output_profile': <calibre.customize.profiles.KindleVoyageOutput object at 0x05A040B0>,
'page_breaks_before': u'/',
'prefer_metadata_cover': False,
'pretty_print': True,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': u'C:\\Users\\NICO~1.CAR\\AppData\\Local\\Temp\\cal ibre_2cyt40\\uglrn8.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,
'show_kpr_logs': False,
'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': '[]',
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: MOBI Input running
on C:\Users\NICO~1.CAR\AppData\Local\Temp\calibre_2cy t40\vupwua.azw3
Found KF8 MOBI of type u'standalone'
Extracting text...
KF8 has no metadata Table of Contents
Parsing all content...
Parsing text/part0041.html ...
Parsing text/part0006.html ...
Parsing text/part0042.html ...
Parsing text/part0007.html ...
Parsing text/part0008.html ...
Parsing styles/0003.css ...
Parsing text/part0031.html ...
Parsing text/part0010.html ...
Parsing text/part0012.html ...
Parsing text/part0011.html ...
Parsing text/part0045.html ...
Parsing text/part0013.html ...
Parsing text/part0016.html ...
Parsing text/part0015.html ...
Parsing text/part0017.html ...
Parsing text/part0018.html ...
Parsing text/part0019.html ...
Parsing text/part0020.html ...
Parsing text/part0028.html ...
Parsing text/part0021.html ...
Parsing text/part0001.html ...
Parsing text/part0022.html ...
Parsing text/part0023.html ...
Parsing text/part0024.html ...
Parsing text/part0025.html ...
Parsing text/part0043.html ...
Parsing text/part0027.html ...
Parsing text/part0032.html ...
Parsing text/part0044.html ...
Parsing text/part0005.html ...
Parsing text/part0014.html ...
Parsing styles/0001.css ...
Parsing styles/0002.css ...
Parsing text/part0009.html ...
Parsing text/part0033.html ...
Parsing text/part0034.html ...
Parsing text/part0026.html ...
Parsing text/part0035.html ...
Parsing text/part0029.html ...
Parsing text/part0036.html ...
Parsing text/part0000.html ...
Parsing text/part0037.html ...
Parsing text/part0002.html ...
Parsing text/part0030.html ...
Parsing text/part0038.html ...
Parsing text/part0003.html ...
Parsing text/part0039.html ...
Parsing text/part0004.html ...
Parsing text/part0040.html ...
Reading TOC from NCX...
Merging user specified metadata...
Detecting structure...
Detected chapter: Chapter 1
Detected chapter: Chapter 2
Detected chapter: Chapter 3
Detected chapter: Chapter 4
Detected chapter: Chapter 5
Detected chapter: Chapter 6
Detected chapter: Chapter 7
Detected chapter: Chapter 8
Detected chapter: Chapter 9
Detected chapter: Chapter 10
Detected chapter: Chapter 11
Detected chapter: Chapter 12
Detected chapter: Chapter 13
Detected chapter: Chapter 14
Detected chapter: Chapter 16
Detected chapter: Chapter 17
Detected chapter: Chapter 18
Detected chapter: Chapter 19
Detected chapter: Chapter 20
Detected chapter: Chapter 21
Detected chapter: Chapter 22
Detected chapter: Chapter 23
Detected chapter: Chapter 24
Detected chapter: Chapter 25
Detected chapter: Chapter 26
Detected chapter: Chapter 27
Detected chapter: Chapter 28
Detected chapter: Chapter 29
Detected chapter: Chapter 30
Detected chapter: Chapter 31
Detected chapter: Chapter 32
Detected chapter: Chapter 33
Detected chapter: Chapter 34
Detected chapter: Chapter 35
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Removing fake margins...
Found 45 items of level: div_1
Found 2178 items of level: p_2
Found 43 items of level: div_2
Found 3 items of level: p_3
Ignoring level p_3
div_1 left margin stats: Counter({u'': 37})
div_1 right margin stats: Counter({u'': 37})
p_2 left margin stats: Counter({u'0': 2178})
p_2 right margin stats: Counter({u'0': 2178})
div_2 left margin stats: Counter()
div_2 right margin stats: Counter()
Cleaning up manifest...
Trimming unused files from manifest...
Trimming u'images/00002.jpeg' from manifest
Creating KFX Output...
Software versions: KFX Output 1.33.0, calibre 4.3, Windows-10-10.0.17134-SP0
KFX Output plugin help is available at https://www.mobileread.com/forums/sh...d.php?t=272407
Splitting markup on page breaks and flow limits, if any...
Removing anchor from TOC href: text/part0003.html#2RHM1-38749b407b9843a0a127f7be6cc6ef40
Removing anchor from TOC href: text/part0004.html#3Q282-38749b407b9843a0a127f7be6cc6ef40
Removing anchor from TOC href: text/part0005.html#4OIQ1-38749b407b9843a0a127f7be6cc6ef40
Removing anchor from TOC href: text/part0006.html#5N3C2-38749b407b9843a0a127f7be6cc6ef40
Removing anchor from TOC href: text/part0007.html#6LJU2-38749b407b9843a0a127f7be6cc6ef40
Removing anchor from TOC href: text/part0008.html#7K4G2-38749b407b9843a0a127f7be6cc6ef40
Removing anchor from TOC href: text/part0009.html#8IL22-38749b407b9843a0a127f7be6cc6ef40
Removing anchor from TOC href: text/part0010.html#9H5K2-38749b407b9843a0a127f7be6cc6ef40
Removing anchor from TOC href: text/part0011.html#AFM62-38749b407b9843a0a127f7be6cc6ef40
Removing anchor from TOC href: text/part0012.html#BE6O2-38749b407b9843a0a127f7be6cc6ef40
Removing anchor from TOC href: text/part0013.html#CCNA1-38749b407b9843a0a127f7be6cc6ef40
Removing anchor from TOC href: text/part0014.html#DB7S2-38749b407b9843a0a127f7be6cc6ef40
Removing anchor from TOC href: text/part0015.html#E9OE1-38749b407b9843a0a127f7be6cc6ef40
Removing anchor from TOC href: text/part0016.html#F8902-38749b407b9843a0a127f7be6cc6ef40
Removing anchor from TOC href: text/part0017.html#G6PI2-38749b407b9843a0a127f7be6cc6ef40
Removing anchor from TOC href: text/part0018.html#H5A42-38749b407b9843a0a127f7be6cc6ef40
Removing anchor from TOC href: text/part0019.html#I3QM2-38749b407b9843a0a127f7be6cc6ef40
Removing anchor from TOC href: text/part0020.html#J2B82-38749b407b9843a0a127f7be6cc6ef40
Removing anchor from TOC href: text/part0021.html#K0RQ2-38749b407b9843a0a127f7be6cc6ef40
Removing anchor from TOC href: text/part0022.html#KVCC1-38749b407b9843a0a127f7be6cc6ef40
Removing anchor from TOC href: text/part0023.html#LTSU1-38749b407b9843a0a127f7be6cc6ef40
Removing anchor from TOC href: text/part0024.html#MSDG2-38749b407b9843a0a127f7be6cc6ef40
Removing anchor from TOC href: text/part0025.html#NQU21-38749b407b9843a0a127f7be6cc6ef40
Removing anchor from TOC href: text/part0026.html#OPEK2-38749b407b9843a0a127f7be6cc6ef40
Removing anchor from TOC href: text/part0027.html#PNV61-38749b407b9843a0a127f7be6cc6ef40
Removing anchor from TOC href: text/part0028.html#QMFO2-38749b407b9843a0a127f7be6cc6ef40
Removing anchor from TOC href: text/part0029.html#RL0A2-38749b407b9843a0a127f7be6cc6ef40
Removing anchor from TOC href: text/part0030.html#SJGS1-38749b407b9843a0a127f7be6cc6ef40
Removing anchor from TOC href: text/part0031.html#TI1E2-38749b407b9843a0a127f7be6cc6ef40
Removing anchor from TOC href: text/part0032.html#UGI01-38749b407b9843a0a127f7be6cc6ef40
Removing anchor from TOC href: text/part0033.html#VF2I2-38749b407b9843a0a127f7be6cc6ef40
Removing anchor from TOC href: text/part0034.html#10DJ41-38749b407b9843a0a127f7be6cc6ef40
Removing anchor from TOC href: text/part0035.html#11C3M2-38749b407b9843a0a127f7be6cc6ef40
Removing anchor from TOC href: text/part0036.html#12AK82-38749b407b9843a0a127f7be6cc6ef40
Removing anchor from TOC href: text/part0037.html#1394Q1-38749b407b9843a0a127f7be6cc6ef40
Removing anchor from TOC href: text/part0038.html#147LC1-38749b407b9843a0a127f7be6cc6ef40
Removing anchor from TOC href: text/part0039.html#1565U1-38749b407b9843a0a127f7be6cc6ef40
Python function terminated unexpectedly
UUID identifier u'hyxagsnjytcccrliaoz' is invalid (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 208, 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.kfx_output.__init__", line 203, in convert
File "site-packages\calibre\ebooks\conversion\plugins\epub_ou tput.py", line 265, in convert
File "site-packages\calibre\ebooks\conversion\plugins\epub_ou tput.py", line 318, in encrypt_fonts
ValueError: UUID identifier u'hyxagsnjytcccrliaoz' is invalid

Last edited by BetterRed; 11-08-2019 at 05:33 PM.
nicocarmosino is offline   Reply With Quote
Old 11-09-2019, 12:23 PM   #2
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 6,498
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
Quote:
Originally Posted by nicocarmosino View Post
Hi Everyone! I downloaded the Amazon Viewer to ensure that the .EPUB books have enhanced typesetting available. I downloaded the calibre KFX output and when I go to convert .EPUB to .KFX, it fails every single time! I have even tried to convert .EPUB to .AZW3 (which works) and then the .AZW3 to a .KFX and it still gives me an error! My error can be found below, thanks in advance to anyone who can see if I'm doing something wrong

File "site-packages\calibre\ebooks\conversion\plugins\epub_ou tput.py", line 318, in encrypt_fonts
ValueError: UUID identifier u'hyxagsnjytcccrliaoz' is invalid
In order to prepare a book for conversion by the Kindle Previewer the KFX Output plug-in first converts the book to EPUB. That step is failing for your book. From the error message it appears to be due to a problem in font obfuscation. I assume that the book contains an embedded font.

It is hard to say more without seeing the file being converted. I suggest trying a conversion to EPUB before converting to KFX. That may provide more information. You can also check your source file for problems using the Calibre editor or EPUBcheck.

Also, if you are preparing a book for publication on Amazon then take your source EPUB and open it in the Kindle Previewer instead of converting using Calibre. That will let you know whether or not Amazon will be able to provide Enhanced Typesetting for your book when you publish it.
jhowell is offline   Reply With Quote
Reply

Tags
azw3, conversion, epub, kfx


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Epub to KFX conversion issue Surreal Introduce Yourself 0 10-18-2019 02:15 PM
Help with KFX files, please pamEDT Kindle Formats 8 09-08-2018 10:45 AM
KFX to KFX to remove DRM Tomifonication Conversion 12 08-09-2018 01:32 PM
ePub to KFX (no page numbers?) Futuregrace Conversion 4 05-24-2018 03:11 PM
KFX Soon? CRussel Calibre 16 03-06-2016 11:56 AM


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


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