Amit Chakradeo (अमित चक्रदेव) wrote:
> Hi,
>
> I am getting errors on a feed from eventful.com
<ht
tp://eventful.com/atom/events?page_size=50&sort_order=Da
te&within=25&units=miles&display=Medium&q=&a
mp;l=San+Diego+metro+area&t=next+week&c=
> <http://eventful.com/atom/events?page_size=50&sort_orde
r=Date&within=25&units=miles&display=Medium&
q=&l=San+Diego+metro+area&t=next+week&c=>
>
> python tests/reconstitute.py '
> ht
tp://eventful.com/atom/events?page_size=50&sort_order=Da
te&within=25&units=miles&display=Medium&q=&a
mp;l=San+Diego+metro+area&t=next+week&c=
> <http://eventful.com/atom/events?page_size=50&sort_orde
r=Date&within=25&units=miles&display=Medium&
q=&l=San+Diego+metro+area&t=next+week&c=>
'
>
> ERROR:planet.runner:AttributeError: 'unicode' object
has no attribute
> 'has_key'
> ERROR:planet.runner: File
>
"/home/spacefra/planet/venus/planet/spider.py",
line 420, in spiderPlanet
> writeCache(uri, feed_info, data)
> ERROR: planet.runner: File
>
"/home/spacefra/planet/venus/planet/spider.py",
line 152, in writeCache
> scrub.scrub(feed_uri, data)
> ERROR:planet.runner: File
>
"/home/spacefra/planet/venus/planet/scrub.py",
line 109, in scrub
> if not node.has_key('type'): continue
> <?xml version="1.0"?>
> <feed xmlns="http://www.w3.org/2
005/Atom" xmlns:planet="
> http://planet.i
ntertwingly.net/"
> xmlns:indexing="urn:atom-extension:indexing"
indexing:index="no">
> <title>Unconfigured Planet</title>
> <updated>2007-03-12T15:13:18Z</updated>
> <generator uri="http://intertwingly.net/code/venus/">
;Venus</generator>
> <author>
> <name>Anonymous Coward</name>
> </author>
> </feed>
>
>
> What gives?
Fixed in revision 191. Thanks!
- Sam Ruby
--
devel mailing list
devel lists.planetplanet.org
http://lists.planetplanet.org/mailman/listinfo/devel
|