Hello User Group,

I am having an issue getting trac to work with apache on a CentOS 5.5
box.

Below is the contents of /var/log/httpd/error_log each time I attempt to
access my trac-site through a browser using the following URL.

http://matthewh.me/trac-scorch3d

[Sun Jul 03 08:36:31 2011] [notice] caught SIGTERM, shutting down
[Sun Jul 03 08:36:31 2011] [notice] SELinux policy enabled; httpd
running as context user_u:system_r:httpd_t:s0
[Sun Jul 03 08:36:31 2011] [notice] suEXEC mechanism enabled
(wrapper: /usr/sbin/suexec)
[Sun Jul 03 08:36:31 2011] [notice] Digest: generating secret for digest
authentication ...
[Sun Jul 03 08:36:31 2011] [notice] Digest: done
[Sun Jul 03 08:36:31 2011] [notice] mod_python: Creating 8 session
mutexes based on 256 max processes and 0 max threads.
[Sun Jul 03 08:36:31 2011] [notice] mod_python: using
mutex_directory /tmp
[Sun Jul 03 08:36:31 2011] [notice] Apache/2.2.3 (CentOS) configured --
resuming normal operations
[Sun Jul 03 08:36:51 2011] [error] [client 99.116.248.31] mod_python
(pid=6115, interpreter='localhost.localdomain', phase='PythonHandler',
handler='trac.web.modpython_frontend'): Application error
[Sun Jul 03 08:36:51 2011] [error] [client 99.116.248.31] ServerName:
'localhost.localdomain'
[Sun Jul 03 08:36:51 2011] [error] [client 99.116.248.31] DocumentRoot:
'/var/www/html'
[Sun Jul 03 08:36:51 2011] [error] [client 99.116.248.31] URI:
'/trac-scorch3d'
[Sun Jul 03 08:36:51 2011] [error] [client 99.116.248.31] Location:
'/trac-scorch3d'
[Sun Jul 03 08:36:51 2011] [error] [client 99.116.248.31] Directory:
None
[Sun Jul 03 08:36:51 2011] [error] [client 99.116.248.31] Filename:
'/var/www/html/trac-scorch3d'
[Sun Jul 03 08:36:51 2011] [error] [client 99.116.248.31] PathInfo: ''
[Sun Jul 03 08:36:51 2011] [error] [client 99.116.248.31] Traceback
(most recent call last):
[Sun Jul 03 08:36:51 2011] [error] [client 99.116.248.31]   File
"/usr/lib64/python2.6/site-packages/mod_python/importer.py", line 1537,
in HandlerDispatch\n    default=default_handler, arg=req,
silent=hlist.silent)
[Sun Jul 03 08:36:51 2011] [error] [client 99.116.248.31]   File
"/usr/lib64/python2.6/site-packages/mod_python/importer.py", line 1186,
in _process_target\n    newpath = eval(pathstring)
[Sun Jul 03 08:36:51 2011] [error] [client 99.116.248.31]   File
"<string>", line 1, in <module>
[Sun Jul 03 08:36:51 2011] [error] [client 99.116.248.31] TypeError: can
only concatenate list (not "str") to list
[Sun Jul 03 08:36:51 2011] [error] [client 99.116.248.31] File does not
exist: /var/www/html/favicon.ico

The version of the software that I have compiled to make this work are:
clearsilver-0.10.5
Genshi-0.6
mod_python-3.3.1
mod_wsgi-3.3
pysqlite-2.6.3
Trac-0.12.2

I also installed Python26 rpm and used the following ./configure options
while compiling mod_python.
./configure --with-apxs=/usr/sbin/apxs --with-python=/usr/bin/python26
--with-flex=/usr/bin/flex --with-python-src=/usr/lib64/python2.6

My OS and kernel version are:
[root@localhost mod_python-3.3.1]# uname -a
Linux localhost.localdomain 2.6.18-238.12.1.el5 #1 SMP Tue May 31
13:22:04 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
[root@localhost mod_python-3.3.1]# cat /etc/*release
CentOS release 5.6 (Final)

any assistance in resolving this issue would be greatly appreciated.

Things I have tried are to address the TypeError: are modifing the
importer.py file by casting the string to a list but that produced
another error.

Thank you,
Matthew Hoggan
[email protected]
http://matthewh.me/


-- 
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