Library Breeder (She/Her)
Posts: 1,287
Karma: 1937893
Join Date: Apr 2015
Location: Fullerton, California
Device: Paperwhite 2015 (2), PW 2024 (12 GEN), PW 2023 (11 GEN), Scribe (1st)
|
Problem with converting merged epub to mobi
I know Calibre is having some problems with the epub to mobi conversions.
I rolled back to 3.45 and noticed that epubs that have been merged are throwing the error
Spoiler:
calibre, version 3.45.0 (win32, embedded-python: True)
Conversion error: Failed: Convert book 1 of 1 (For You)
Convert book 1 of 1 (For You)
Conversion options changed from defaults:
max_toc_links: 2000
toc_title: u'Table of Contents'
disable_font_rescaling: True
personal_doc: None
verbose: 2
input_profile: u'kindle'
minimum_line_height: 0.0
duplicate_links_in_toc: True
smarten_punctuation: True
output_profile: u'kindle_pw3'
remove_fake_margins: False
transform_css_rules: '[{"match_type": "*", "query": "", "action": "change", "property": "line-height", "action_data": "125%"}]'
input_encoding: u'utf-8'
prefer_author_sort: True
toc_threshold: 5
cover: u'C:\\Users\\HP\\AppData\\Local\\Temp\\calibre_a48 jb4\\rgwzgb.jpeg'
remove_paragraph_spacing: True
filter_css: u',padding-bottom,background,float,color,padding,padding-right,background-color,padding-top,padding-left'
read_metadata_from_opf: u'C:\\Users\\HP\\AppData\\Local\\Temp\\calibre_a48 jb4\\ylpsk_.opf'
replace_scene_breaks: u'\u2217 \u2217 \u2217'
Resolved conversion options
calibre version: 3.45.0
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0.0,
'book_producer': None,
'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\\HP\\AppData\\Local\\Temp\\calibre_a48 jb4\\rgwzgb.jpeg',
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': True,
'dont_compress': False,
'duplicate_links_in_toc': True,
'embed_all_fonts': False,
'embed_font_family': None,
'enable_heuristics': False,
'expand_css': False,
'extra_css': None,
'extract_to': None,
'filter_css': u',padding-bottom,background,float,color,padding,padding-right,background-color,padding-top,padding-left',
'fix_indents': True,
'font_size_mapping': None,
'format_scene_breaks': True,
'html_unwrap_factor': 0.4,
'input_encoding': u'utf-8',
'input_profile': <calibre.customize.profiles.KindleInput object at 0x0000000003D67550>,
'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': 2000,
'minimum_line_height': 0.0,
'mobi_file_type': u'old',
'mobi_ignore_margins': False,
'mobi_keep_original_images': False,
'mobi_toc_at_start': False,
'no_chapters_in_toc': False,
'no_inline_navbars': True,
'no_inline_toc': False,
'output_profile': <calibre.customize.profiles.KindlePaperWhite3Outpu t object at 0x0000000003D67B00>,
'page_breaks_before': u'/',
'personal_doc': None,
'prefer_author_sort': True,
'prefer_metadata_cover': False,
'pretty_print': False,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': u'C:\\Users\\HP\\AppData\\Local\\Temp\\calibre_a48 jb4\\ylpsk_.opf',
'remove_fake_margins': False,
'remove_first_image': False,
'remove_paragraph_spacing': True,
'remove_paragraph_spacing_indent_size': 1.5,
'renumber_headings': True,
'replace_scene_breaks': u'\u2217 \u2217 \u2217',
'search_replace': '[]',
'series': None,
'series_index': None,
'share_not_sync': False,
'smarten_punctuation': True,
'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': 5,
'toc_title': u'Table of Contents',
'transform_css_rules': '[{"match_type": "*", "query": "", "action": "change", "property": "line-height", "action_data": "125%"}]',
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: EPUB Input running
on C:\Users\HP\AppData\Local\Temp\calibre_a48jb4\l6wv 5w.epub
Found HTML cover cover.xhtml
Parsing all content...
Parsing cover.xhtml ...
Parsing 2/text_part0015.html ...
Parsing 3/OEBPS_Text_part0023.html ...
Parsing 1/OEBPS_Carina_Press_Romance_Promise.html ...
Parsing 1/OEBPS_Prologue.html ...
Parsing 3/OEBPS_Text_part0021.html ...
Parsing 3/OEBPS_Text_part0012.html ...
Parsing 3/stylesheet.css ...
Parsing 1/OEBPS_Chapter_Three.html ...
Parsing 2/text_part0001.html ...
Parsing 3/OEBPS_Text_part0003.html ...
Parsing 1/titlepage.xhtml ...
Parsing 3/OEBPS_Text_part0016.html ...
Parsing 1/OEBPS_About_the_Haven_Brotherhood_Series.html ...
Parsing 3/OEBPS_Text_part0022.html ...
Parsing 3/OEBPS_Text_part0015.html ...
Parsing 2/text_part0022.html ...
Parsing 3/OEBPS_Text_part0019.html ...
Parsing 3/OEBPS_Text_part0010.html ...
Parsing 1/OEBPS_Chapter_Two.html ...
Parsing 1/OEBPS_Dear_Reader.html ...
Parsing 2/text_part0011.html ...
Parsing 2/text_part0019.html ...
Parsing 1/stylesheet.css ...
Parsing 2/titlepage.xhtml ...
Parsing 3/titlepage.xhtml ...
Parsing 1/OEBPS_Chapter_Nine.html ...
Parsing 3/OEBPS_Text_part0008.html ...
Parsing 2/text_part0000.html ...
Parsing 2/text_part0010.html ...
Parsing 2/text_part0027.html ...
Parsing 2/text_part0003.html ...
Parsing 2/text_part0026.html ...
Parsing 3/OEBPS_Text_part0017.html ...
Parsing 3/OEBPS_Text_part0025.html ...
Parsing 3/OEBPS_Text_part0018.html ...
Parsing 1/OEBPS_Back_Cover_Text.html ...
Parsing 2/text_part0016.html ...
Parsing 1/OEBPS_Chapter_Thirteen.html ...
Parsing 3/OEBPS_Text_part0006.html ...
Parsing 1/OEBPS_Chapter_Five.html ...
Parsing 3/OEBPS_Text_part0001.html ...
Parsing 2/stylesheet.css ...
Parsing 2/text_part0018.html ...
Parsing 3/OEBPS_Text_part0020.html ...
Parsing 3/OEBPS_Text_part0014.html ...
Parsing 3/OEBPS_Text_part0027.html ...
Parsing 2/text_part0025.html ...
Parsing 2/text_part0021.html ...
Parsing 2/text_part0004.html ...
Parsing 3/page_styles.css ...
Parsing 3/OEBPS_Text_part0024.html ...
Parsing 3/OEBPS_Text_part0011.html ...
Parsing 3/OEBPS_Text_part0004.html ...
Parsing 1/OEBPS_Copyright.html ...
Parsing 1/OEBPS_Chapter_Eight.html ...
Parsing 1/OEBPS_Chapter_Ten.html ...
Parsing 3/OEBPS_Text_part0026.html ...
Parsing 1/OEBPS_Chapter_Eleven.html ...
Parsing 2/text_part0020.html ...
Parsing 1/OEBPS_About_the_Author.html ...
Parsing 2/page_styles.css ...
Parsing 2/nav.xhtml ...
Parsing 3/nav.xhtml ...
Parsing 2/text_part0005.html ...
Parsing 2/text_part0012.html ...
Parsing 3/OEBPS_Text_part0002.html ...
Parsing 1/OEBPS_Chapter_Seven.html ...
Parsing 1/OEBPS_Epilogue-Penelope.html ...
Parsing 1/OEBPS_Epilogue-Ivan.html ...
Parsing 3/OEBPS_Text_part0009.html ...
Parsing 2/text_part0013.html ...
Parsing 1/OEBPS_Dedication.html ...
Parsing 2/text_part0006.html ...
Parsing 1/OEBPS_Writing_for_Carina.html ...
Parsing 1/OEBPS_Chapter_One.html ...
Parsing 1/OEBPS_Chapter_Six.html ...
Parsing 1/page_styles.css ...
Parsing 3/OEBPS_Text_part0013.html ...
Parsing 3/OEBPS_Text_part0005.html ...
Parsing 2/text_part0017.html ...
Parsing 3/OEBPS_Text_part0007.html ...
Parsing 2/text_part0002.html ...
Parsing 2/text_part0023.html ...
Parsing 1/OEBPS_Contents.html ...
Parsing 2/text_part0014.html ...
Parsing 1/OEBPS_Chapter_Twelve.html ...
Parsing 2/text_part0008.html ...
Parsing 2/text_part0007.html ...
Parsing 1/OEBPS_Cover.html ...
Parsing 1/OEBPS_Chapter_Four.html ...
Parsing 2/text_part0024.html ...
Parsing 1/nav.xhtml ...
Parsing 1/OEBPS_About_For_Her_series.html ...
Parsing 2/text_part0009.html ...
Reading TOC from NCX...
Merging user specified metadata...
Detecting structure...
Flattening CSS and remapping font sizes...
Filtering CSS properties: , padding-left, padding-top, background-color, float, padding-right, color, background, padding-bottom, padding
Source base font size is 15.99997pt
Cleaning up manifest...
Trimming unused files from manifest...
Trimming u'cover.xhtml' from manifest
Trimming u'2/nav.xhtml' from manifest
Trimming u'3/nav.xhtml' from manifest
Trimming u'3/content.opf' from manifest
Trimming u'1/content.opf' from manifest
Trimming u'2/content.opf' from manifest
Trimming u'1/nav.xhtml' from manifest
Creating MOBI Output...
Serializing resources...
Creating MOBI 6 output
Applying case-transforming CSS...
Parsing manglecase.css ...
Rasterizing SVG images...
Python function terminated unexpectedly
'utf8' codec can't decode byte 0xff in position 0: invalid start byte (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 101, in main
File "site.py", line 78, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 200, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 42, in gui_convert_override
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 27, in gui_convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 1274, in run
File "site-packages\calibre\ebooks\conversion\plugins\mobi_ou tput.py", line 214, in convert
File "site-packages\calibre\ebooks\conversion\plugins\mobi_ou tput.py", line 237, in write_mobi
File "site-packages\calibre\ebooks\oeb\transforms\rasterize.p y", line 55, in __call__
File "site-packages\calibre\ebooks\oeb\transforms\rasterize.p y", line 142, in rasterize_spine
File "site-packages\calibre\ebooks\oeb\transforms\rasterize.p y", line 161, in rasterize_item
File "site-packages\calibre\ebooks\oeb\transforms\rasterize.p y", line 168, in rasterize_inline
File "site-packages\calibre\ebooks\oeb\transforms\rasterize.p y", line 124, in dataize_svg
File "site-packages\calibre\ebooks\oeb\base.py", line 1107, in __unicode__
File "site-packages\calibre\ebooks\oeb\base.py", line 1096, in unicode_representation
UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 0: invalid start byte
Thought you should know
Last edited by theducks; 07-16-2019 at 07:16 PM.
Reason: spoiler
|