Fwd: Problem installing

Jeff Waugh jdub at perkypants.org
Sun Oct 28 23:57:36 EST 2007


<quote who="Rui Cruz">

> root at host [/home/linkspt/public_html/tec]# python planet.py config.ini
> ERROR:planet:Error 500 while updating feed <examples/fancy/index.html.tmpl>

You've included a configuration section for one of your template files, but
the section may not be named consistently with the name in template_files.

Here's an example:

  template_files = index.html.tmpl ../atom.xml.tmpl

  [index.html.tmpl]
  items_per_page = 60

  [../atom.xml.tmpl]
  items_per_page = 20

As you see above, the section name must be the same as the reference in
template_files. Otherwise it interprets it as a URL, which is why you're
getting the error above.

- Jeff

-- 
linux.conf.au 2008: Melbourne, Australia        http://lca2008.linux.org.au/
 
     "It's never been, 'We're doing this for the good of society.' It's
     always been us taking an intellectual pride in putting out a good
   product - and making money. If putting a computer on every desktop and
     in every home didn't make money, we wouldn't do it." - Microserfs


More information about the devel mailing list