Launchpad bug report: https://bugs.launchpad.net/calibre/+bug/1627912
Calibre version: 2.68.0 (the newest as of this post)
OS: Windows 10
KePub conversion, whether by the KePub output plugin or when converting while trying to send an Epub or AZW (I use the DeDRM plugin and I've been able to convert and view AZW books in other formats) via Kobo Touch Extended, always fails with a similar error message, and from what I can infer, the same way- for about 5 different books in epub or azw. Happens with *all* books I've tried, all of which are from Kindle's PC application. Attaching a public domain book that came with the Kindle for PC installation in .azw format. The failure occurs on every settings configuration I've tried, including keeping everything at default settings.
Error message:
Job details:
Error message while trying to send over via automatic conversion:
I don't know what else I could provide. All I am able to infer myself is this error:
It's the exact same error that is the last line of every single log for the failed conversions.
Using an up-to-date Kobo Glo HD (brand new), which doesn't seemingly have any problems with the Epub format.
Calibre version: 2.68.0 (the newest as of this post)
OS: Windows 10
KePub conversion, whether by the KePub output plugin or when converting while trying to send an Epub or AZW (I use the DeDRM plugin and I've been able to convert and view AZW books in other formats) via Kobo Touch Extended, always fails with a similar error message, and from what I can infer, the same way- for about 5 different books in epub or azw. Happens with *all* books I've tried, all of which are from Kindle's PC application. Attaching a public domain book that came with the Kindle for PC installation in .azw format. The failure occurs on every settings configuration I've tried, including keeping everything at default settings.
Error message:
Code:
Convert book 1 of 1 (Aesop's Fables)
Resolved conversion options
calibre version: 2.68.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|prologue|epilogue)(\\s+|$))', 'i')) or @class = 'chapter']",
'chapter_mark': u'pagebreak',
'comments': None,
'cover': u'C:\\Users\\YIIT~1\\AppData\\Local\\Temp\\calibre_67b_tp\\m3dvyt.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,
'expand_css': False,
'extra_css': None,
'extract_to': None,
'filter_css': u'',
'fix_indents': True,
'flow_size': 280,
'font_size_mapping': None,
'format_scene_breaks': True,
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x05466B10>,
'insert_blank_line': False,
'insert_blank_line_size': 0.5,
'insert_metadata': False,
'isbn': None,
'italicize_common_cases': True,
'keep_ligatures': False,
'kepub_clean_markup': False,
'kepub_disable_hyphenation': False,
'kepub_hyphenate': False,
'kepub_replace_lang': 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_default_epub_cover': False,
'no_inline_navbars': False,
'no_svg_cover': False,
'output_profile': <calibre.customize.profiles.TabletOutput object at 0x053FA110>,
'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\\YIIT~1\\AppData\\Local\\Temp\\calibre_67b_tp\\ikv1dm.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,
'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\YIIT~1\AppData\Local\Temp\calibre_67b_tp\puwcyh.mobi
Extracting text...
Adding anchors...
Extracting images...
Cleaning up HTML...
Parsing HTML...
Converting style information to CSS...
Creating OPF...
Parsing all content...
Parsing index.html ...
Forcing index.html into XHTML namespace
Parsing styles.css ...
Generating default TOC from spine...
Merging user specified metadata...
Detecting structure...
Auto generated TOC with 0 entries.
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Removing fake margins...
Found 2181 items of level: p_1
Found 319 items of level: div_1
p_1 left margin stats: Counter({u'0': 2181})
p_1 right margin stats: Counter({u'0': 2181})
div_1 left margin stats: Counter()
div_1 right margin stats: Counter()
Cleaning up manifest...
Trimming unused files from manifest...
Trimming u'images/00002.jpg' from manifest
Creating KePub Output...
Splitting markup on page breaks and flow limits, if any...
Splitting on page-break at id=calibre_pb_0
Splitting on page-break at id=calibre_pb_1
Splitting on page-break at id=calibre_pb_2
Splitting on page-break at id=calibre_pb_3
Splitting on page-break at id=calibre_pb_4
Looking for large trees in index.html...
Found large tree #1
Splitting...
Split point: {http://www.w3.org/1999/xhtml}div /*/*[2]/*[1239]
Committed sub-tree #1 (141 KB)
Committed sub-tree #2 (143 KB)
Split into 6 parts
This EPUB file has no Table of Contents. Creating a default TOC
Copying file 'C:\Users\YIIT~1\AppData\Local\Temp\calibre_67b_tp\bznylp_KePubOutputPluginInfo' to 'C:\Users\YIIT~1\AppData\Local\Temp\calibre_67b_tp\7cayhi_epub_container' as 'plugininfo.kte'
{'smarten_punctuation': False, 'clean_markup': False, 'no-hyphens': False, 'hyphenate': False, 'extended_kepub_features': True, 'replace_lang': False}
KoboTouchExtended:common:modify_epub:Found cover image ID 'cover'
KoboTouchExtended:common:modify_epub:Setting cover-image property
Forcing cleanup for file index_split_000.html
Forcing cleanup for file index_split_001.html
Forcing cleanup for file index_split_002.html
Forcing cleanup for file index_split_003.html
Forcing cleanup for file index_split_004.html
Forcing cleanup for file index_split_005.html
Forcing cleanup for file titlepage.xhtml
KoboTouchExtended:common:modify_epub:Adding extended Kobo features to Aesop's Fables by Translated by George Fyler Townsend
Adding Kobo spans to index_split_000.html
Adding Kobo spans to index_split_001.html
Adding Kobo spans to index_split_002.html
Adding Kobo spans to index_split_003.html
Adding Kobo spans to index_split_004.html
Adding Kobo spans to index_split_005.html
Adding Kobo spans to titlepage.xhtml
Adding Kobo divs to index_split_000.html
Adding Kobo divs to index_split_001.html
Adding Kobo divs to index_split_002.html
Adding Kobo divs to index_split_003.html
Adding Kobo divs to index_split_004.html
Adding Kobo divs to index_split_005.html
Adding Kobo divs to titlepage.xhtml
Skipping file (many divs! handle it!)
Copying file 'C:\Users\YIIT~1\AppData\Local\Temp\calibre_67b_tp\kepub_rmr9sk_stylehacks' to 'C:\Users\YIIT~1\AppData\Local\Temp\calibre_67b_tp\7cayhi_epub_container' as 'kte-css/stylehacks.css'
Adding reference to kte-css/stylehacks.css to file index_split_000.html
C:\Program Files (x86)\Calibre2\pylib.zip\ntpath.py:532: UnicodeWarning: Unicode unequal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
Python function terminated unexpectedly
All strings must be XML compatible: Unicode or ASCII, no NULL bytes or control characters (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 132, in main
File "site.py", line 109, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 190, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 31, in gui_convert_override
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 25, in gui_convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 1222, in run
File "calibre_plugins.kepubout.conversion.kepub_output", line 131, in convert
File "calibre_plugins.kepubout.common", line 175, in modify_epub
File "calibre_plugins.kepubout.container", line 178, in add_content_file_reference
File "lxml.etree.pyx", line 1445, in lxml.etree._Element.makeelement (src\lxml\lxml.etree.c:49848)
File "apihelpers.pxi", line 133, in lxml.etree._makeElement (src\lxml\lxml.etree.c:14869)
File "apihelpers.pxi", line 121, in lxml.etree._makeElement (src\lxml\lxml.etree.c:14748)
File "apihelpers.pxi", line 268, in lxml.etree._initNodeAttributes (src\lxml\lxml.etree.c:16296)
File "apihelpers.pxi", line 290, in lxml.etree._addAttributeToNode (src\lxml\lxml.etree.c:16701)
File "apihelpers.pxi", line 1395, in lxml.etree._utf8 (src\lxml\lxml.etree.c:26485)
ValueError: All strings must be XML compatible: Unicode or ASCII, no NULL bytes or control characters
Code:
Convert book 1 of 1 (Aesop's Fables)
Resolved conversion options
calibre version: 2.68.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|prologue|epilogue)(\\s+|$))', 'i')) or @class = 'chapter']",
'chapter_mark': u'pagebreak',
'comments': None,
'cover': u'C:\\Users\\YIIT~1\\AppData\\Local\\Temp\\calibre_67b_tp\\m3dvyt.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,
'expand_css': False,
'extra_css': None,
'extract_to': None,
'filter_css': u'',
'fix_indents': True,
'flow_size': 280,
'font_size_mapping': None,
'format_scene_breaks': True,
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x05466B10>,
'insert_blank_line': False,
'insert_blank_line_size': 0.5,
'insert_metadata': False,
'isbn': None,
'italicize_common_cases': True,
'keep_ligatures': False,
'kepub_clean_markup': False,
'kepub_disable_hyphenation': False,
'kepub_hyphenate': False,
'kepub_replace_lang': 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_default_epub_cover': False,
'no_inline_navbars': False,
'no_svg_cover': False,
'output_profile': <calibre.customize.profiles.TabletOutput object at 0x053FA110>,
'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\\YIIT~1\\AppData\\Local\\Temp\\calibre_67b_tp\\ikv1dm.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,
'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\YIIT~1\AppData\Local\Temp\calibre_67b_tp\puwcyh.mobi
Extracting text...
Adding anchors...
Extracting images...
Cleaning up HTML...
Parsing HTML...
Converting style information to CSS...
Creating OPF...
Parsing all content...
Parsing index.html ...
Forcing index.html into XHTML namespace
Parsing styles.css ...
Generating default TOC from spine...
Merging user specified metadata...
Detecting structure...
Auto generated TOC with 0 entries.
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Removing fake margins...
Found 2181 items of level: p_1
Found 319 items of level: div_1
p_1 left margin stats: Counter({u'0': 2181})
p_1 right margin stats: Counter({u'0': 2181})
div_1 left margin stats: Counter()
div_1 right margin stats: Counter()
Cleaning up manifest...
Trimming unused files from manifest...
Trimming u'images/00002.jpg' from manifest
Creating KePub Output...
Splitting markup on page breaks and flow limits, if any...
Splitting on page-break at id=calibre_pb_0
Splitting on page-break at id=calibre_pb_1
Splitting on page-break at id=calibre_pb_2
Splitting on page-break at id=calibre_pb_3
Splitting on page-break at id=calibre_pb_4
Looking for large trees in index.html...
Found large tree #1
Splitting...
Split point: {http://www.w3.org/1999/xhtml}div /*/*[2]/*[1239]
Committed sub-tree #1 (141 KB)
Committed sub-tree #2 (143 KB)
Split into 6 parts
This EPUB file has no Table of Contents. Creating a default TOC
Copying file 'C:\Users\YIIT~1\AppData\Local\Temp\calibre_67b_tp\bznylp_KePubOutputPluginInfo' to 'C:\Users\YIIT~1\AppData\Local\Temp\calibre_67b_tp\7cayhi_epub_container' as 'plugininfo.kte'
{'smarten_punctuation': False, 'clean_markup': False, 'no-hyphens': False, 'hyphenate': False, 'extended_kepub_features': True, 'replace_lang': False}
KoboTouchExtended:common:modify_epub:Found cover image ID 'cover'
KoboTouchExtended:common:modify_epub:Setting cover-image property
Forcing cleanup for file index_split_000.html
Forcing cleanup for file index_split_001.html
Forcing cleanup for file index_split_002.html
Forcing cleanup for file index_split_003.html
Forcing cleanup for file index_split_004.html
Forcing cleanup for file index_split_005.html
Forcing cleanup for file titlepage.xhtml
KoboTouchExtended:common:modify_epub:Adding extended Kobo features to Aesop's Fables by Translated by George Fyler Townsend
Adding Kobo spans to index_split_000.html
Adding Kobo spans to index_split_001.html
Adding Kobo spans to index_split_002.html
Adding Kobo spans to index_split_003.html
Adding Kobo spans to index_split_004.html
Adding Kobo spans to index_split_005.html
Adding Kobo spans to titlepage.xhtml
Adding Kobo divs to index_split_000.html
Adding Kobo divs to index_split_001.html
Adding Kobo divs to index_split_002.html
Adding Kobo divs to index_split_003.html
Adding Kobo divs to index_split_004.html
Adding Kobo divs to index_split_005.html
Adding Kobo divs to titlepage.xhtml
Skipping file (many divs! handle it!)
Copying file 'C:\Users\YIIT~1\AppData\Local\Temp\calibre_67b_tp\kepub_rmr9sk_stylehacks' to 'C:\Users\YIIT~1\AppData\Local\Temp\calibre_67b_tp\7cayhi_epub_container' as 'kte-css/stylehacks.css'
Adding reference to kte-css/stylehacks.css to file index_split_000.html
C:\Program Files (x86)\Calibre2\pylib.zip\ntpath.py:532: UnicodeWarning: Unicode unequal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
Python function terminated unexpectedly
All strings must be XML compatible: Unicode or ASCII, no NULL bytes or control characters (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 132, in main
File "site.py", line 109, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 190, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 31, in gui_convert_override
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 25, in gui_convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 1222, in run
File "calibre_plugins.kepubout.conversion.kepub_output", line 131, in convert
File "calibre_plugins.kepubout.common", line 175, in modify_epub
File "calibre_plugins.kepubout.container", line 178, in add_content_file_reference
File "lxml.etree.pyx", line 1445, in lxml.etree._Element.makeelement (src\lxml\lxml.etree.c:49848)
File "apihelpers.pxi", line 133, in lxml.etree._makeElement (src\lxml\lxml.etree.c:14869)
File "apihelpers.pxi", line 121, in lxml.etree._makeElement (src\lxml\lxml.etree.c:14748)
File "apihelpers.pxi", line 268, in lxml.etree._initNodeAttributes (src\lxml\lxml.etree.c:16296)
File "apihelpers.pxi", line 290, in lxml.etree._addAttributeToNode (src\lxml\lxml.etree.c:16701)
File "apihelpers.pxi", line 1395, in lxml.etree._utf8 (src\lxml\lxml.etree.c:26485)
ValueError: All strings must be XML compatible: Unicode or ASCII, no NULL bytes or control characters
Code:
Convert book 1 of 1 (Aesop's Fables)
Resolved conversion options
calibre version: 2.68.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|prologue|epilogue)(\\s+|$))', 'i')) or @class = 'chapter']",
'chapter_mark': u'pagebreak',
'comments': None,
'cover': u'C:\\Users\\YIIT~1\\AppData\\Local\\Temp\\calibre_67b_tp\\ozqz5y.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,
'expand_css': False,
'extra_css': None,
'extract_to': None,
'filter_css': u'',
'fix_indents': True,
'flow_size': 280,
'font_size_mapping': None,
'format_scene_breaks': True,
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x053DDB10>,
'insert_blank_line': False,
'insert_blank_line_size': 0.5,
'insert_metadata': False,
'isbn': None,
'italicize_common_cases': True,
'keep_ligatures': False,
'kepub_clean_markup': False,
'kepub_disable_hyphenation': False,
'kepub_hyphenate': False,
'kepub_replace_lang': 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_default_epub_cover': False,
'no_inline_navbars': False,
'no_svg_cover': False,
'output_profile': <calibre.customize.profiles.TabletOutput object at 0x053AF110>,
'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\\YIIT~1\\AppData\\Local\\Temp\\calibre_67b_tp\\sifgqu.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,
'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\YIIT~1\AppData\Local\Temp\calibre_67b_tp\w3gjwl.mobi
Extracting text...
Adding anchors...
Extracting images...
Cleaning up HTML...
Parsing HTML...
Converting style information to CSS...
Creating OPF...
Parsing all content...
Parsing index.html ...
Forcing index.html into XHTML namespace
Parsing styles.css ...
Generating default TOC from spine...
Merging user specified metadata...
Detecting structure...
Auto generated TOC with 0 entries.
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Removing fake margins...
Found 2181 items of level: p_1
Found 319 items of level: div_1
p_1 left margin stats: Counter({u'0': 2181})
p_1 right margin stats: Counter({u'0': 2181})
div_1 left margin stats: Counter()
div_1 right margin stats: Counter()
Cleaning up manifest...
Trimming unused files from manifest...
Trimming u'images/00002.jpg' from manifest
Creating KePub Output...
Splitting markup on page breaks and flow limits, if any...
Splitting on page-break at id=calibre_pb_0
Splitting on page-break at id=calibre_pb_1
Splitting on page-break at id=calibre_pb_2
Splitting on page-break at id=calibre_pb_3
Splitting on page-break at id=calibre_pb_4
Looking for large trees in index.html...
Found large tree #1
Splitting...
Split point: {http://www.w3.org/1999/xhtml}div /*/*[2]/*[1239]
Committed sub-tree #1 (141 KB)
Committed sub-tree #2 (143 KB)
Split into 6 parts
This EPUB file has no Table of Contents. Creating a default TOC
Copying file 'C:\Users\YIIT~1\AppData\Local\Temp\calibre_67b_tp\bm8b7j_KePubOutputPluginInfo' to 'C:\Users\YIIT~1\AppData\Local\Temp\calibre_67b_tp\v3_jw6_epub_container' as 'plugininfo.kte'
{'no-hyphens': False, 'extended_kepub_features': True, 'clean_markup': False, 'hyphenate': False, 'smarten_punctuation': False, 'replace_lang': False}
KoboTouchExtended:common:modify_epub:Found cover image ID 'cover'
KoboTouchExtended:common:modify_epub:Setting cover-image property
Forcing cleanup for file index_split_000.html
Forcing cleanup for file index_split_001.html
Forcing cleanup for file index_split_002.html
Forcing cleanup for file index_split_003.html
Forcing cleanup for file index_split_004.html
Forcing cleanup for file index_split_005.html
Forcing cleanup for file titlepage.xhtml
KoboTouchExtended:common:modify_epub:Adding extended Kobo features to Aesop's Fables by Translated by George Fyler Townsend
Adding Kobo spans to index_split_000.html
Adding Kobo spans to index_split_001.html
Adding Kobo spans to index_split_002.html
Adding Kobo spans to index_split_003.html
Adding Kobo spans to index_split_004.html
Adding Kobo spans to index_split_005.html
Adding Kobo spans to titlepage.xhtml
Adding Kobo divs to index_split_000.html
Adding Kobo divs to index_split_001.html
Adding Kobo divs to index_split_002.html
Adding Kobo divs to index_split_003.html
Adding Kobo divs to index_split_004.html
Adding Kobo divs to index_split_005.html
Adding Kobo divs to titlepage.xhtml
Skipping file (many divs! handle it!)
Copying file 'C:\Users\YIIT~1\AppData\Local\Temp\calibre_67b_tp\kepub_tbasxg_stylehacks' to 'C:\Users\YIIT~1\AppData\Local\Temp\calibre_67b_tp\v3_jw6_epub_container' as 'kte-css/stylehacks.css'
Adding reference to kte-css/stylehacks.css to file index_split_000.html
C:\Program Files (x86)\Calibre2\pylib.zip\ntpath.py:532: UnicodeWarning: Unicode unequal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
Python function terminated unexpectedly
All strings must be XML compatible: Unicode or ASCII, no NULL bytes or control characters (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 132, in main
File "site.py", line 109, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 190, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 31, in gui_convert_override
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 25, in gui_convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 1222, in run
File "calibre_plugins.kepubout.conversion.kepub_output", line 131, in convert
File "calibre_plugins.kepubout.common", line 175, in modify_epub
File "calibre_plugins.kepubout.container", line 178, in add_content_file_reference
File "lxml.etree.pyx", line 1445, in lxml.etree._Element.makeelement (src\lxml\lxml.etree.c:49848)
File "apihelpers.pxi", line 133, in lxml.etree._makeElement (src\lxml\lxml.etree.c:14869)
File "apihelpers.pxi", line 121, in lxml.etree._makeElement (src\lxml\lxml.etree.c:14748)
File "apihelpers.pxi", line 268, in lxml.etree._initNodeAttributes (src\lxml\lxml.etree.c:16296)
File "apihelpers.pxi", line 290, in lxml.etree._addAttributeToNode (src\lxml\lxml.etree.c:16701)
File "apihelpers.pxi", line 1395, in lxml.etree._utf8 (src\lxml\lxml.etree.c:26485)
ValueError: All strings must be XML compatible: Unicode or ASCII, no NULL bytes or control characters
Quote:
ValueError: All strings must be XML compatible: Unicode or ASCII, no NULL bytes or control characters |
Using an up-to-date Kobo Glo HD (brand new), which doesn't seemingly have any problems with the Epub format.