Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 06-17-2013, 08:54 AM   #1
HowardBrazee
Zealot
HowardBrazee began at the beginning.
 
HowardBrazee's Avatar
 
Posts: 141
Karma: 10
Join Date: Oct 2010
Location: Lafayette, CO
Device: iPad
Help with conversion failure

I tried converting this file to both epub & mobi. What should I do?

Here's my error message:
calibre, version 0.9.30 (darwin, isfrozen: True)
Conversion Error: Failed: Convert book 1 of 1 (Devil's Food: Corinna Chapman #3 (Corinna Chapman Mysteries))
Spoiler:


Convert book 1 of 1 (Devil's Food: Corinna Chapman #3 (Corinna Chapman Mysteries))
Resolved conversion options
calibre version: 0.9.30
{'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'/var/folders/kc/72h0g8q929dd2gq0shxv804r0000gn/T/calibre_0.9.30_tmp_O0daw_/V3aV61.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_font_family': None,
'enable_heuristics': False,
'epub_flatten': 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 0x107524450>,
'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,
'no_chapters_in_toc': False,
'no_default_epub_cover': False,
'no_inline_navbars': False,
'no_svg_cover': False,
'output_profile': <calibre.customize.profiles.OutputProfile object at 0x107524810>,
'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'/var/folders/kc/72h0g8q929dd2gq0shxv804r0000gn/T/calibre_0.9.30_tmp_O0daw_/ftQks4.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,
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
Python function terminated unexpectedly: 'utf8' codec can't decode byte 0xa0 in position 30866: invalid start byte
InputFormatPlugin: MOBI Input running
on /var/folders/kc/72h0g8q929dd2gq0shxv804r0000gn/T/calibre_0.9.30_tmp_O0daw_/WN3akD.azw3
Found KF8 MOBI of type 'standalone'
Extracting text...
The div table for SKEL0000000004 has incorrect insert positions. Calculating manually.
The div table for SKEL0000000005 has incorrect insert positions. Calculating manually.
The div table for SKEL0000000006 has incorrect insert positions. Calculating manually.
The div table for SKEL0000000007 has incorrect insert positions. Calculating manually.
The div table for SKEL0000000008 has incorrect insert positions. Calculating manually.
The div table for SKEL0000000009 has incorrect insert positions. Calculating manually.
The div table for SKEL0000000013 has incorrect insert positions. Calculating manually.
The div table for SKEL0000000014 has incorrect insert positions. Calculating manually.
The div table for SKEL0000000017 has incorrect insert positions. Calculating manually.
The div table for SKEL0000000018 has incorrect insert positions. Calculating manually.
The div table for SKEL0000000019 has incorrect insert positions. Calculating manually.
The div table for SKEL0000000020 has incorrect insert positions. Calculating manually.
The div table for SKEL0000000021 has incorrect insert positions. Calculating manually.
The div table for SKEL0000000023 has incorrect insert positions. Calculating manually.
The div table for SKEL0000000024 has incorrect insert positions. Calculating manually.
The div table for SKEL0000000025 has incorrect insert positions. Calculating manually.
The div table for SKEL0000000028 has incorrect insert positions. Calculating manually.
Traceback (most recent call last):
File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.7/site.py", line 147, in main
return run_entry_point()
File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.7/site.py", line 116, in run_entry_point
return getattr(pmod, func)()
File "site-packages/calibre/utils/ipc/worker.py", line 189, 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 1009, in run
File "site-packages/calibre/customize/conversion.py", line 239, in __call__
File "site-packages/calibre/ebooks/conversion/plugins/mobi_input.py", line 40, in convert
File "site-packages/calibre/ebooks/mobi/reader/mobi8.py", line 95, in __call__
File "site-packages/calibre/ebooks/mobi/reader/mobi8.py", line 425, in expand_text
File "site-packages/calibre/ebooks/mobi/reader/markup.py", line 310, in expand_mobi8_markup
File "site-packages/calibre/ebooks/mobi/reader/markup.py", line 51, in update_internal_links
File "lib/python2.7/encodings/utf_8.py", line 16, in decode
UnicodeDecodeError: 'utf8' codec can't decode byte 0xa0 in position 30866: invalid start byte

Last edited by theducks; 06-17-2013 at 09:43 AM. Reason: Wrapped long paste in Spoiler
HowardBrazee is offline   Reply With Quote
Old 06-17-2013, 09:50 AM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,659
Karma: 54369090
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Please use the spoiler tags (eye with red X on advanced edit menu) for long pastes

The last line leads me to believe that your original has a encoding error at position 30866 (into the azw3 source file)

(there may be other errors as well: The div table for SKEL0000000004 has incorrect insert positions. Calculating manually. )
theducks is offline   Reply With Quote
Advert
Old 06-17-2013, 01:08 PM   #3
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,469
Karma: 5432724
Join Date: Nov 2009
Device: many
Hi,

The actual bug was here:

> Python function terminated unexpectedly: 'utf8' codec can't decode byte 0xa0 in position 30866: invalid start byte

I think this is a bug already fixed in very recent versions of calibre. Please update to the very latest version of calibre and try again.

KevinH

Quote:
Originally Posted by theducks View Post
Please use the spoiler tags (eye with red X on advanced edit menu) for long pastes

The last line leads me to believe that your original has a encoding error at position 30866 (into the azw3 source file)

(there may be other errors as well: The div table for SKEL0000000004 has incorrect insert positions. Calculating manually. )
KevinH is offline   Reply With Quote
Old 06-18-2013, 08:11 AM   #4
HowardBrazee
Zealot
HowardBrazee began at the beginning.
 
HowardBrazee's Avatar
 
Posts: 141
Karma: 10
Join Date: Oct 2010
Location: Lafayette, CO
Device: iPad
Upgrading Calibre solved my problem, thanks!!!
HowardBrazee is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
MOBI to EPUB Conversion Failure ralphjab Conversion 14 06-08-2013 07:39 PM
Conversion Failure: Epub to MOBI Paulie_D Conversion 5 10-10-2011 05:11 PM
Weird conversion failure franx Amazon Kindle 2 06-06-2010 03:25 PM
Conversion Failure edbro Calibre 1 02-27-2010 02:31 PM
Dictionary Conversion Failure? daffy4u Kindle Formats 13 11-29-2008 08:07 AM


All times are GMT -4. The time now is 12:39 AM.


MobileRead.com is a privately owned, operated and funded community.