Edgewall Software

Opened 13 years ago

Last modified 9 years ago

#10243 closed defect

Trac and Subversion Integration — at Initial Version

Reported by: mehoggan@… Owned by: Matthew Hoggan
Priority: normal Milestone:
Component: web frontend/mod_python Version: 0.12-stable
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

I am able to install trac as instructed on http://trac.edgewall.org/wiki/TracInstall.

I then proceeded to integrate apache and trac and am running into the following issues. It appears to be a mod_python issue.

First I have an edited install script of all my actions to install trac. See the trac_install.log attachment. All version of software being used for trac are contained in this attachment. Other version are listed below.

[root@localhost conf.d]# rpm -qa 'mysql*' 'python*' 'httpd*' 'MySQL*' python-elementtree-1.2.6-5 httpd-devel-2.2.3-45.el5.centos.1 mysql-test-5.0.77-4.el5_6.6 python-tools-2.4.3-44.el5 python-ldap-2.2.0-2.1 python-urlgrabber-3.1.0-6.el5 mysql-devel-5.0.77-4.el5_6.6 python-lcms-1.18-0.1.beta1.el5_3.2 python-imaging-devel-1.1.5-5.el5 httpd-2.2.3-45.el5.centos.1 python-setuptools-0.6c5-2.el5 python-libs-2.4.3-44.el5 mysql-5.0.77-4.el5_6.6 mysql-devel-5.0.77-4.el5_6.6 python-imaging-1.1.5-5.el5 python-exo-0.3.4-1.el5.centos python-devel-2.4.3-44.el5 python-virtinst-0.400.3-11.el5 MySQL-python-1.2.1-1 python-sqlite-1.1.7-1.2.1 python-iniparse-0.2.3-4.el5 httpd-manual-2.2.3-45.el5.centos.1 python-numeric-23.7-2.2.2.el5_6.1 python-devel-2.4.3-44.el5 python-pyblock-0.26-4.el5 python-pycurl-7.15.5.1-8.el5 python-imaging-devel-1.1.5-5.el5 httpd-devel-2.2.3-45.el5.centos.1 mysql-5.0.77-4.el5_6.6 mysql-bench-5.0.77-4.el5_6.6 python-dmidecode-3.10.13-1.el5_5.1 python-docs-2.4.3-1.1 python-2.4.3-44.el5 mysql-server-5.0.77-4.el5_6.6 mysql-connector-odbc-3.51.26r1127-1.el5

After configuring apache, which I know works, and then going to my trac site.

http://matthewh.me/trac-scorch3d

I get the following error in /var/log/httpd/error_log:

[root@localhost conf.d]# cat /var/log/httpd/error_log | tail -n 10 [Fri Jul 01 09:46:39 2011] [error] [client 99.116.248.31] PythonHandler trac.web.modpython_frontend: Traceback (most recent call last): [Fri Jul 01 09:46:39 2011] [error] [client 99.116.248.31] PythonHandler trac.web.modpython_frontend: File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 277, in HandlerDispatch\n newpath = eval(pathstring) [Fri Jul 01 09:46:39 2011] [error] [client 99.116.248.31] PythonHandler trac.web.modpython_frontend: File "<string>", line 0, in ? [Fri Jul 01 09:46:39 2011] [error] [client 99.116.248.31] PythonHandler trac.web.modpython_frontend: TypeError: can only concatenate list (not "str") to list [Fri Jul 01 09:46:39 2011] [error] [client 99.116.248.31] File does not exist: /var/www/html/favicon.ico [Fri Jul 01 09:46:39 2011] [error] [client 99.116.248.31] PythonHandler trac.web.modpython_frontend: Traceback (most recent call last): [Fri Jul 01 09:46:39 2011] [error] [client 99.116.248.31] PythonHandler trac.web.modpython_frontend: File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 277, in HandlerDispatch\n newpath = eval(pathstring) [Fri Jul 01 09:46:39 2011] [error] [client 99.116.248.31] PythonHandler trac.web.modpython_frontend: File "<string>", line 0, in ? [Fri Jul 01 09:46:39 2011] [error] [client 99.116.248.31] PythonHandler trac.web.modpython_frontend: TypeError: can only concatenate list (not "str") to list [Fri Jul 01 09:46:39 2011] [error] [client 99.116.248.31] File does not exist: /var/www/html/favicon.ico

I have seen similar bugs but none of the fixes seemed to fix my problem.

I am running: [root@localhost conf.d]# 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 conf.d]# cat /etc/*release CentOS release 5.6 (Final)

Change History (1)

by mehoggan@…, 13 years ago

Attachment: trac_install.log added

Detailed Install Script

Note: See TracTickets for help on using tickets.