Quantcast
Channel: MobileRead Forums - Conversion
Viewing all articles
Browse latest Browse all 3900

Errorconverting ePub > Mobi with really old version

$
0
0
Quote:

Originally Posted by wsb (Post 4121020)
I need to convert and epub to mobi but it gives endless errors via caliber

Spoiler:
calibre, version 3.28.0 (win32, embedded-python: True)
Conversion error: Failed: Convert book 1 of 1 (The Adverse Childhood Experiences Recovery Workbook)

Convert book 1 of 1 (The Adverse Childhood Experiences Recovery Workbook)
Conversion options changed from defaults: can someone help me with this? I can share the book i Purchased
output_profile: 'generic_eink'
cover: u'C:\\Users\\\AppData\\Local\\Temp\\calibre_gec0e3 \\u1jfqj.jpeg'
verbose: 2
read_metadata_from_opf: u'C:\\Users\\Wasaba\\AppData\\Local\\Temp\\calibre _gec0e3\\eqwwsj.opf'
Resolved conversion options
calibre version: 3.28.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\\Wasaba\\AppData\\Local\\Temp\\calibre _gec0e3\\u1jfqj.jpeg',
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'dont_compress': False,
'duplicate_links_in_toc': False,
'embed_all_fonts': False,
'embed_font_family': None,
'enable_heuristics': False,
'expand_css': False,
'extra_css': None,
'extract_to': 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 0x054CFE50>,
'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,
'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': False,
'no_inline_toc': False,
'output_profile': <calibre.customize.profiles.GenericEink object at 0x0312E070>,
'page_breaks_before': u'/',
'personal_doc': u'[PDOC]',
'prefer_author_sort': False,
'prefer_metadata_cover': False,
'pretty_print': False,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': u'C:\\Users\\\\AppData\\Local\\Temp\\calibre_gec0e 3\\eqwwsj.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,
'share_not_sync': 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,
'toc_title': None,
'transform_css_rules': '[]',
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: EPUB Input running

