View Single Post
Old 08-23-2010, 02:57 PM   #1
kwolf
Junior Member
kwolf began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Aug 2010
Device: Kindle
Conversion error in news fetch

Hi, folks, I keep getting the same error message when trying to fetch news. I have followed instructions in the calibre user manual. I have one notebook and two desktops. They all give me the same error message. (They are all operated by Windows XP Korean.)

I wonder whether the problem arises because a key folder name is written in Korean, not English. (See "c:\docume~1\���ocals~1\temp\calibre_0.7.15_6dk8op _plumber\feed_0\article_1\index.xhtml" below.)

Can you guys kindly help me on this one? I hope this problem can be fixed.

>>>>>

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

Fetch news from Portfolio
Resolved conversion options
calibre version: 0.7.15
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0,
'book_producer': None,
'change_justification': 'original',
'chapter': None,
'chapter_mark': 'pagebreak',
'comments': None,
'cover': None,
'debug_pipeline': None,
'disable_font_rescaling': False,
'dont_compress': False,
'dont_download_recipe': False,
'extra_css': None,
'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 0x03C6A4D0>,
'insert_blank_line': False,
'insert_metadata': False,
'isbn': None,
'keep_ligatures': False,
'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_inline_navbars': True,
'no_inline_toc': False,
'output_profile': <calibre.customize.profiles.KindleDXOutput object at 0x03C6A7D0>,
'page_breaks_before': None,
'password': None,
'personal_doc': '[PDOC]',
'prefer_author_sort': False,
'prefer_metadata_cover': False,
'preprocess_html': False,
'pretty_print': False,
'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,
'rescale_images': False,
'series': None,
'series_index': None,
'tags': None,
'test': False,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'toc_title': None,
'use_auto_toc': False,
'username': None,
'verbose': 2}
InputFormatPlugin: Recipe Input running
Skipping article The Sky Gods Can Smile (for Now) as it is too old
Skipping article Growing Skyward (ȭ, 03 8, 2010 09:01) from feed Business Travel as it is too old.
Skipping article The Road Warrior Gets Literal as it is too old
Skipping article What's Fair Is Fare as it is too old
Skipping article EU Gives OK to an Air Alliance as it is too old
Skipping article The Tech Travel Essentials as it is too old
Skipping article Into African Skies as it is too old
Skipping article A Las Vegas Analyst's Odd Prediction as it is too old
Synthesizing mastheadImage
Downloading
Fetching http://www.portfolio.com/business-tr...s?ana=from_rss
Downloading
Fetching http://www.portfolio.com/business-tr...s?ana=from_rss
Processing images...
Fetching http://assets.portfolio.com/business...tty-medium.jpg
Processing images...
Fetching http://assets.portfolio.com/images/s...ort-medium.jpg
Fetching http://assets.portfolio.com/business...res-medium.jpg
Fetching http://assets.portfolio.com/business...ock-medium.jpg
Fetching http://assets.portfolio.com/business...tty-medium.jpg
Fetching http://assets.portfolio.com/images/site/icn/icon_if.gif
Fetching http://assets.portfolio.com/css/blueprint/screen.css
Fetching http://assets.portfolio.com/css/blueprint/screen.css
Fetching http://assets.portfolio.com/css/blueprint/print.css
Fetching http://assets.portfolio.com/css/blueprint/print.css
Fetching http://assets.portfolio.com/css/global.css
Fetching http://assets.portfolio.com/css/global.css
Fetching http://assets.portfolio.com/css/disqus.css
Fetching http://assets.portfolio.com/css/popup.css
Fetching http://assets.portfolio.com/css/popup.css
Recursion limit reached. Skipping links in http://www.portfolio.com/business-tr...s?ana=from_rss
Recursion limit reached. Skipping links in http://www.portfolio.com/business-tr...s?ana=from_rss
D:\Program Files\Lib\ntpath.py:490: UnicodeWarning: Unicode unequal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
http://www.portfolio.com/business-tr...s?ana=from_rss saved to c:\docume~1\���ocals~1\temp\calibre_0.7.15_6dk8op_ plumber\feed_0\article_1\index.xhtml
http://www.portfolio.com/business-tr...s?ana=from_rss saved to c:\docume~1\���ocals~1\temp\calibre_0.7.15_6dk8op_ plumber\feed_0\article_0\index.xhtml
Downloaded article: How Banks Bite Business Travelers from http://www.portfolio.com/business-tr...s?ana=from_rss
Downloaded article: Fly Right, Eat Well:<br>The Best Airport Dining Options from http://www.portfolio.com/business-tr...s?ana=from_rss
D:\Program Files\Lib\site-packages\calibre\ebooks\metadata\opf2.py:85: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
Python function terminated unexpectedly
All strings must be XML compatible: Unicode or ASCII, no NULL bytes (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 103, in main
File "site.py", line 85, in run_entry_point
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 815, 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 707, in download
File "site-packages\calibre\web\feeds\news.py", line 939, in build_index
File "site-packages\calibre\web\feeds\news.py", line 1225, in create_opf
File "contextlib.py", line 34, in __exit__
File "contextlib.py", line 113, in nested
File "site-packages\calibre\web\feeds\news.py", line 1225, in create_opf
File "site-packages\calibre\ebooks\metadata\opf2.py", line 1100, in render
File "site-packages\lxml\builder.py", line 210, in __call__
File "site-packages\lxml\builder.py", line 195, in add_dict
File "lxml.etree.pyx", line 1945, in lxml.etree._Attrib.__setitem__ (src/lxml/lxml.etree.c:42569)
File "apihelpers.pxi", line 487, in lxml.etree._setAttributeValue (src/lxml/lxml.etree.c:13896)
File "apihelpers.pxi", line 1242, in lxml.etree._utf8 (src/lxml/lxml.etree.c:19848)
ValueError: All strings must be XML compatible: Unicode or ASCII, no NULL bytes
kwolf is offline   Reply With Quote