Ticket #644 (closed defect: fixed)
UnicodeDecodeError
| Reported by: | kekc | Owned by: | kovidgoyal |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Graphical User Interface | Version: | trunk |
| Keywords: | Cc: |
Description
Hey, Kovid!
Thank you so much for the program. Unfortunately I could not make RSS fetch working. Every feed that I am trying to fetch returns error like that (for The Economist): Unicode Decode Error?: 'ascii' codec can't decode byte 0xd1 in position 2: ordinal not in range(128) Failed to perform job: Fetch news from The Economist Detailed traceback: Traceback (most recent call last):
File "parallel.py", line 139, in run_job File "libprs500\ebooks\lrf\feeds\convert_from.pyo", line 40, in main File "libprs500\web\feeds\main.pyo", line 134, in run_recipe File "libprs500\web\feeds\news.pyo", line 466, in download File "libprs500\web\feeds\news.pyo", line 586, in build_index File "libprs500\web\feeds\news.pyo", line 488, in feeds2index File "genshi\core.pyo", line 154, in render File "genshi\output.pyo", line 45, in encode File "genshi\output.pyo", line 176, in call File "genshi\output.pyo", line 519, in call File "genshi\output.pyo", line 691, in call File "genshi\core.pyo", line 405, in escape
Unicode Decode Error?: 'ascii' codec can't decode byte 0xd1 in position 2: ordinal not in range(128) Log: Fetching feeds... 0% Fetching feeds... 0% Got feeds from index page 0% Trying to download cover...
This one is for the BBC:
Unicode Decode Error?: 'ascii' codec can't decode byte 0xcf in position 0: ordinal not in range(128) Failed to perform job: Fetch news from The BBC Detailed traceback: Traceback (most recent call last):
File "parallel.py", line 139, in run_job File "libprs500\ebooks\lrf\feeds\convert_from.pyo", line 40, in main File "libprs500\web\feeds\main.pyo", line 134, in run_recipe File "libprs500\web\feeds\news.pyo", line 466, in download File "libprs500\web\feeds\news.pyo", line 573, in build_index File "libprs500\web\feeds\news.pyo", line 766, in parse_feeds File "libprs500\web\feeds\init.pyo", line 171, in feed_from_xml File "libprs500\web\feeds\init.pyo", line 73, in populate_from_feed File "libprs500\web\feeds\init.pyo", line 133, in parse_article
Unicode Decode Error?: 'ascii' codec can't decode byte 0xcf in position 0: ordinal not in range(128) Log: Fetching feeds... 0% Fetching feeds... 0% Fetching feed News Front Page...
RSS is the most important feature I wanna use libprs for (your idea for python-scripting RSS extracts is AWESOME!!!), so please advise how to handle this issue.
My OS is Win XP English version, with Russian local and Unicode. Lib Prs?500 is the last one: 0.4.49.
Thanks in advance!