Found HTML cover titlepage.xhtml
Parsing all content...
Parsing text/part0000_split_018.html ...
Parsing text/part0000_split_019.html ...
Parsing stylesheet.css ...
Parsing text/part0000_split_045.html ...
Parsing text/part0000_split_020.html ...
Parsing text/part0000_split_021.html ...
Parsing text/part0000_split_041.html ...
Parsing text/part0000_split_022.html ...
Parsing page_styles.css ...
Parsing text/part0000_split_023.html ...
Parsing text/part0000_split_037.html ...
Parsing text/part0000_split_040.html ...
Parsing text/part0000_split_024.html ...
Parsing text/part0000_split_001.html ...
Parsing text/part0000_split_025.html ...
Parsing text/part0000_split_011.html ...
Parsing text/part0000_split_044.html ...
Parsing text/part0000_split_026.html ...
Parsing text/part0000_split_027.html ...
Parsing text/part0000_split_043.html ...
Parsing text/part0000_split_028.html ...
Parsing text/part0000_split_029.html ...
Parsing text/part0000_split_030.html ...
Parsing text/part0000_split_031.html ...
Parsing text/part0000_split_038.html ...
Parsing text/part0000_split_032.html ...
Parsing titlepage.xhtml ...
Parsing text/part0000_split_033.html ...
Parsing text/part0000_split_042.html ...
Parsing text/part0000_split_034.html ...
Parsing text/part0000_split_035.html ...
Parsing text/part0000_split_002.html ...
Parsing text/part0000_split_036.html ...
Parsing text/part0000_split_004.html ...
Parsing text/part0000_split_039.html ...
Parsing text/part0000_split_005.html ...
Parsing text/part0000_split_006.html ...
Parsing text/part0000_split_007.html ...
Parsing text/part0000_split_008.html ...
Parsing text/part0000_split_009.html ...
Parsing text/part0000_split_010.html ...
Parsing text/part0000_split_000.html ...
Parsing text/part0000_split_012.html ...
Parsing text/part0000_split_013.html ...
Parsing text/part0000_split_046.html ...
Parsing text/part0000_split_014.html ...
Parsing text/part0000_split_015.html ...
Parsing text/part0000_split_016.html ...
Parsing text/part0000_split_017.html ...
Parsing text/part0000_split_003.html ...
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 1 items of level: div_4
Found 47 items of level: div_1
Found 57 items of level: div_2
Found 15 items of level: div_3
Found 1541 items of level: p_2
Found 253 items of level: p_6
Found 221 items of level: p_4
Found 140 items of level: p_8
Ignoring level div_4
Ignoring level div_3
div_1 left margin stats: Counter({u'': 39})
div_1 right margin stats: Counter({u'': 39})
div_2 left margin stats: Counter({u'': 2})
div_2 right margin stats: Counter({u'': 2})
Negative text indent detected at level p_2, ignoring this level
p_6 left margin stats: Counter({u'0': 233, u'12px': 20})
p_6 right margin stats: Counter({u'0': 233, u'12px': 20})
Negative text indent detected at level p_4, ignoring this level
p_8 left margin stats: Counter({u'0': 140})
p_8 right margin stats: Counter({u'0': 140})
Cleaning up manifest...
Trimming unused files from manifest...
Trimming u'titlepage.xhtml' from manifest
Creating MOBI Output...
Serializing resources...
Creating MOBI 6 output
Generating in-line TOC...
Applying case-transforming CSS...
Parsing manglecase.css ...
Parsing tocstyle.css ...
Rasterizing SVG images...
Converting XHTML to Mobipocket markup...
Python function terminated unexpectedly
Argument must be bytes or unicode, got 'float' (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 195, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 33, in gui_convert_override
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 26, in gui_convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 1270, in run
File "site-packages\calibre\ebooks\conversion\plugins\mobi_ou tput.py", line 213, in convert
File "site-packages\calibre\ebooks\conversion\plugins\mobi_ou tput.py", line 245, in write_mobi
File "site-packages\calibre\ebooks\mobi\mobiml.py", line 125, in __call__
File "site-packages\calibre\ebooks\mobi\mobiml.py", line 136, in mobimlize_spine
File "site-packages\calibre\ebooks\mobi\mobiml.py", line 580, in mobimlize_elem
File "site-packages\calibre\ebooks\mobi\mobiml.py", line 580, in mobimlize_elem
File "site-packages\calibre\ebooks\mobi\mobiml.py", line 580, in mobimlize_elem
File "site-packages\calibre\ebooks\mobi\mobiml.py", line 578, in mobimlize_elem
File "site-packages\calibre\ebooks\mobi\mobiml.py", line 296, in mobimlize_content
File "src/lxml/lxml.etree.pyx", line 3127, in lxml.etree.SubElement (src\lxml\lxml.etree.c:78512)
File "src/lxml/apihelpers.pxi", line 203, in lxml.etree._makeSubElement (src\lxml\lxml.etree.c:18851)
File "src/lxml/apihelpers.pxi", line 198, in lxml.etree._makeSubElement (src\lxml\lxml.etree.c:18777)
File "src/lxml/apihelpers.pxi", line 302, in lxml.etree._initNodeAttributes (src\lxml\lxml.etree.c:20259)
File "src/lxml/apihelpers.pxi", line 316, in lxml.etree._addAttributeToNode (src\lxml\lxml.etree.c:20597)
File "src/lxml/apihelpers.pxi", line 1441, in lxml.etree._utf8 (src\lxml\lxml.etree.c:31851)
TypeError: Argument must be bytes or unicode, got 'float'

If the problem is with Calibre, you won't get that ePub to convert. You really should be using the latest version. What system and OS version are you using? Are you able to try the latest version 5.x? If not, are you able to try version 4.23?

Viewing all articles
Browse latest Browse all 3900

Trending Articles