On Jun 29, 1:50 am, Noah Kantrowitz <n...@coderanger.net> wrote:
> 1) mod_python is a deprecated deployment option. The project has been  
> mothballed by its creators in favor ofmod_wsgi. You should really  
> switch to a new deployment option (probablymod_wsgi).

It isn't really true to say that mod_python was mothballed in favour
of mod_wsgi. The mod_wsgi package is certainly an alternative, but
mod_python was mothballed because no one was interested in working on
mod_python. :-)

Graham

> 2) You probably need a PythonPath in there which indicates where the  
> Trac code is installed.
>
> PythonPath "['/path/to/site-packages'] + sys.path"
>
> --Noah
>
> On Jun 27, 2010, at 1:01 PM, Fernando N Filho wrote:
>
>
>
> > Hello there,
>
> > I recently tried to upgrade my Trac Version from 0.11 to 0.12. But I  
> > now receive the following error onhttp://trac.potterish.com/:
> > Mod_python error: "PythonHandler trac.web.modpython_frontend"
>
> > Traceback (most recent call last):
>
> >   File "/usr/lib64/python2.4/site-packages/mod_python/apache.py",  
> > line 287, in HandlerDispatch
> >     log=debug)
>
> >   File "/usr/lib64/python2.4/site-packages/mod_python/apache.py",  
> > line 461, in import_module
> >     f, p, d = imp.find_module(parts[i], path)
>
> > ImportError: No module named trac
> > My .htaccess is configured the following way:
>
> > SetHandler mod_python
> > PythonInterpreter main_interpreter
> > PythonHandler trac.web.modpython_frontend
> > PythonOption PYTHON_EGG_CACHE /var/www/vhosts/potterish.com/
> > subdomains/trac/httpdocs/editores/db
> > PythonOption TracEnvParentDir /var/www/vhosts/potterish.com/
> > subdomains/trac/httpdocs
> > PythonOption TracUriRoot /
>
> > PythonDebug on
>
> > I looked on the Trac website and saw this had something to do with  
> > the Apache Path, but don't know how to fix it, does anybody have an  
> > idea of whats going on?
>
> > Thanks!
>
> > --
> > You received this message because you are subscribed to the Google  
> > Groups "Trac Users" group.
> > To post to this group, send email to trac-us...@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > trac-users+unsubscr...@googlegroups.com
> > .
> > For more options, visit this group 
> > athttp://groups.google.com/group/trac-users?hl=en
> > .

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to