You may have provided the wrong path to the template files when you
initialized your trac environment (trac-admin initenv). Try to tweak
the project config file (trac.ini) to specify the right path to your
template files.

Manu

On 6/16/06, Jeff Lanzarotta <[EMAIL PROTECTED]> wrote:
Ok, I have the clearsilver issue solved. I downloaded the source and compiled 
my own version...

Now when I try and access the trac, I get:

----------8<----------

Oops...

Trac detected an internal 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 wiki.cs not found

Traceback (most recent call last):
  File "/usr/local/lib/python2.4/site-packages/trac/web/standalone.py", line 
303, in _do_trac_req
    dispatch_request(path_info, req, env)
  File "/usr/local/lib/python2.4/site-packages/trac/web/main.py", line 139, in 
dispatch_request
    dispatcher.dispatch(req)
  File "/usr/local/lib/python2.4/site-packages/trac/web/main.py", line 113, in 
dispatch
    req.display(template, content_type or 'text/html')
  File "/usr/local/lib/python2.4/site-packages/trac/web/api.py", line 148, in 
display
    data = self.hdf.render(template)
  File "/usr/local/lib/python2.4/site-packages/trac/web/clearsilver.py", line 
276, in render
    template.parseFile(filename)
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 wiki.cs not found----------8<----------

Ideas?

wiki.cs is in the following places:

/media/hdb1/trac/trac-0.9.4/templates/wiki.cs
/usr/local/share/trac/templates/wiki.cs

----- Original Message ----
From: Matthew Good <[EMAIL PROTECTED]>
To: [email protected]
Sent: Friday, June 16, 2006 12:42:22 PM
Subject: Re: [Trac] New install on SuSE 10.1

On Fri, 2006-06-16 at 08:52 -0700, Jeff Lanzarotta wrote:
> Hello,
>
> I am trying to install trac on a new install of SuSE 10.1. I receive the 
following
> error when I attempt to access the trac:
>
> ----------8<----------
>
> Oops...
>
> Trac detected an internal error:
>
> ClearSilver not installed (No module named neo_cgi)
> Traceback (most recent call last):
>   File "/usr/local/lib/python2.4/site-packages/trac/web/standalone.py", line 
303, in _do_trac_req
>     dispatch_request(path_info, req, env)
>   File "/usr/local/lib/python2.4/site-packages/trac/web/main.py", line 139, 
in dispatch_request
>     dispatcher.dispatch(req)
>   File "/usr/local/lib/python2.4/site-packages/trac/web/main.py", line 83, in 
dispatch
>     req.hdf = HDFWrapper(loadpaths=chrome.get_all_templates_dirs())
>   File "/usr/local/lib/python2.4/site-packages/trac/web/clearsilver.py", line 
132, in __init__
>     raise TracError, "ClearSilver not installed (%s)" % e
> TracError: ClearSilver not installed (No module named neo_cgi)
>
> ----------8<----------
> I am attempting to run tracd and I also have clearsilver-0.10.3-0.pm.2 
installed...
>
> Any ideas?

Yes, it looks like you installed the Clearsilver Perl bindings (.pm)
instead of the Python ones.  You need to have the Python bindings
installed.

--
Matthew Good <[EMAIL PROTECTED]>

_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac



_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac



--
Manu
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to