PlanetPlanet setup problems
Posted by: jonthejester
Posted on: 2005-02-25 23:08:00
Hi. I'm trying to setup PlanetPlanet for a LiveJournal Friends-like aggregator (for now I'm testing it), and I'm coming across some problems with, it appears, cache-writing for each site's feed. This is how it comes out for me, each time:
[vex]$ python2.2 planet-nightly/planet.py planet-nightly/examples/config.ini
INFO:root:Subscribing <http://usefulinc.com/edd/blog/rss91>
INFO:root:Updating feed <http://usefulinc.com/edd/blog/rss91>
DEBUG:root:Encoding: UTF-8
DEBUG:root:Modified: February 23, 2005 07:00 PM
DEBUG:root:URI: <http://usefulinc.com/edd/blog/rss91>
WARNING:root:Cache write failed <cache/usefulinc.com.edd.blog.rss91>
Traceback (most recent call last):
File "planet-nightly/planetlib.py", line 254, in cache_write
c = open(cache_uri, "w")
IOError: [Errno 2] No such file or directory: 'cache/usefulinc.com.edd.blog.rss91'
INFO:root:Subscribing <http://www.livejournal.com/users/keybuk/data/rss>
INFO:root:Updating feed <http://www.livejournal.com/users/keybuk/data/rss>
DEBUG:root:Encoding: UTF-8
DEBUG:root:Modified: August 17, 2004 07:22 PM
DEBUG:root:URI: <http://www.livejournal.com/users/keybuk/data/rss>
WARNING:root:Cache write failed <cache/livejournal.com.users.keybuk.data.rss>
Traceback (most recent call last):
File "planet-nightly/planetlib.py", line 254, in cache_write
c = open(cache_uri, "w")
IOError: [Errno 2] No such file or directory: 'cache/livejournal.com.users.keybuk.data.rss'
INFO:root:Subscribing <http://www.gnome.org/~jdub/blog/?flav=rss>
INFO:root:Updating feed <http://www.gnome.org/~jdub/blog/?flav=rss>
DEBUG:root:Encoding: UTF-8
DEBUG:root:E-Tag: "1109155103.0"
DEBUG:root:Modified: February 23, 2005 10:38 AM
DEBUG:root:URI: <http://www.gnome.org/~jdub/blog/?flav=rss>
WARNING:root:Cache write failed <cache/gnome.org.jdub.blog.flav.rss>
Traceback (most recent call last):
File "planet-nightly/planetlib.py", line 254, in cache_write
c = open(cache_uri, "w")
IOError: [Errno 2] No such file or directory: 'cache/gnome.org.jdub.blog.flav.rss'
INFO:root:Subscribing <http://www.actsofvolition.com/rss>
INFO:root:Updating feed <http://www.actsofvolition.com/rss>
DEBUG:root:Encoding: UTF-8
DEBUG:root:E-Tag: 'a87d3cb42e3ff0bb9cbb82a2d7767428'
DEBUG:root:Modified: February 26, 2005 06:34 AM
DEBUG:root:URI: <http://www.actsofvolition.com/rss>
WARNING:root:Cache write failed <cache/actsofvolition.com.rss>
Traceback (most recent call last):
File "planet-nightly/planetlib.py", line 254, in cache_write
c = open(cache_uri, "w")
IOError: [Errno 2] No such file or directory: 'cache/actsofvolition.com.rss'
INFO:root:Subscribing <http://blog.clearairturbulence.org/?flav=rss>
INFO:root:Updating feed <http://blog.clearairturbulence.org/?flav=rss>
DEBUG:root:Encoding: UTF-8
DEBUG:root:E-Tag: "1108074182.0"
DEBUG:root:Modified: February 10, 2005 10:23 PM
DEBUG:root:URI: <http://blog.clearairturbulence.org/?flav=rss>
WARNING:root:Obviously bogus year in feed (2003), cowardly not updating
INFO:root:Subscribing <http://codeblogs.ximian.com/blogs/evolution/index.rdf>
INFO:root:Updating feed <http://codeblogs.ximian.com/blogs/evolution/index.rdf>
DEBUG:root:Encoding: ISO-8859-1
DEBUG:root:E-Tag: "1bc0d7-9ba1-7d0f9380"
DEBUG:root:Modified: February 21, 2005 05:10 AM
DEBUG:root:URI: <http://codeblogs.ximian.com/blogs/evolution/index.rdf>
WARNING:root:Cache write failed <cache/codeblogs.ximian.com.blogs.evolution.index.rdf>
Traceback (most recent call last):
File "planet-nightly/planetlib.py", line 254, in cache_write
c = open(cache_uri, "w")
IOError: [Errno 2] No such file or directory: 'cache/codeblogs.ximian.com.blogs.evolution.index.rdf'
INFO:root:Processing index.html.tmpl
Traceback (most recent call last):
File "planet-nightly/planet.py", line 240, in ?
template = TemplateManager().prepare(template_file)
File "planet-nightly/htmltmpl.py", line 222, in prepare
compiled = self.compile(file)
File "planet-nightly/htmltmpl.py", line 296, in compile
self._debug).compile(file)
File "planet-nightly/htmltmpl.py", line 987, in compile
tokens = self.parse(self.read(file))
File "planet-nightly/htmltmpl.py", line 1037, in read
raise TemplateError, "IO error while reading template '%s': "
htmltmpl.TemplateError: Htmltmpl error: IO error while reading template 'examples/index.html.tmpl': (2) No such file or directory
[vex]$
I've created a 'cache' directory with write permissions for everyone (777), but it does the same thing. Anyone have an idea why this is going on?