Saturday, October 3, 2009

Problem in Planet.py solved by clearing the cache

This can happen in two ways:
  • The cache is some how corrupt
  • The rss of few members have changed.
The former one is easy. Just clear the respective cache. and run planet.py pathto config.ini

The second process is manual. I would have to check all the feed. If the planet has more than 100 feeds, I am in trouble.

Lucky!
I was all set by clearing the cache.

Following was the error message at the prompt:

Traceback (most recent call last):
  File "planet.py", line 167, in ?
    main()
  File "planet.py", line 160, in main
    my_planet.run(planet_name, planet_link, template_files, offline)
  File "~~/planet/planet/__init__.py", line 240, in run
    channel = Channel(self, feed_url)
  File "~~/planet/planet/__init__.py", line 527, in __init__
    self.cache_read_entries()
  File "~~/planet/planet/__init__.py", line 564, in cache_read_entries
    keys = self._cache.keys()
  File "/usr/lib64/python2.3/bsddb/__init__.py", line 138, in keys
    return self.db.keys()
bsddb._db.DBPageNotFoundError: (-30988, 'DB_PAGE_NOTFOUND: Requested page not found')

No comments:

Post a Comment

Thanks for the comment.
Please stay on topics; off-topic/advertisement comments will be removed.

You may also like to visit : My Frame of Reference
(Press shift while clicking: Opens in New window.)