[Trac] Re: Problem with trac on mod_python

Mark Rowe lists.edgewall.com at bdash.net.nz
Tue Mar 1 06:44:54 EST 2005


On Mar 2, 2005, at 12:24 AM, Sija wrote:
> That's true, this is a real error:
>
> ClearSilver not installed (No module named neo_cgi)
> Traceback (most recent call last):
>   File 
> "C:\PROGRA~1\Python\lib\site-packages\trac\web\modpython_frontend.py",
> line 179, in handler
>     dispatch_request(mpr.path_info, mpr, env)
>   File "C:\PROGRA~1\Python\lib\site-packages\trac\web\main.py", line 
> 301, in
> dispatch_request
>     req.hdf = HDFWrapper(loadpaths=[env.get_templates_dir(),
>   File "C:\PROGRA~1\Python\lib\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)
>
> I have "neo_cgi.pyd" in "C:\Program 
> Files\Python\Lib\site-packages\trac"
> and i don't have problems with ClearSilver before HDFWrapper update.

The neo_cgi module shouldn't be inside the trac folder, it should be at 
the top level of site-packages (C:\Program 
Files\Python\Lib\site-packages in your case).

Hope this helps,

Mark Rowe
<http://bdash.net.nz/>



More information about the Trac mailing list