Hello,

I've just upgraded to trac0.11 dev (SVN head) on two of my servers - one of them
seems fine, but the other is having a problem with templates.  Here's the oops I
get when I try to access the Trac "about" page:

2006-10-03 17:15:31,915 Trac[main] ERROR: Traceback (innermost last):
  File "csparse.c", line 294, in cs_parse_file()
  File "neo_hdf.c", line 1982, in hdf_search_path()
NotFoundError: Path about.cs not found
Traceback (most recent call last):
  File "/usr/local/lib/python2.3/site-packages/trac/web/main.py", line 356, in d
ispatch_request
    dispatcher.dispatch(req)
  File "/usr/local/lib/python2.3/site-packages/trac/web/main.py", line 228, in d
ispatch
    req.display(template, content_type or 'text/html')
  File "/usr/local/lib/python2.3/site-packages/trac/web/api.py", line 353, in di
splay
    data = self.hdf.render(template)
  File "/usr/local/lib/python2.3/site-packages/trac/web/clearsilver.py", line 28
8, in render
    template.parseFile(filename)

The source browser template also seems a bit messed up, I don't get clickable
links on directories, for example.  This is from the debug log:

2006-10-03 17:25:14,964 Trac[api] DEBUG: Trying to render HTML preview using Ens
criptRenderer
2006-10-03 17:25:14,973 Trac[enscript] DEBUG: Enscript command line: enscript --
color -h -q --language=html -p - -Ecsh
2006-10-03 17:25:14,982 Trac[api] WARNING: HTML preview using <trac.mimeview.ens
cript.EnscriptRenderer object at 0x2a9e19cf10> failed ([Errno 2] No such file or
 directory: '/tmp/tmpBjMd7i')
Traceback (most recent call last):
  File "/usr/local/lib/python2.3/site-packages/trac/mimeview/api.py", line 448,
in render
    filename, url)
  File "/usr/local/lib/python2.3/site-packages/trac/mimeview/enscript.py", line
138, in render
    np = NaivePopen(cmdline, content.encode('utf-8'), capturestderr=1)
  File "/usr/local/lib/python2.3/site-packages/trac/util/__init__.py", line 146,
 in __init__
    errfd = file(errfile,'r')
IOError: [Errno 2] No such file or directory: '/tmp/tmpBjMd7i'
2006-10-03 17:25:14,983 Trac[api] DEBUG: Trying to render HTML preview using Pla
inTextRenderer
2006-10-03 17:25:14,986 Trac[api] DEBUG: Using default plain text mimeviewer

My install prefix is /usr/local (and about.cs exists in
/usr/local/share/trac/templates as expected).

Any suggestions appreciated.

Thanks,

John




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/trac-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to