|
|
#1 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 862
Karma: 2873645
Join Date: Jul 2008
Location: Texas
Device: PW5, Oasis 3, K4B(NT), K3/KK
|
AZW3 to ePub issue related to svg image
I initially started this over in the KFX Output plugin area because at first I thought it was only related to azw3 to kfx. But....it isn't. So hopefully I can sum this up well!
Calibre: 9.5 Book...a romance novel that went free on Amazon. It was sent to my K5 and I then brought it into Calibre, so AZW3 format. I wanted to convert to KFX just because when I send to my newer device, I've been sending as KFX. Well, the AZW3 to KFX convert failed. Error E21018. So then I tried AZW3 to EPUB. Which initially looked like it worked. At least, it completed with no errors. But...when I started looking more deeply, it also was not right and is related to the svg file. During the azw3 to epub conversion, the svgimg0003.svg just gets omitted? Removed? Not sure...but it is not present in the epub after conversion. (The image is a graphic that appears under each chapter heading.) I'm attaching 4 images hopefully. First, the initial popup error when azw3 to kfx failed Second, from the job info/log for the azw3 to kfx Third, an image showing the svgimg0003 file that is part of the azw3 file Fourth, an image showing that the svgimg0003 is not present in the converted epub file. I do see that the data for the svgimg0003 is really complex and long? I am assuming that is related to the issue but I could be very wrong. Any suggestions welcome. I will be happy to provide whatever additional images or logging suggested? |
|
|
|
|
|
#2 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,788
Karma: 9501034
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
|
Can you show us the code in part0008.html
That snippet <"A coward turns aw"> does not look right at all. |
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 862
Karma: 2873645
Join Date: Jul 2008
Location: Texas
Device: PW5, Oasis 3, K4B(NT), K3/KK
|
The book is still free in the US on Amazon as of this moment: https://www.amazon.com/gp/product/B08JMCF9CL
image 1...showing how it looks in the original azw3...chapter heading + image image 2...showing in part what happens in the epub |
|
|
|
|
|
#4 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 862
Karma: 2873645
Join Date: Jul 2008
Location: Texas
Device: PW5, Oasis 3, K4B(NT), K3/KK
|
part0008 lines 6 thru 36 in the original azw3
Code:
<div id="prologue" class="element element-bodymatter element-container-single element-type-prologue element-with-heading full-character-formatting" role="doc-prologue" epub:type="prologue">
<div class="heading heading-with-title heading-without-image">
<div class="heading-contents">
<div class="title-subtitle-block title-block-without-element-number">
<div class="element-number-block">
</div>
<div class="title-block">
<h1 class="title case-upper">PROLOGUE</h1>
</div>
<div class="heading-ornament-block heading-ornament-aspect-wide">
<div class="heading-ornament-size-container">
<img alt="" class="heading-ornament-image" src="../images/svgimg0003.svg" role="presentation"/>
</div>
</div>
</div>
</div>
</div>
<div class="text" id="prologue-text">
<div class="alignment-block alignment-block-align-center">
<div class="text-block">
<p class="alignment-block-content alignment-block-content-center"><i>“A coward turns away,</i></p>
<p class="alignment-block-content alignment-block-content-center"><i>but a brave man’s choice is danger.”</i></p>
<p class="alignment-block-content alignment-block-content-center">—Euripides, 486-406 B. C.</p>
</div>
</div>
<p class="implicit-break"></p>
<div class="alignment-block alignment-block-align-left">
<div class="text-block">
<p class="alignment-block-content alignment-block-content-left"><i>16 June 1815</i></p>
</div>
</div>
|
|
|
|
|
|
#5 |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 50,769
Karma: 178402710
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Did you use calibre's conversion pipeline to convert the .azw3 to ePub or did you use the KindleUnpack plugin? KindleUnpack generated an ePub where the svg images show in calibre's viewer and the KFX generated from converting the ePub seems okay on a PW4.
|
|
|
|
| Advert | |
|
|
|
|
#6 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 862
Karma: 2873645
Join Date: Jul 2008
Location: Texas
Device: PW5, Oasis 3, K4B(NT), K3/KK
|
Just straight Calibre. Right click on book > convert > individually > azw3 input > epub output.
But...I do have KindleUnpack installed but I pretty much never use it so I didn't even think about it. So I will try it and see how it goes for me. |
|
|
|
|
|
#7 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 862
Karma: 2873645
Join Date: Jul 2008
Location: Texas
Device: PW5, Oasis 3, K4B(NT), K3/KK
|
And actually...that failed for me too.
Clicked on KindleUnpack > KF8 to Epub and it created the epub which looked ok...so then tried to convert that epub to kfx and got the same E21018 error. |
|
|
|
|
|
#8 |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 50,769
Karma: 178402710
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Odd. I didn't get any errors other than KFX output whinging about Kindle Previewer 3.103.0 which is not supported yet.
Spoiler:
|
|
|
|
|
|
#9 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 862
Karma: 2873645
Join Date: Jul 2008
Location: Texas
Device: PW5, Oasis 3, K4B(NT), K3/KK
|
The job details still gives the message about the svg file...
************ Kindle Previewer Conversion Guidance ************ Error E21018: Enhanced Mobi building failure, while parsing content in the file. Content: <“A coward turns aw> in file: OEBPS\Text\part0008.xhtml line: 27 Notice W25001: SVG Parser could not find the referenced file C:\Users\myname\AppData\Local\Temp\3179a963-949d-425f-b267-13da75991245\cTemp\mTemp\mbp_7EA_3_10_13_39_29_118 _3E48_5680_1\OEBPS\Images\svgimg0003.svg Status Book conversion failed. |
|
|
|
|
|
#10 |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 50,769
Karma: 178402710
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
That error does not appear in the log file generated when I did the ePub to KFX conversion (included in message #8). Weird and wonderful toys these computers...
|
|
|
|
|
|
#11 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 862
Karma: 2873645
Join Date: Jul 2008
Location: Texas
Device: PW5, Oasis 3, K4B(NT), K3/KK
|
I am really at a loss now. I was on KP 3.90.0 so I updated to your version 3.103.0
I'm getting the same error I was getting before. Error E21018: Enhanced Mobi building failure, while parsing content in the file. and Notice W25001: SVG Parser could not find the referenced file |
|
|
|
|
|
#12 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 862
Karma: 2873645
Join Date: Jul 2008
Location: Texas
Device: PW5, Oasis 3, K4B(NT), K3/KK
|
Here's my full job details logs.
Code:
Convert book 1 of 1 (Lord Temptation)
DeDRM v10.0.9: Trying to decrypt wtn4js5u.epub
DeDRM v10.0.9: Verifying zip archive integrity
DeDRM v10.0.9: Post-processing took 0.0 seconds
DeDRM v10.0.9: Post-processing didn't do anything on DRM-free EPUB, returning original file
DeDRM v10.0.9: Finished after 0.1 seconds
Conversion options changed from defaults:
output_profile: 'kindle_pw3'
page_breaks_before: "//*[name()='h1' or name()='h2']"
read_metadata_from_opf: 'C:\\Users\\<user>\\AppData\\Local\\Temp\\calibre-3gihclgw\\19sq4e4q.opf'
verbose: 2
remove_first_image: True
cover: 'C:\\Users\\<user>\\AppData\\Local\\Temp\\calibre-3gihclgw\\plnxvr06.jpeg'
debug_pipeline: 'C:\\01-ProgramData\\Calibre-Debug-Logs'
filter_css: ',font-family'
Resolved conversion options
calibre version: 9.5.0
{'add_alt_text_to_img': False,
'approximate_pages': False,
'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0.0,
'book_producer': None,
'cde_type_ebok': False,
'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\\<user>\\AppData\\Local\\Temp\\calibre-3gihclgw\\plnxvr06.jpeg',
'debug_pipeline': 'C:\\01-ProgramData\\Calibre-Debug-Logs',
'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,
'enable_timeout': False,
'expand_css': False,
'extra_css': None,
'filter_css': ',font-family',
'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 0x000002A85753C830>,
'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': '(auto)',
'output_profile': <calibre.customize.profiles.KindlePaperWhite3Output object at 0x000002A85753F230>,
'page_breaks_before': "//*[name()='h1' or name()='h2']",
'prefer_metadata_cover': False,
'pretty_print': True,
'pubdate': None,
'publisher': None,
'quality_report': False,
'rating': None,
'read_metadata_from_opf': 'C:\\Users\\<user>\\AppData\\Local\\Temp\\calibre-3gihclgw\\19sq4e4q.opf',
'remove_fake_margins': True,
'remove_first_image': True,
'remove_paragraph_spacing': False,
'remove_paragraph_spacing_indent_size': 1.5,
'renumber_headings': True,
'replace_scene_breaks': '',
'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': '[]',
'transform_html_rules': '[]',
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
DeDRM v10.0.9: Trying to decrypt wtn4js5u.epub
DeDRM v10.0.9: Verifying zip archive integrity
DeDRM v10.0.9: Post-processing took 0.0 seconds
DeDRM v10.0.9: Post-processing didn't do anything on DRM-free EPUB, returning original file
DeDRM v10.0.9: Finished after 0.0 seconds
InputFormatPlugin: EPUB Input running
on C:\Users\<user>\AppData\Local\Temp\calibre-3gihclgw\wtn4js5u.epub
Found HTML cover OEBPS/Text/cover_page.xhtml
Input debug saved to: C:\01-ProgramData\Calibre-Debug-Logs\input
Parsing all content...
Parsing OEBPS/Text/part0016.xhtml ...
Parsing OEBPS/Text/part0023.xhtml ...
Parsing OEBPS/Text/part0031.xhtml ...
Parsing OEBPS/Text/part0039.xhtml ...
Parsing OEBPS/Styles/style0001.css ...
Parsing OEBPS/Text/part0012.xhtml ...
Parsing OEBPS/Text/part0015.xhtml ...
Parsing OEBPS/Text/part0000.xhtml ...
Parsing OEBPS/Text/part0009.xhtml ...
Parsing OEBPS/Text/part0018.xhtml ...
Parsing OEBPS/Text/part0026.xhtml ...
Parsing OEBPS/Text/part0034.xhtml ...
Parsing OEBPS/Text/part0042.xhtml ...
Parsing OEBPS/Text/part0021.xhtml ...
Parsing OEBPS/Text/part0029.xhtml ...
Parsing OEBPS/Text/part0037.xhtml ...
Parsing OEBPS/Text/part0045.xhtml ...
Parsing OEBPS/Text/part0004.xhtml ...
Parsing OEBPS/Text/part0010.xhtml ...
Parsing OEBPS/Text/part0024.xhtml ...
Parsing OEBPS/Text/part0032.xhtml ...
Parsing OEBPS/Text/part0040.xhtml ...
Parsing OEBPS/Styles/style0002.css ...
Parsing OEBPS/Text/part0005.xhtml ...
Parsing OEBPS/Text/part0013.xhtml ...
Parsing OEBPS/Text/part0019.xhtml ...
Parsing OEBPS/Text/part0027.xhtml ...
Parsing OEBPS/Text/part0035.xhtml ...
Parsing OEBPS/Text/part0043.xhtml ...
Parsing OEBPS/Text/part0011.xhtml ...
Parsing OEBPS/Text/part0014.xhtml ...
Parsing OEBPS/Text/part0001.xhtml ...
Parsing OEBPS/Text/part0007.xhtml ...
Parsing OEBPS/Text/part0008.xhtml ...
Parsing OEBPS/Text/part0022.xhtml ...
Parsing OEBPS/Text/part0030.xhtml ...
Parsing OEBPS/Text/part0038.xhtml ...
Parsing OEBPS/Text/part0003.xhtml ...
Parsing OEBPS/Text/part0017.xhtml ...
Parsing OEBPS/Text/part0025.xhtml ...
Parsing OEBPS/Text/part0033.xhtml ...
Parsing OEBPS/Text/part0041.xhtml ...
Parsing OEBPS/Text/cover_page.xhtml ...
Parsing OEBPS/Text/part0002.xhtml ...
Parsing OEBPS/Text/part0006.xhtml ...
Parsing OEBPS/Text/part0020.xhtml ...
Parsing OEBPS/Text/part0028.xhtml ...
Parsing OEBPS/Text/part0036.xhtml ...
Parsing OEBPS/Text/part0044.xhtml ...
Reading TOC from NCX...
Parsed HTML written to: C:\01-ProgramData\Calibre-Debug-Logs\parsed
Removed first image
Merging user specified metadata...
Detecting structure...
Detected chapter: PROLOGUE
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 15
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: EPILOGUE
Structured HTML written to: C:\01-ProgramData\Calibre-Debug-Logs\structure
Flattening CSS and remapping font sizes...
Filtering CSS properties: , font-family
Source base font size is 12.00000pt
Removing fake margins...
Found 46 items of level: div_1
Found 88 items of level: div_2
Found 137 items of level: div_3
Found 190 items of level: div_4
Found 146 items of level: div_5
Found 270 items of level: p_5
Found 3766 items of level: p_3
Found 46 items of level: p_4
Found 35 items of level: div_6
div_1 left margin stats: Counter({'': 45, '2%': 1})
div_1 right margin stats: Counter({'': 45, '2%': 1})
div_2 left margin stats: Counter({'': 45, '6%': 36})
div_2 right margin stats: Counter({'': 45, '6%': 36})
div_3 left margin stats: Counter({'': 137})
div_3 right margin stats: Counter({'': 137})
div_4 left margin stats: Counter({'': 190})
div_4 right margin stats: Counter({'': 190})
div_5 left margin stats: Counter({'': 146})
div_5 right margin stats: Counter({'': 146})
Negative text indent detected at level p_5, ignoring this level
p_3 left margin stats: Counter({'0': 3736, '': 30})
p_3 right margin stats: Counter({'0': 3736, '': 30})
p_4 left margin stats: Counter({'0': 46})
p_4 right margin stats: Counter({'0': 46})
div_6 left margin stats: Counter({'': 35})
div_6 right margin stats: Counter({'': 35})
Cleaning up manifest...
Trimming unused files from manifest...
Trimming 'OEBPS/Text/cover_page.xhtml' from manifest
Processed HTML written to: C:\01-ProgramData\Calibre-Debug-Logs\processed
Creating KFX Output...
Software versions: KFX Output 2.18.0, calibre 9.5, Windows-11-10.0.26200-SP0
KFX Output plugin help is available at https://www.mobileread.com/forums/showthread.php?t=272407
Splitting markup on page breaks and flow limits, if any...
Splitting on page-break at id=calibre_pb_0
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_0
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_0
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_0
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_0
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_0
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_0
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_1
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_2
Adjusted split point to ancestor
Split into 3 parts
Splitting on page-break at id=calibre_pb_0
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_0
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_0
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_0
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_0
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_0
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_0
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_0
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_0
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_0
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_0
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_0
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_0
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_0
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_0
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_0
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_0
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_0
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_0
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_0
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_0
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_0
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_0
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_0
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_0
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_0
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_0
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_0
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_0
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_0
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_0
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_0
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_0
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_0
Adjusted split point to ancestor
Successfully converted input format to EPUB
Converting C:\Users\Trina\AppData\Local\Temp\calibre-3gihclgw\oq4ho1ps.epub
Converting C:\Users\Trina\AppData\Local\Temp\calibre-3gihclgw\oq4ho1ps.epub to KPF
Preparing book C:\Users\Trina\AppData\Local\Temp\calibre-3gihclgw\oq4ho1ps.epub for conversion
Removed 'data-AmznRemoved' attribute from '{http://www.w3.org/1999/xhtml}div' in OEBPS/Text/part0009.xhtml
Removed 'data-AmznRemoved-M8' attribute from '{http://www.w3.org/1999/xhtml}p' in OEBPS/Text/part0009.xhtml
Removed 'data-AmznRemoved' attribute from '{http://www.w3.org/1999/xhtml}div' in OEBPS/Text/part0011.xhtml
Removed 'data-AmznRemoved-M8' attribute from '{http://www.w3.org/1999/xhtml}p' in OEBPS/Text/part0011.xhtml
Removed 'data-AmznRemoved' attribute from '{http://www.w3.org/1999/xhtml}div' in OEBPS/Text/part0014.xhtml
Removed 'data-AmznRemoved-M8' attribute from '{http://www.w3.org/1999/xhtml}p' in OEBPS/Text/part0014.xhtml
Removed 'data-AmznRemoved' attribute from '{http://www.w3.org/1999/xhtml}div' in OEBPS/Text/part0016.xhtml
Removed 'data-AmznRemoved-M8' attribute from '{http://www.w3.org/1999/xhtml}p' in OEBPS/Text/part0016.xhtml
Removed 'data-AmznRemoved' attribute from '{http://www.w3.org/1999/xhtml}div' in OEBPS/Text/part0016.xhtml
Removed 'data-AmznRemoved-M8' attribute from '{http://www.w3.org/1999/xhtml}p' in OEBPS/Text/part0016.xhtml
Removed 'data-AmznRemoved' attribute from '{http://www.w3.org/1999/xhtml}div' in OEBPS/Text/part0016.xhtml
Removed 'data-AmznRemoved-M8' attribute from '{http://www.w3.org/1999/xhtml}p' in OEBPS/Text/part0016.xhtml
Removed 'data-AmznRemoved' attribute from '{http://www.w3.org/1999/xhtml}div' in OEBPS/Text/part0017.xhtml
Removed 'data-AmznRemoved-M8' attribute from '{http://www.w3.org/1999/xhtml}p' in OEBPS/Text/part0017.xhtml
Removed 'data-AmznRemoved' attribute from '{http://www.w3.org/1999/xhtml}div' in OEBPS/Text/part0017.xhtml
Removed 'data-AmznRemoved-M8' attribute from '{http://www.w3.org/1999/xhtml}p' in OEBPS/Text/part0017.xhtml
Removed 'data-AmznRemoved' attribute from '{http://www.w3.org/1999/xhtml}div' in OEBPS/Text/part0022.xhtml
Removed 'data-AmznRemoved-M8' attribute from '{http://www.w3.org/1999/xhtml}p' in OEBPS/Text/part0022.xhtml
Removed 'data-AmznRemoved' attribute from '{http://www.w3.org/1999/xhtml}div' in OEBPS/Text/part0022.xhtml
Removed 'data-AmznRemoved-M8' attribute from '{http://www.w3.org/1999/xhtml}p' in OEBPS/Text/part0022.xhtml
Removed 'data-AmznRemoved' attribute from '{http://www.w3.org/1999/xhtml}div' in OEBPS/Text/part0023.xhtml
Removed 'data-AmznRemoved-M8' attribute from '{http://www.w3.org/1999/xhtml}p' in OEBPS/Text/part0023.xhtml
Removed 'data-AmznRemoved' attribute from '{http://www.w3.org/1999/xhtml}div' in OEBPS/Text/part0023.xhtml
Removed 'data-AmznRemoved-M8' attribute from '{http://www.w3.org/1999/xhtml}p' in OEBPS/Text/part0023.xhtml
Removed 'data-AmznRemoved' attribute from '{http://www.w3.org/1999/xhtml}div' in OEBPS/Text/part0024.xhtml
Removed 'data-AmznRemoved-M8' attribute from '{http://www.w3.org/1999/xhtml}p' in OEBPS/Text/part0024.xhtml
Removed 'data-AmznRemoved' attribute from '{http://www.w3.org/1999/xhtml}div' in OEBPS/Text/part0026.xhtml
Removed 'data-AmznRemoved-M8' attribute from '{http://www.w3.org/1999/xhtml}p' in OEBPS/Text/part0026.xhtml
Removed 'data-AmznRemoved' attribute from '{http://www.w3.org/1999/xhtml}div' in OEBPS/Text/part0030.xhtml
Removed 'data-AmznRemoved-M8' attribute from '{http://www.w3.org/1999/xhtml}p' in OEBPS/Text/part0030.xhtml
Removed 'data-AmznRemoved' attribute from '{http://www.w3.org/1999/xhtml}div' in OEBPS/Text/part0030.xhtml
Removed 'data-AmznRemoved-M8' attribute from '{http://www.w3.org/1999/xhtml}p' in OEBPS/Text/part0030.xhtml
Removed 'data-AmznRemoved' attribute from '{http://www.w3.org/1999/xhtml}div' in OEBPS/Text/part0031.xhtml
Removed 'data-AmznRemoved-M8' attribute from '{http://www.w3.org/1999/xhtml}p' in OEBPS/Text/part0031.xhtml
Removed 'data-AmznRemoved' attribute from '{http://www.w3.org/1999/xhtml}div' in OEBPS/Text/part0032.xhtml
Removed 'data-AmznRemoved-M8' attribute from '{http://www.w3.org/1999/xhtml}p' in OEBPS/Text/part0032.xhtml
Removed 'data-AmznRemoved' attribute from '{http://www.w3.org/1999/xhtml}div' in OEBPS/Text/part0033.xhtml
Removed 'data-AmznRemoved-M8' attribute from '{http://www.w3.org/1999/xhtml}p' in OEBPS/Text/part0033.xhtml
Removed 'data-AmznRemoved' attribute from '{http://www.w3.org/1999/xhtml}div' in OEBPS/Text/part0034.xhtml
Removed 'data-AmznRemoved-M8' attribute from '{http://www.w3.org/1999/xhtml}p' in OEBPS/Text/part0034.xhtml
Removed 'data-AmznRemoved' attribute from '{http://www.w3.org/1999/xhtml}div' in OEBPS/Text/part0037.xhtml
Removed 'data-AmznRemoved-M8' attribute from '{http://www.w3.org/1999/xhtml}p' in OEBPS/Text/part0037.xhtml
Removed 'data-AmznRemoved' attribute from '{http://www.w3.org/1999/xhtml}div' in OEBPS/Text/part0038.xhtml
Removed 'data-AmznRemoved-M8' attribute from '{http://www.w3.org/1999/xhtml}p' in OEBPS/Text/part0038.xhtml
Removed 'data-AmznRemoved' attribute from '{http://www.w3.org/1999/xhtml}div' in OEBPS/Text/part0039.xhtml
Removed 'data-AmznRemoved-M8' attribute from '{http://www.w3.org/1999/xhtml}p' in OEBPS/Text/part0039.xhtml
Removed 'data-AmznRemoved' attribute from '{http://www.w3.org/1999/xhtml}div' in OEBPS/Text/part0039.xhtml
Removed 'data-AmznRemoved-M8' attribute from '{http://www.w3.org/1999/xhtml}p' in OEBPS/Text/part0039.xhtml
Removed 'data-AmznRemoved' attribute from '{http://www.w3.org/1999/xhtml}div' in OEBPS/Text/part0040.xhtml
Removed 'data-AmznRemoved-M8' attribute from '{http://www.w3.org/1999/xhtml}p' in OEBPS/Text/part0040.xhtml
Removed 'data-AmznRemoved' attribute from '{http://www.w3.org/1999/xhtml}div' in OEBPS/Text/part0040.xhtml
Removed 'data-AmznRemoved-M8' attribute from '{http://www.w3.org/1999/xhtml}p' in OEBPS/Text/part0040.xhtml
Removed 'data-AmznRemoved' attribute from '{http://www.w3.org/1999/xhtml}div' in OEBPS/Text/part0040.xhtml
Removed 'data-AmznRemoved-M8' attribute from '{http://www.w3.org/1999/xhtml}p' in OEBPS/Text/part0040.xhtml
Removed 'data-AmznRemoved' attribute from '{http://www.w3.org/1999/xhtml}div' in OEBPS/Text/part0041.xhtml
Removed 'data-AmznRemoved-M8' attribute from '{http://www.w3.org/1999/xhtml}p' in OEBPS/Text/part0041.xhtml
Removed 'data-AmznRemoved' attribute from '{http://www.w3.org/1999/xhtml}div' in OEBPS/Text/part0041.xhtml
Removed 'data-AmznRemoved-M8' attribute from '{http://www.w3.org/1999/xhtml}p' in OEBPS/Text/part0041.xhtml
Removed 'data-AmznRemoved' attribute from '{http://www.w3.org/1999/xhtml}div' in OEBPS/Text/part0041.xhtml
Removed 'data-AmznRemoved-M8' attribute from '{http://www.w3.org/1999/xhtml}p' in OEBPS/Text/part0041.xhtml
Removed 'data-AmznRemoved' attribute from '{http://www.w3.org/1999/xhtml}img' in OEBPS/Text/part0045.xhtml
Removed 'data-AmznRemoved-M8' attribute from '{http://www.w3.org/1999/xhtml}img' in OEBPS/Text/part0045.xhtml
Launching Kindle Previewer 3 (unknown_39991296) - CLI
**************************************************
Kindle Previewer 3.103.0 Copyright (c) Amazon.com
**************************************************
Checking specified arguments.
Pre-processing in progress.
Processing 1/1 book(s).
Book converted successfully! : C:/Users\<user>\AppData\Local\Temp\calibre-3gihclgw\s_phcob5\m22ou944nl7uj7nbmm77\oq4ho1ps.epub
Book Conversion failed. C:/Users\<user>\AppData\Local\Temp\calibre-3gihclgw\s_phcob5\m22ou944nl7uj7nbmm77\oq4ho1ps.epubConversion Log : C:\Users\<user>\AppData\Local\Temp\calibre-3gihclgw\s_phcob5\m22ou944nl7uj7nbmm77\0000\Logs\oq4ho1ps_log.csv
Post-processing in progress.
Writing output/log files to C:/Users\<user>\AppData\Local\Temp\calibre-3gihclgw\s_phcob5\m22ou944nl7uj7nbmm77\0000
Unknown conversion error occurred -- Retrying
Launching Kindle Previewer 3 (unknown_39991296) - CLI
**************************************************
Kindle Previewer 3.103.0 Copyright (c) Amazon.com
**************************************************
Checking specified arguments.
Pre-processing in progress.
Processing 1/1 book(s).
Book Conversion failed. C:/Users\<user>\AppData\Local\Temp\calibre-3gihclgw\s_phcob5\m22ou944nl7uj7nbmm77\oq4ho1ps.epubConversion Log : C:\Users\<user>\AppData\Local\Temp\calibre-3gihclgw\s_phcob5\m22ou944nl7uj7nbmm77\0001\Logs\oq4ho1ps_log.csv
Post-processing in progress.
Writing output/log files to C:/Users\<user>\AppData\Local\Temp\calibre-3gihclgw\s_phcob5\m22ou944nl7uj7nbmm77\0001
****************** Conversion Failure Reason *****************
E21018: Enhanced Mobi building failure, while parsing content in the file. Content: <“A coward turns aw> in file: OEBPS\Text\part0008.xhtml line: 27
**************************************************************
************ Kindle Previewer Conversion Guidance ************
Error E21018: Enhanced Mobi building failure, while parsing content in the file. Content: <“A coward turns aw> in file: OEBPS\Text\part0008.xhtml line: 27
Notice W25001: SVG Parser could not find the referenced file C:\Users\<user>\AppData\Local\Temp\a421932a-6527-4a00-9f7f-8e362768506d\cTemp\mTemp\mbp_7EA_3_10_14_7_21_AA_4A70_1B48_1\OEBPS\Images\svgimg0003.svg
Status Book conversion failed.
**************************************************************
Traceback (most recent call last):
File "runpy.py", line 198, in _run_module_as_main
File "runpy.py", line 88, in _run_code
File "site.py", line 83, in <module>
File "site.py", line 78, in main
File "site.py", line 50, in run_entry_point
File "calibre\utils\ipc\worker.py", line 213, in main
File "calibre\gui2\convert\gui_conversion.py", line 39, in gui_convert_override
File "calibre\gui2\convert\gui_conversion.py", line 26, in gui_convert
File "calibre\ebooks\conversion\plumber.py", line 1265, in run
File "calibre_plugins.kfx_output.__init__", line 221, in convert
File "calibre_plugins.kfx_output.__init__", line 319, in convert_using_previewer
File "calibre_plugins.kfx_output.__init__", line 369, in report_failure
calibre.ebooks.conversion.ConversionUserFeedBack: {"msg": "<b>Cannot convert Lord Temptation</b><br/><br/><b>Conversion error:</b> E21018: Enhanced Mobi building failure, while parsing content in the file. Content: <\u201cA coward turns aw> in file: OEBPS\\Text\\part0008.xhtml line: 27", "level": "error", "det_msg": "", "title": "KFX conversion failed"}
|
|
|
|
|
|
#13 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 862
Karma: 2873645
Join Date: Jul 2008
Location: Texas
Device: PW5, Oasis 3, K4B(NT), K3/KK
|
I'll step thru and look at our settings differences later. I seem to have heuristic processing off and you have it on. Likely some other differences too.
|
|
|
|
|
|
#14 |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 50,769
Karma: 178402710
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
I suspect this is going to need to head back to wiser heads than ours. I did notice that you show an PW3 as the output profile while I use tablet as the output profile and default profile as the input profile (calibre => Preferences => Common options => Page setup). There are other options that have been changed from the defaults as well so I'm wondering it one of them might be the issue such as the remove first image: true.
Mine: Code:
Conversion options changed from defaults: margin_top: 0.0 enable_heuristics: True margin_bottom: 0.0 margin_left: 0.0 verbose: 2 margin_right: 0.0 output_profile: 'tablet' read_metadata_from_opf: 'C:\\Users\\<user>\\AppData\\Local\\Temp\\calibre-41eku8ya\\4f5uhekz.opf' change_justification: 'left' cover: 'C:\\Users\\<user>\\AppData\\Local\\Temp\\calibre-41eku8ya\\zs7u1qaa.jpeg' Code:
Conversion options changed from defaults: output_profile: 'kindle_pw3' page_breaks_before: "//*[name()='h1' or name()='h2']" read_metadata_from_opf: 'C:\\Users\\<user>\\AppData\\Local\\Temp\\calibre-3gihclgw\\19sq4e4q.opf' verbose: 2 remove_first_image: True cover: 'C:\\Users\\<user>\\AppData\\Local\\Temp\\calibre-3gihclgw\\plnxvr06.jpeg' debug_pipeline: 'C:\\01-ProgramData\\Calibre-Debug-Logs' filter_css: ',font-family' |
|
|
|
|
|
#15 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 862
Karma: 2873645
Join Date: Jul 2008
Location: Texas
Device: PW5, Oasis 3, K4B(NT), K3/KK
|
looks like you got it. I changed: remove first image: true and it finally worked. I've had that checked for a while...don't remember when exactly, but must have been converting something where I needed it...maybe? And I left it and that was what was killing this one apparently.
Thank you so much for having a look. That was really getting me frustrated! |
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Issue with .azw3 to .ePub | eeereader | Conversion | 9 | 03-18-2023 11:03 PM |
| AZW3 to EPUB Conversion issue | Cougar281 | Conversion | 13 | 07-17-2021 05:18 AM |
| EPUB to MOBI (AZW3). Black SVG images with CSS styles | uka | Conversion | 6 | 03-04-2018 09:50 PM |
| Creating internal links in EPUB from svg image | ecojon | ePub | 1 | 03-26-2012 12:37 PM |
| Illustrated ebooks with epub: using the svg image element | dpapathanasiou | ePub | 0 | 06-15-2011 04:17 PM |