Debugging feedparser

Simon Morris simon.morris at
Wed Apr 26 22:04:40 EST 2006


I mailed this list a while ago about my Serendipity feed that wasn't 
playing nicely with Planet

I think we decided that the version of feedparser the guy who runs our 
planet site is using was old.

He gave me this debug he encounters when trying to syndicate my site... 
at the moment I don't appear on at all :(

$ /home/dwilson/sandbox/bin/
ERROR:root:Update from
<> failed
Traceback (most recent call last):
   File "/home/dwilson/planetgllug/", line 134, in ?
   File "", line 184, in update
     self._update(baseuri, data)
   File "", line 288, in _update
   File "/usr/lib/python2.2/", line 95, in feed
   File "/usr/lib/python2.2/", line 134, in goahead
     k = self.parse_endtag(i)
   File "/usr/lib/python2.2/", line 303, in parse_endtag
   File "/usr/lib/python2.2/", line 343, in finish_endtag
   File "", line 358, in unknown_endtag
   File "", line 778, in _end_content
     value = self.pop('content')
   File "", line 480, in pop
     output = resolveRelativeURIs(output, self.baseuri)
   File "", line 897, in resolveRelativeURIs
     data = p.output()
   File "", line 853, in output
     return "".join(self.pieces)
UnicodeError: ASCII decoding error: ordinal not in range(128)

My question is - What tests can I do myself to try and track down where 
things are going wrong? Can I prove that my feed is to blame here at 
all, or is it feedparser?



More information about the devel mailing list