#3664: UnicodeDecodeError in contrib/syndication/feeds.py
-------------------------------------------------+--------------------------
Reporter: Ville Säävuori <[EMAIL PROTECTED]> | Owner:
jacob
Status: closed | Component:
Documentation
Version: SVN | Resolution: fixed
Keywords: unicode | Stage:
Accepted
Has_patch: 0 | Needs_docs: 0
Needs_tests: 1 | Needs_better_patch: 1
-------------------------------------------------+--------------------------
Changes (by anonymous):
* needs_better_patch: 0 => 1
* needs_tests: 0 => 1
Comment:
I still have this error, I think the ticket should be reopened.
From what I can tell the error has nothing to do with fully encoding your
url fragments and so on. The problem seems to be that the feed object gets
a somehow not URL-quoted feed_url where it says
{{{
def __init__(self, slug, feed_url):
}}}
when I do a ''print feed_url'' it does not show me a URL which is "ASCII
and URL-quoted". So the part after
{{{
# 'url' must already be ASCII and URL-quoted, so no need for encoding
}}}
throws an error. Maybe no one ever discovered the bug because you don't
have to do with foreign-language sites!?
--
Ticket URL: <http://code.djangoproject.com/ticket/3664#comment:9>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---