Feed failing to parse in planet 2.0
Matt Smith
matt at xtaz.co.uk
Thu Sep 18 04:03:57 EST 2008
I'm using the 2.0 release tarball of planet and it works perfectly except
on one certain feed. The feed in question is
http://feeds.feedburner.com/ICanHasCheezburger and it produces this error
when planet tries to parse it:
INFO:planet:Updating feed <http://feeds.feedburner.com/ICanHasCheezburger>
DEBUG:planet:E-Tag: +llU9Me/LUL4llYPOVhQ94OBlCc
DEBUG:planet:Last Modified: 2008-09-17T16:55:15+00:00
ERROR:planet.runner:Update of
<http://feeds.feedburner.com/ICanHasCheezburger> failed
Traceback (most recent call last):
File "/usr/home/matt/www/planet/planet/__init__.py", line 246, in run
channel.update()
File "/usr/home/matt/www/planet/planet/__init__.py", line 654, in update
self.update_entries(info.entries)
File "/usr/home/matt/www/planet/planet/__init__.py", line 760, in
update_entries
item.update(entry)
File "/usr/home/matt/www/planet/planet/__init__.py", line 883, in update
if item.type == 'text/html':
File "/usr/home/matt/www/planet/planet/feedparser.py", line 238, in
__getattr__
raise AttributeError, "object has no attribute '%s'" % key
AttributeError: object has no attribute 'type'
I've run this feed through the feed validator and whilst it doesn't
validate it only has one problem apparently which you can see at
http://feedvalidator.org/check.cgi?url=http%3A%2F%2Ffeeds.feedburner.com%2FICanHasCheezburger
which is:
line 14, column 206: feedburner:emailServiceId must be a positive integer:
k5j89m14789ssbpekrrprd3hh8
...
mailServiceId>k5j89m14789ssbpekrrprd3hh8</feedburner:emailServiceId><fee
...
I've tried removing this particular attribute on a local copy and the feed
then validates perfectly but planet still gives the same error.
Any ideas how I can make planet work with this feed?
Regards, Matt.
More information about the devel
mailing list