View Single Post
Old 08-30-2011, 03:18 PM   #1
jimnee
Jim N.
jimnee began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Aug 2011
Device: Kindle
Persistant Errors with 0.8.16

Hello,

I've been using Calibre for months to convert documents to eReader formats for a non-profit client with no problems at all. I've recently downloaded the latest build for Mac, version 0.8.16. When I try and convert a simple HTML file to .mobi format I'm getting errors. The crux of the error message seems to be

Code:
UnicodeDecodeError: 'utf8' codec can't decode byte 0xc2 in position 4095: unexpected end of data
I uninstalled the app and every file related to it and reinstalled, but I'm still getting the errors, leaving my client a bit wanting. Can anyone help me make sense of what's going on?

Full error message below:

Code:
calibre, version 0.8.16
ERROR: Conversion Error: <b>Failed</b>: Convert book 1 of 1 (Daily Readings)

Convert book 1 of 1 (Daily Readings)
Resolved conversion options
calibre version: 0.8.16
{'asciiize': False,
 'author_sort': None,
 'authors': None,
 'base_font_size': 0.0,
 'book_producer': None,
 'breadth_first': False,
 'change_justification': u'original',
 'chapter': u"//*[((name()='h1' or name()='h2') and re:test(., 'chapter|book|section|part|prologue|epilogue\\s+', 'i')) or @class = 'chapter']",
 'chapter_mark': u'none',
 'comments': None,
 'cover': None,
 'debug_pipeline': None,
 'dehyphenate': True,
 'delete_blank_paragraphs': True,
 'disable_font_rescaling': False,
 'dont_compress': False,
 'dont_package': False,
 'duplicate_links_in_toc': False,
 'enable_heuristics': False,
 'extra_css': None,
 'extract_to': None,
 'fix_indents': True,
 'font_size_mapping': u'8, 10, 12, 14, 18, 24',
 'format_scene_breaks': True,
 'html_unwrap_factor': 0.4,
 'input_encoding': None,
 'input_profile': <calibre.customize.profiles.InputProfile object at 0x108759bd0>,
 'insert_blank_line': False,
 'insert_blank_line_size': 0.5,
 'insert_metadata': False,
 'isbn': None,
 'italicize_common_cases': True,
 'keep_ligatures': False,
 'kindlegen': False,
 'language': None,
 'level1_toc': u'//h:h2',
 'level2_toc': u'//h:h3',
 '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_levels': 5,
 'max_toc_links': 50,
 'minimum_line_height': 120.0,
 'mobi_ignore_margins': False,
 'mobi_toc_at_start': True,
 'no_chapters_in_toc': False,
 'no_inline_navbars': True,
 'no_inline_toc': False,
 'output_profile': <calibre.customize.profiles.KindleOutput object at 0x10875a250>,
 'page_breaks_before': None,
 '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': '/var/folders/mg/scxc7jx13qnfbmfk4pwm496m0000gn/T/calibre_0.8.16_tmp_QYDUuK/yhkwkY.opf',
 'remove_fake_margins': False,
 'remove_first_image': False,
 'remove_paragraph_spacing': False,
 'remove_paragraph_spacing_indent_size': 1.5,
 'renumber_headings': True,
 'replace_scene_breaks': u'',
 'rescale_images': False,
 'series': None,
 'series_index': None,
 'smarten_punctuation': True,
 'sr1_replace': None,
 'sr1_search': None,
 'sr2_replace': None,
 'sr2_search': None,
 'sr3_replace': None,
 'sr3_search': None,
 'tags': None,
 'timestamp': None,
 'title': None,
 'title_sort': None,
 'toc_filter': None,
 'toc_threshold': 6,
 'toc_title': u'Table of Contents',
 'unwrap_lines': True,
 'use_auto_toc': True,
 'verbose': 2}
Python function terminated unexpectedly: 'utf8' codec can't decode byte 0xc2 in position 4095: unexpected end of data
InputFormatPlugin: HTML Input running
on /var/folders/mg/scxc7jx13qnfbmfk4pwm496m0000gn/T/calibre_0.8.16_tmp_QYDUuK/aaonWx.html
Language not specified
Creator not specified
Building file list...
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 181, 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 937, in run
  File "site-packages/calibre/customize/conversion.py", line 204, in __call__
  File "site-packages/calibre/ebooks/html/input.py", line 294, in convert
  File "site-packages/calibre/ebooks/html/input.py", line 343, in create_oebbook
  File "site-packages/calibre/ebooks/html/input.py", line 229, in get_filelist
  File "site-packages/calibre/ebooks/html/input.py", line 189, in traverse
  File "site-packages/calibre/ebooks/html/input.py", line 122, in __init__
  File "site-packages/calibre/ebooks/chardet/__init__.py", line 91, in xml_to_unicode
  File "lib/python2.7/encodings/utf_8.py", line 16, in decode
UnicodeDecodeError: 'utf8' codec can't decode byte 0xc2 in position 4095: unexpected end of data
jimnee is offline   Reply With Quote