I'm seeing a strange error and can't find any information to resolve it. Hoping more eyes on it might yield something.
Here's my environment: - Fedora Core 13 - Apache 2.2.15 <- manual installation - Python 2.6.4 <- installed via yum - mod_python 3.3.1 <- installed via yum - Trac 0.11 <- manual installation Here's my config: .... <Location /trac> SetHandler mod_python PythonInterpreter main_interpreter PythonHandler trac.web.modpython_frontend PythonOption TracEnv /usr/local/trac PythonOption TracUriRoot /trac </Location> When I send a request to http://localhost/trac, nothing is returned. Inspecting /apache/logs/error_log, I get the following: [Fri Jun 04 08:18:54 2010] [error] python_init: Python version mismatch, expected '2.6', found '2.6.4'. [Fri Jun 04 08:18:54 2010] [error] python_init: Python executable found '/usr/bin/python'. [Fri Jun 04 08:18:54 2010] [error] python_init: Python path being used '/usr/lib/python26.zip:/usr/lib/python2.6/:/usr/lib/python2.6/plat- linux2:/usr/lib/python2.6/lib-tk:/usr/lib/python2.6/lib-old:/usr/lib/ python2.6/lib-dynload'. [Fri Jun 04 08:18:54 2010] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads. [Fri Jun 04 08:18:54 2010] [notice] mod_python: using mutex_directory / tmp [Fri Jun 04 08:18:54 2010] [notice] Apache/2.2.15 (Unix) mod_python/ 3.3.1 Python/2.6.4 DAV/2 SVN/1.6.9 configured -- resuming normal operations /usr/lib/python2.6/site-packages/mod_python/importer.py:32: DeprecationWarning: the md5 module is deprecated; use hashlib instead import md5 httpd: Objects/stringobject.c:115: PyString_FromString: Assertion `str != ((void *)0)' failed. [Fri Jun 04 08:19:01 2010] [notice] child pid 11912 exit signal Aborted (6) As an aside, following the guidance on http://trac.edgewall.org/wiki/TracModPython, I've added the "mpinfo" location section in httpd.conf and it works fine. Seems like an issue in mod_python, but I'm not sure. Any help greatly appreciated. -- 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.
