View Single Post
Old 04-06-2010, 05:04 PM   #1738
chensl316
Junior Member
chensl316 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Apr 2010
Device: nook
hi kiklop74,

the new Sydney Morning Herald recipe is down:

ERROR: Conversion Error: <b>Failed</b>: Fetch news from SMH

Fetch news from SMH
Resolved conversion options
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0,
'book_producer': None,
'chapter': None,
'chapter_mark': 'pagebreak',
'comments': None,
'cover': None,
'debug_pipeline': None,
'disable_font_rescaling': False,
'dont_download_recipe': False,
'dont_justify': False,
'dont_split_on_page_breaks': True,
'extra_css': None,
'extract_to': None,
'flow_size': 260,
'font_size_mapping': None,
'footer_regex': '(?i)(?<=<hr>)((\\s*<a name=\\d+></a>((<img.+?>)*<br>\\s*)?\\d+<br>\\s*.*?\\s*)|(\\s* <a name=\\d+></a>((<img.+?>)*<br>\\s*)?.*?<br>\\s*\\d+))(?=<br>)' ,
'header_regex': '(?i)(?<=<hr>)((\\s*<a name=\\d+></a>((<img.+?>)*<br>\\s*)?\\d+<br>\\s*.*?\\s*)|(\\s* <a name=\\d+></a>((<img.+?>)*<br>\\s*)?.*?<br>\\s*\\d+))(?=<br>)' ,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x639d830>,
'insert_blank_line': False,
'insert_metadata': False,
'isbn': None,
'language': None,
'level1_toc': None,
'level2_toc': None,
'level3_toc': None,
'line_height': 0,
'linearize_tables': False,
'lrf': False,
'margin_bottom': 5.0,
'margin_left': 5.0,
'margin_right': 5.0,
'margin_top': 5.0,
'max_toc_links': 50,
'no_chapters_in_toc': False,
'no_default_epub_cover': False,
'no_inline_navbars': False,
'output_profile': <calibre.customize.profiles.NookOutput object at 0x639dc30>,
'page_breaks_before': None,
'password': None,
'prefer_metadata_cover': False,
'preprocess_html': False,
'pretty_print': True,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': None,
'remove_first_image': False,
'remove_footer': False,
'remove_header': False,
'remove_paragraph_spacing': False,
'remove_paragraph_spacing_indent_size': 1.5,
'series': None,
'series_index': None,
'tags': None,
'test': False,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'use_auto_toc': False,
'username': None,
'verbose': 2}
Python function terminated unexpectedly: ('utf8', '\xa3', 0, 1, 'unexpected code byte')
InputFormatPlugin: Recipe Input running
Traceback (most recent call last):
File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.6/site.py", line 147, in main
return run_entry_point()
File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.6/site.py", line 116, in run_entry_point
return getattr(pmod, func)()
File "site-packages/calibre/utils/ipc/worker.py", line 99, in main
File "site-packages/calibre/gui2/convert/gui_conversion.py", line 24, in gui_convert
File "site-packages/calibre/ebooks/conversion/plumber.py", line 787, in run
File "site-packages/calibre/customize/conversion.py", line 211, in __call__
File "site-packages/calibre/web/feeds/input.py", line 104, in convert
File "site-packages/calibre/web/feeds/news.py", line 638, in download
File "site-packages/calibre/web/feeds/news.py", line 755, in build_index
File "/var/folders/Nj/Njhb3-AQHUKFiIR0kxHY6U+++TI/-Tmp-/calibre_0.6.46_q0TxVD_recipes/recipe0.py", line 47, in parse_index
soup = self.index_to_soup('http://www.smh.com.au/todays-paper')
File "site-packages/calibre/web/feeds/news.py", line 452, in index_to_soup
File "site-packages/calibre/ebooks/BeautifulSoup.py", line 1435, in __init__
File "site-packages/calibre/ebooks/BeautifulSoup.py", line 1055, in __init__
File "site-packages/calibre/ebooks/BeautifulSoup.py", line 1084, in _feed
File "site-packages/calibre/web/feeds/news.py", line 451, in <lambda>
File "site-packages/calibre/__init__.py", line 420, in entity_to_unicode
File "lib/python2.6/encodings/utf_8.py", line 16, in decode
UnicodeDecodeError: 'utf8' codec can't decode byte 0xa3 in position 0: unexpected code byte
chensl316 is offline