View Single Post
Old 10-31-2015, 08:03 AM   #1405
Mike the best
Junior Member
Mike the best began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Oct 2015
Device: Kobo Aura
Quote:
Originally Posted by PeterT View Post
No one here is clairvoyant. Could you maybe help us by describing what fails, posting error messages and logs?
I have installed the KePub Metadata Reader, the KePub Metadata Write and the KePub Outputs plug-ins. Then I try to convert the books and an error message appears. It's attached below.
Also this is the text that shows at the message: calibre, version 2.42.0 (win32, isfrozen: True)
Conversion Error: Failed: Convert book 1 of 1 (Unforgiven)
Spoiler:

Convert book 1 of 1 (Unforgiven)
C:\Program Files (x86)\Calibre2\pylib.zip\dateutil\parser.py:339: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
Resolved conversion options
calibre version: 2.42.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\\C376~1\\AppData\\Local\\Temp\\calibre _cn6obl\\q6dwod.jpeg',
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': True,
'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': 260,
'font_size_mapping': None,
'format_scene_breaks': True,
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x04E6BF70>,
'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': True,
'kepub_disable_hyphenation': False,
'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.KoboReaderOutput object at 0x04E713B0>,
'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\\C376~1\\AppData\\Local\\Temp\\calibre _cn6obl\\hznso8.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,
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: MOBI Input running
on C:\Users\C376~1\AppData\Local\Temp\calibre_cn6obl\ x3rsaw.mobi
Found KF8 MOBI of type 'joint'
Extracting text...
KF8 has no metadata Table of Contents
Parsing all content...
Parsing styles/0001.css ...
Parsing text/part0000.html ...
Forcing text/part0000.html into XHTML namespace
Referenced file u'text/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' not found
Reading TOC from NCX...
Merging user specified metadata...
Detecting structure...
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Removing fake margins...
Found 2061 items of level: p_2
Found 1 items of level: div_1
Found 33 items of level: div_3
p_2 left margin stats: Counter({u'0%': 2060, u'41.67%': 1})
p_2 right margin stats: Counter({u'0%': 2061})
Removing level p_2 left margin of: 0%
Removing level p_2 right margin of: 0%
div_1 left margin stats: Counter({u'': 1})
div_1 right margin stats: Counter({u'': 1})
div_3 left margin stats: Counter({u'': 33})
div_3 right margin stats: Counter({u'': 33})
Cleaning up manifest...
Trimming unused files from manifest...
Trimming u'images/00003.jpeg' from manifest
Creating KePub Output...
Rescaling image from 769x1228 to 429x686 cover.jpeg
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
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_2
Splitting on page-break at id=calibre_pb_3
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_4
Splitting on page-break at id=calibre_pb_5
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_6
Splitting on page-break at id=calibre_pb_7
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_8
Splitting on page-break at id=calibre_pb_9
Splitting on page-break at id=calibre_pb_10
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_11
Splitting on page-break at id=calibre_pb_12
Splitting on page-break at id=calibre_pb_13
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_14
Splitting on page-break at id=calibre_pb_15
Splitting on page-break at id=calibre_pb_16
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_17
Splitting on page-break at id=calibre_pb_18
Splitting on page-break at id=calibre_pb_19
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_20
Splitting on page-break at id=calibre_pb_21
Splitting on page-break at id=calibre_pb_22
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_23
Splitting on page-break at id=calibre_pb_24
Splitting on page-break at id=calibre_pb_25
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_26
Splitting on page-break at id=calibre_pb_27
Splitting on page-break at id=calibre_pb_28
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_29
Splitting on page-break at id=calibre_pb_30
Splitting on page-break at id=calibre_pb_31
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_32
Splitting on page-break at id=calibre_pb_33
Splitting on page-break at id=calibre_pb_34
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_35
Splitting on page-break at id=calibre_pb_36
Splitting on page-break at id=calibre_pb_37
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_38
Splitting on page-break at id=calibre_pb_39
Splitting on page-break at id=calibre_pb_40
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_41
Splitting on page-break at id=calibre_pb_42
Splitting on page-break at id=calibre_pb_43
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_44
Splitting on page-break at id=calibre_pb_45
Splitting on page-break at id=calibre_pb_46
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_47
Splitting on page-break at id=calibre_pb_48
Splitting on page-break at id=calibre_pb_49
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_50
Splitting on page-break at id=calibre_pb_51
Splitting on page-break at id=calibre_pb_52
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_53
Splitting on page-break at id=calibre_pb_54
Splitting on page-break at id=calibre_pb_55
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_56
Splitting on page-break at id=calibre_pb_57
Splitting on page-break at id=calibre_pb_58
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_59
Splitting on page-break at id=calibre_pb_60
Splitting on page-break at id=calibre_pb_61
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_62
Splitting on page-break at id=calibre_pb_63
Splitting on page-break at id=calibre_pb_64
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_65
Splitting on page-break at id=calibre_pb_66
Splitting on page-break at id=calibre_pb_67
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_68
Splitting on page-break at id=calibre_pb_69
Splitting on page-break at id=calibre_pb_70
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_71
Splitting on page-break at id=calibre_pb_72
Splitting on page-break at id=calibre_pb_73
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_74
Splitting on page-break at id=calibre_pb_75
Splitting on page-break at id=calibre_pb_76
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_77
Splitting on page-break at id=calibre_pb_78
Splitting on page-break at id=calibre_pb_79
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_80
Splitting on page-break at id=calibre_pb_81
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_82
Splitting on page-break at id=calibre_pb_83
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_84
Splitting on page-break at id=calibre_pb_85
Splitting on page-break at id=calibre_pb_86
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_87
Splitting on page-break at id=calibre_pb_88
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_89
Splitting on page-break at id=calibre_pb_90
Splitting on page-break at id=calibre_pb_91
Adjusted split point to ancestor
Splitting on page-break at id=calibre_pb_92
Looking for large trees in text/part0000.html...
No large trees found
Split into 35 parts
This EPUB file has no Table of Contents. Creating a default TOC
Copying file 'C:\Users\C376~1\AppData\Local\Temp\calibre_cn6obl \vjus3y_KePubOutputPluginInfo' to 'C:\Users\C376~1\AppData\Local\Temp\calibre_cn6obl \ttxl9k_epub_container' as 'plugininfo.kte'
{'clean_markup': True, 'hyphenate': True, 'no-hyphens': False, 'smarten_punctuation': False, 'extended_kepub_features': True, 'replace_lang': True}
KoboTouchExtended:common:modify_epub:Found cover image ID 'cover'
KoboTouchExtended:common:modify_epub:Setting cover-image property
Forcing cleanup for file text/part0000_split_000.html
Forcing cleanup for file text/part0000_split_001.html
Forcing cleanup for file text/part0000_split_002.html
Forcing cleanup for file text/part0000_split_003.html
Forcing cleanup for file text/part0000_split_004.html
Forcing cleanup for file text/part0000_split_005.html
Forcing cleanup for file text/part0000_split_006.html
Forcing cleanup for file text/part0000_split_007.html
Forcing cleanup for file text/part0000_split_008.html
Forcing cleanup for file text/part0000_split_009.html
Forcing cleanup for file text/part0000_split_010.html
Forcing cleanup for file text/part0000_split_011.html
Forcing cleanup for file text/part0000_split_012.html
Forcing cleanup for file text/part0000_split_013.html
Forcing cleanup for file text/part0000_split_014.html
Forcing cleanup for file text/part0000_split_015.html
Forcing cleanup for file text/part0000_split_016.html
Forcing cleanup for file text/part0000_split_017.html
Forcing cleanup for file text/part0000_split_018.html
Forcing cleanup for file text/part0000_split_019.html
Forcing cleanup for file text/part0000_split_020.html
Forcing cleanup for file text/part0000_split_021.html
Forcing cleanup for file text/part0000_split_022.html
Forcing cleanup for file text/part0000_split_023.html
Forcing cleanup for file text/part0000_split_024.html
Forcing cleanup for file text/part0000_split_025.html
Forcing cleanup for file text/part0000_split_026.html
Forcing cleanup for file text/part0000_split_027.html
Forcing cleanup for file text/part0000_split_028.html
Forcing cleanup for file text/part0000_split_029.html
Forcing cleanup for file text/part0000_split_030.html
Forcing cleanup for file text/part0000_split_031.html
Forcing cleanup for file text/part0000_split_032.html
Forcing cleanup for file text/part0000_split_033.html
Forcing cleanup for file text/part0000_split_034.html
Forcing cleanup for file titlepage.xhtml
Cleaning markup for file text/part0000_split_000.html
Cleaning markup for file text/part0000_split_001.html
Cleaning markup for file text/part0000_split_002.html
Cleaning markup for file text/part0000_split_003.html
Cleaning markup for file text/part0000_split_004.html
Cleaning markup for file text/part0000_split_005.html
Cleaning markup for file text/part0000_split_006.html
Cleaning markup for file text/part0000_split_007.html
Cleaning markup for file text/part0000_split_008.html
Cleaning markup for file text/part0000_split_009.html
Cleaning markup for file text/part0000_split_010.html
Cleaning markup for file text/part0000_split_011.html
Cleaning markup for file text/part0000_split_012.html
Cleaning markup for file text/part0000_split_013.html
Cleaning markup for file text/part0000_split_014.html
Cleaning markup for file text/part0000_split_015.html
Cleaning markup for file text/part0000_split_016.html
Cleaning markup for file text/part0000_split_017.html
Cleaning markup for file text/part0000_split_018.html
Cleaning markup for file text/part0000_split_019.html
Cleaning markup for file text/part0000_split_020.html
Cleaning markup for file text/part0000_split_021.html
Cleaning markup for file text/part0000_split_022.html
Cleaning markup for file text/part0000_split_023.html
Cleaning markup for file text/part0000_split_024.html
Cleaning markup for file text/part0000_split_025.html
Cleaning markup for file text/part0000_split_026.html
Cleaning markup for file text/part0000_split_027.html
Cleaning markup for file text/part0000_split_028.html
Cleaning markup for file text/part0000_split_029.html
Cleaning markup for file text/part0000_split_030.html
Cleaning markup for file text/part0000_split_031.html
Cleaning markup for file text/part0000_split_032.html
Cleaning markup for file text/part0000_split_033.html
Cleaning markup for file text/part0000_split_034.html
Cleaning markup for file titlepage.xhtml
Copying file 'C:\Users\C376~1\AppData\Local\Temp\calibre_cn6obl \kepub_lvcnny_hyphenate' to 'C:\Users\C376~1\AppData\Local\Temp\calibre_cn6obl \ttxl9k_epub_container' as 'kte-css/hyphenation.css'
Adding reference to kte-css/hyphenation.css to file text/part0000_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 193, 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 1207, in run
File "calibre_plugins.kepubout.conversion.kepub_output" , line 100, in convert
File "calibre_plugins.kepubout.common", line 82, in modify_epub
File "calibre_plugins.kepubout.container", line 158, 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
Attached Thumbnails
Click image for larger version

Name:	screen.png
Views:	232
Size:	5.9 KB
ID:	143332   Click image for larger version

Name:	screen 2.png
Views:	257
Size:	30.2 KB
ID:	143333  

Last edited by theducks; 10-31-2015 at 09:41 AM. Reason: wrap long paste in spoiler
Mike the best is offline   Reply With Quote