Hi there,
I'm running Debian stable's version of Trac (0.10.3-1) under Apache
2.2.3-4 with Python 2.4.4-2 and mod_python 3.2.10-4.
Before I switched to using mod_python today, Trac was working
perfectly. Now I can't create tickets anymore. The preview functions
works just fine, but as soon as I press "Submit ticket" I only receive
an empty page. Firefox' "Live HTTP Headers" extension shows me that
all I receive is the "200 OK," not a single response header, and no
HTTP body either.
I noticed several things, tho, that are pretty concrete and might
point you to the cause of my problem. First, my ability to create
tickets returns as soon as I disable SMTP notifications (by setting
"smtp_enabled = false"). Second, the Apache child seems to crash
because I find the following in Apache's error log:
[notice] child pid 1204 exit signal Segmentation fault (11)
The Trac logfile doesn't show anything (meaningful), altho I'm running
on DEBUG level.
And, of course, disabling mod_python also brings back my ability to
create tickets. But I would like to continue mod_python for speed
reasons.
Here's some snippets from out of my Apache config file (note that this
is an SSL-enabled server):
Alias /trac "/usr/share/trac/htdocs/"
<Directory "/usr/share/trac/htdocs/">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<Location "/cgi-bin/trac.cgi">
SetEnv PYTHON_EGG_CACHE "/var/cache/trac/egg_cache"
SetEnv HTTPS 1
# Only when mod_python NOT in use
#SetEnv TRAC_ENV "/var/lib/trac"
# Python-specific options
SetHandler mod_python
PythonInterpreter main_interpreter
PythonDebug on
PythonOption TracEnv /var/lib/trac
PythonOption TracUriRoot /cgi-bin/trac.cgi
PythonHandler trac.web.modpython_frontend
</Location>
I use the additional macros/plugins Debbug, TracTags-0.4-py2.4.egg,
TracTocMacro-1.0-py2.4.egg.
My guess would be from my above observations that for some unknown
reason, Trac when run in mod_python can't send the notification e-mail
message when creating the ticket, and thus the child dies (or it can't
send because the child dies earlier.)
Would you agree to this interpretation? What could be the reason? How
can I get Trac running properly with mod_python?
Thanks,
Ralf
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---