[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Help with genshi (older version on Alioth) when trying tasks generating pages



Hi,

I thought I was nearly there when I moved the new tasks page generating
code from

   http://svn.debian.org/wsvn/cdd/cdd/trunk/webtools/?rev=0&sc=0

to Alioth.  I installed the files in

   /srv/alioth.debian.org/chroot/home/groups/cdd/webtools

and members of group cdd have write permissions to these files.
I'm now confronted that the Alioth version of genshi seems to behave
differently in locating the template files as it is on current testing/
unstable systems and as it is described at

   http://genshi.edgewall.org/wiki/ApiDocs/genshi.template.loader#genshi.template.loader:TemplateLoader:load

I even added some debugging code and forced absolute path names, but nothing
helps: If I try

$ ./tasks.py debian-med
...
DEBUG: template_dir = /srv/alioth.debian.org/chroot/home/groups/cdd/webtools/templates
Traceback (most recent call last):
  File "./tasks.py", line 140, in ?
    template = loader.load('tasks_idx.xhtml')
  File "/var/lib/python-support/python2.4/genshi/template.py", line 1401, in load
    raise TemplateNotFound(filename, search_path)
genshi.template.TemplateNotFound: Template "tasks_idx.xhtml" not found

which is frustrating because my connection to Alioth is really weak and
I have no stable machine at hand.  Could anybody be so kind to have a
look at this?

Kind regards

       Andreas.

--
http://fam-tille.de


Reply to: