Thanks for the answer, but, why do you think so?

[r...@kovariadam adam]# python -V
Python 2.4.3
[r...@kovariadam adam]# which python
/usr/bin/python

On May 15, 10:16 pm, Noah Kantrowitz <[email protected]> wrote:
> mod_py is linked against 2.4 as you can see by the traceback. /usr/bin/
> python is 2.6 for you, and that is where you installed Trac. Don't  
> cross the streams.
>
> --Noah
>
> On May 15, 2010, at 1:10 PM, kovariadam wrote:
>
>
>
>
>
> > Nobody knows? My server is down so long already. I don't have any idea
> > what's wrong. Please help.
>
> > On May 15, 3:09 pm, kovariadam <[email protected]> wrote:
> >> Hi, I upgraded trac to 0.12 beta 1 from 0.11.7 today. I am getting
> >> these errors, but I don't understand why. Can you plaase help me?
>
> >> [r...@kovariadam adam]# tail /var/log/httpd/trac_error_log
> >> [Sat May 15 14:51:32 2010] [error] [client 147.229.216.224]
> >> PythonHandler trac.web.modpython_frontend: Traceback (most recent  
> >> call
> >> last):
> >> [Sat May 15 14:51:32 2010] [error] [client 147.229.216.224]
> >> PythonHandler trac.web.modpython_frontend:   File "/usr/lib64/
> >> python2.4/site-packages/mod_python/apache.py", line 287, in
> >> HandlerDispatch\n    log=debug)
> >> [Sat May 15 14:51:32 2010] [error] [client 147.229.216.224]
> >> PythonHandler trac.web.modpython_frontend:   File "/usr/lib64/
> >> python2.4/site-packages/mod_python/apache.py", line 461, in
> >> import_module\n    f, p, d = imp.find_module(parts[i], path)
> >> [Sat May 15 14:51:32 2010] [error] [client 147.229.216.224]
> >> PythonHandler trac.web.modpython_frontend: ImportError: No module
> >> named trac
> >> [Sat May 15 14:51:32 2010] [error] [client 147.229.216.224] File does
> >> not exist: /var/www/favicon.ico, 
> >> referer:https://trac.akovari.eu/projects/efs-server/
> >> [Sat May 15 14:54:46 2010] [error] [client 147.229.216.224]
> >> PythonHandler trac.web.modpython_frontend: Traceback (most recent  
> >> call
> >> last):
> >> [Sat May 15 14:54:46 2010] [error] [client 147.229.216.224]
> >> PythonHandler trac.web.modpython_frontend:   File "/usr/lib64/
> >> python2.4/site-packages/mod_python/apache.py", line 287, in
> >> HandlerDispatch\n    log=debug)
> >> [Sat May 15 14:54:46 2010] [error] [client 147.229.216.224]
> >> PythonHandler trac.web.modpython_frontend:   File "/usr/lib64/
> >> python2.4/site-packages/mod_python/apache.py", line 461, in
> >> import_module\n    f, p, d = imp.find_module(parts[i], path)
> >> [Sat May 15 14:54:46 2010] [error] [client 147.229.216.224]
> >> PythonHandler trac.web.modpython_frontend: ImportError: No module
> >> named trac
> >> [Sat May 15 14:54:47 2010] [error] [client 147.229.216.224] File does
> >> not exist: /var/www/favicon.ico, 
> >> referer:https://trac.akovari.eu/projects/efs-server/
>
> >> Python PATH:>>> import sys
> >>>>> print sys.path
>
> >> ['', '/usr/lib/python2.4/site-packages/Trac-0.12b1-py2.4.egg', '/usr/
> >> lib/python2.4/site-packages/Genshi-0.6-py2.4.egg', '/usr/lib/
> >> python2.4/
> >> site-packages', '/usr/lib64/python24.zip', '/usr/lib64/python2.4', '/
> >> usr/lib64/python2.4/plat-linux2', '/usr/lib64/python2.4/lib-tk', '/
> >> usr/
> >> lib64/python2.4/lib-dynload', '/usr/lib64/python2.4/site-packages',  
> >> '/
> >> usr/lib/python2.4/site-packages']
>
> >> System PATH:
> >> [r...@kovariadam adam]# echo $PATH
> >> /usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/libexec:/
> >> home/
> >> adam/bin:/sbin:/usr/sbin:/usr/local/libexec
>
> >> I'm using CentOS 5.5.
>
> >> --
> >> 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 
> >> 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 [email protected].
> > To unsubscribe from this group, send email to 
> > [email protected]
> > .
> > 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 [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> 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 [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?hl=en.

Reply via email to