![]() |
#1 |
Member
![]() Posts: 12
Karma: 10
Join Date: Nov 2010
Device: Sony PRS-650
|
![]()
Hi, I tried to fetch the news of the "Tagesanzeiger" (from Switzerland, in German) with the built-in recipe but after about 7 minutes an error window is displayed with the following message:
"Failed: Fetch news from Tagesanzeiger" At the end of the "Detail-Output" I can see the following error: "ValueError: All strings must be XML compatible: Unicode or ASCII, no NULL bytes" Then I tried to open the built-in recipe in calibre but then a large error message is displayed and I can not open the recipe: ERROR: ERROR: Unhandled exception: <b>DatabaseException</b>:You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_factory = str). It is highly recommended that you instead just switch your application to Unicode strings. RemoteTraceback (most recent call last): File "site-packages\calibre\library\sqlite.py", line 175, in run ProgrammingError: You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_factory = str). It is highly recommended that you instead just switch your application to Unicode strings. Does anyone knows how to fix that problem ? I use calibre 0.7.28. Thanks a lot for your help ! ![]() |
![]() |
![]() |
![]() |
#2 |
Zealot
![]() Posts: 122
Karma: 10
Join Date: Jul 2010
Device: nook
|
it sounds like the site broke its own links. wait a day or two (i think)
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,198
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
the error you get when trying to customize the builting recipe is a bug, fixed in next release. You could probably work around it by using load recipe from file and opening the recipe file from the calibre installation directory in the resources/recipes subdirectory.
|
![]() |
![]() |
![]() |
#4 |
Member
![]() Posts: 12
Karma: 10
Join Date: Nov 2010
Device: Sony PRS-650
|
Tagesanzeiger recipe OK Now
Hi again,
I Checked the built-in recipe of Tagesanzeiger and opened the recipe file from the calibre installation directory in the resources/recipes subdirectory like kovidgoyal suggested in his post (Thanks for the help kovidgoyal !). I changed a lot until I found the error in the recipe. The following line has to be changed so that there are no special characterts in it: category = 'News, Politik, Nachrichten, Schweiz, Zürich' ... has to be changed to ... category = 'News, Politik, Nachrichten, Schweiz, Zuerich' The character "ü" caused the whole problem, now it's working ! Maybe that can be fixed in a new release. Thanks to all people for their help and have a nice day ! |
![]() |
![]() |
![]() |
#5 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,198
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
done.
|
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Conversion error in news fetch | kwolf | Calibre | 3 | 08-23-2010 03:38 PM |
Fetch News error CSSRuleList | rjaaa | Calibre | 2 | 05-02-2010 07:23 PM |
News feed error | thibaulthalpern | Calibre | 4 | 03-22-2009 02:21 AM |
Error in .91 Fetch news | Mitchll | Calibre | 15 | 10-05-2008 04:52 PM |
Error in the Fetch News | luck0602 | Calibre | 11 | 08-11-2008 03:11 AM |