I have been able to get trac to work with TracCGI; however, when I try fast CGI, I keep getting an internal error.

I am getting this error when I am just viewing the page that shows all of my available projects.  I also get the error when I actually click on one of the individual projects.

Here's my environment:

Apache 2.0.54
Linux 2.6.8.
Python 2.3
clearsilver 0.10.13
mod python 3.2.8
pysqlite 2.2.2
sqlite 3.2.5
trac 0.9.5
mod_fastcgi 2.4.2

Here's the error:

Content-Type: text/plain Oops... Trac detected an internal error: 0 Traceback (most recent call last): File "/usr/share/trac/cgi-bin/trac.fcgi", line 20, in ? fcgi_frontend.run() File "/usr/lib/python2.3/site-packages/trac/web/fcgi_frontend.py", line 28, in run _fcgi.Server(_handler).run() File "/usr/lib/python2.3/site-packages/trac/web/_fcgi.py", line 1049, in run sock = self._setupSocket() File "/usr/lib/python2.3/site-packages/trac/web/_fcgi.py", line 994, in _setupSocket req.run() File "/usr/lib/python2.3/site-packages/trac/web/_fcgi.py", line 580, in run self._end(appStatus, protocolStatus) File "/usr/lib/python2.3/site-packages/trac/web/_fcgi.py", line 606, in _end sys.exit(appStatus) SystemExit: 0

Here's the relevent snipet from my httpd.conf file regarding my changes for trac:
    Alias /trac/chrome/common /usr/share/trac/htdocs

    Alias /trac-htdocs /usr/share/trac/htdocs
    <Directory "/usr/share/trac/htdocs">
      Order allow,deny
      Allow from all
    </Directory>

    <Directory "/usr/share/trac/cgi-bin">
      AllowOverride All
      Options ExecCGI
      <IfModule mod_access.c>
        Order allow,deny
        Allow from all
      </IfModule>
    </Directory>

    ScriptAlias /trac /usr/share/trac/cgi-bin/trac.fcgi
</IfModule>

<Location /trac>
  SetEnv TRAC_ENV_PARENT_DIR "/mnt/Disc/Trac"
</Location>

<LocationMatch "/trac/[^/]+/login">
  AuthType Basic
  AuthName "Trac"
  AuthUserFile /mnt/Disc/Trac/trac.htpasswd
  Require valid-user
</LocationMatch>
I put the following into my global trac configuration file:
htdocs_location = /trac-htdocs

Just a side note:  I have also tried TracModPython and keep getting an error for it also.  It gets the error "NULL result without error in PyObject_Call".  I have already posted a message about that error (no responses as of yet).

_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to