Planet no longer working



Have been using Planet for a while to scrape & aggregate some RSS feeds - has worked perfectly from installation up until a few days ago, when it stopped updating and started producing errors everytime cron ran the script. Haven’t made any changes myself, and Dreamhost support tell me nothing has changed at their end, so I’m at a bit of a loss as to what’s gone wrong.

Here’s the error output ( and substituted for the real thing):

Traceback (most recent call last):
File “/home///planet/”, line 167, in
File “/home///planet/”, line 160, in main, planet_link, template_files, offline)
File “/home///planet/planet/”, line 240, in run
channel = Channel(self, feed_url)
File “/home///planet/planet/”, line 527, in init
File “/home///planet/planet/”, line 569, in cache_read_entries
item = NewsItem(self, key)
File “/home///planet/planet/”, line 845, in init
File “/home///planet/planet/”, line 73, in cache_read
self._value[key] = self._cache[cache_key]
File “/usr/lib/python2.5/bsddb/”, line 223, in getitem
return _DeadlockWrap(lambda: self.db[key]) # self.db[key]
File “/usr/lib/python2.5/bsddb/”, line 62, in DeadlockWrap
return function(*_args, **_kwargs)
File “/usr/lib/python2.5/bsddb/”, line 223, in
return _DeadlockWrap(lambda: self.db[key]) # self.db[key]
KeyError: ‘ comments’

Anyone familiar with Python or Planet able to shed any light?


That sounds like there may be some bad data in Planet’s cache which is tripping it up. I’m not familiar with the software, but if there’s some sort of cache directory, try emptying it out.


Good call - problem solved. Many thanks!