convert file failed: azw3 -> mobi
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
version 2.30
OS: Mac OS X Yosemite
The azw3 ebook is a non-DRM protected ebook, and it can be successfully opened and browsed with Kindle for Mac app.
Issue Reproducible : YES
Error message: copied as below.
calibre, version 2.30.0 (darwin, isfrozen: True)
Conversion Error: Failed: Convert book 1 of 1 (The Old Man and the Sea (Bridge Bilingual Classics) (English-Chinese Bilingual Edition))
Convert book 1 of 1 (The Old Man and the Sea (Bridge Bilingual Classics) (English-Chinese Bilingual Edition))
Resolved conversion options
calibre version: 2.30.0
{'asciiize': True,
'author_sort': None,
'authors': None,
'base_font_size': 0.0,
'book_producer': None,
'change_
'chapter': u"//*[((name()='h1' or name()='h2') and re:test(., '\\s*((
'chapter_mark': u'pagebreak',
'comments': None,
'cover': u'/var/
'debug_pipeline': None,
'dehyphenate': True,
'delete_
'disable_
'dont_compress': False,
'duplicate_
'embed_all_fonts': False,
'embed_
'enable_
'expand_css': False,
'extra_css': None,
'extract_to': None,
'filter_css': u'',
'fix_indents': True,
'font_
'format_
'html_
'input_encoding': None,
'input_profile': <calibre.
'insert_
'insert_
'insert_metadata': False,
'isbn': None,
'italicize_
'keep_ligatures': False,
'language': None,
'level1_toc': None,
'level2_toc': None,
'level3_toc': None,
'line_height': 0.0,
'linearize_
'margin_bottom': 5.0,
'margin_left': 5.0,
'margin_right': 5.0,
'margin_top': 5.0,
'markup_
'max_toc_links': 50,
'minimum_
'mobi_file_type': u'old',
'mobi_
'mobi_
'mobi_
'no_chapters_
'no_inline_
'no_inline_toc': False,
'output_profile': <calibre.
'page_
'personal_doc': u'[PDOC]',
'prefer_
'prefer_
'pretty_print': False,
'pubdate': None,
'publisher': None,
'rating': None,
'read_
'remove_
'remove_
'remove_
'remove_
'renumber_
'replace_
'search_replace': '[]',
'series': None,
'series_index': None,
'share_not_sync': False,
'smarten_
'sr1_replace': None,
'sr1_search': None,
'sr2_replace': None,
'sr2_search': None,
'sr3_replace': None,
'sr3_search': None,
'start_
'subset_
'tags': None,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'toc_title': None,
'unsmarten_
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
Python function terminated unexpectedly: 'utf8' codec can't decode byte 0xe3 in position 8702: invalid continuation byte
InputFormatPlugin: MOBI Input running
on /var/folders/
Found KF8 MOBI of type 'standalone'
Extracting text...
The div table for SKEL0000000001 has incorrect insert positions. Calculating manually.
The div table for SKEL0000000002 has incorrect insert positions. Calculating manually.
The div table for SKEL0000000003 has incorrect insert positions. Calculating manually.
The div table for SKEL0000000004 has incorrect insert positions. Calculating manually.
Traceback (most recent call last):
File "/Applications/
return run_entry_point()
File "/Applications/
return getattr(pmod, func)()
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
File "lib/python2.
UnicodeDecodeError: 'utf8' codec can't decode byte 0xe3 in position 8702: invalid continuation byte
That file is corrupted, Kindles apparently just ignore the corrupted
bytes, I will have calibre do the same.