[Trac] problems running Trac on Suse (TypeError)

Jonas Bähr jonas.baehr at web.de
Mon Aug 29 15:15:01 CDT 2005


Am Montag, 29. August 2005 21:38 schrieb Matthew Good:
> On Mon, 2005-08-29 at 21:09 +0200, Jonas Bähr wrote:
> > Hi,
> >
> > I've got a problem running Trac-0.8.4 on a Suse-9.1 server.
> > This is the Server-config:
> >  Alias /trac "/home/httpd/vhosts/icaptain.org/trac/htdocs/"
> >  <Location "/cgi-bin/trac.cgi">
> >      SetEnv TRAC_ENV "/home/httpd/vhosts/icaptain.org/var/tracenv"
> >  </Location>
> > trac-admin works like it should but when I try to access
> > /cgi-bin/trac.cgi on the webserver I get this error: 500:
> > ================
> > Server error!
> >  The server encountered an internal error and was unable to complete your
> > request.
> >  Error message:
> > Premature end of script headers: trac.cgi
> >  If you think this is a server error, please contact the webmaster.
> > Error 500
> > icaptain.org
> >  Mon Aug 29 19:32:23 2005
> >  Apache/2.0.49 (Linux/SuSE)
> > ================
> >
> > Since Apache's error-log doesn't show anything I tryed to run the script
> > via commandline to get some more information (after exporting TRAC_ENV):
> > ==================================
> > $> python ../trac/cgi-bin/trac.cgi
> > Status: 500
> > Content-Type: text/plain
> >
> > Oops...
> >
> > Trac detected an internal error:
>
> Well, running the CGI script from the commandline is probably not an
> accurate representation of what's happening.  If you want to test the
> CGI from the commandline accurately you would also need to export all
> the CGI environment variables (normally the web server would do this for
> you).  Checking your server logs and turning on logging in your trac.ini
> will probably be an easier way to get some information on how to debug
> your problems.

I set the logging-level to DEBUG (and type = file) but when I access trac.cgi 
via webbrowser the logfile isn't touched... Only the command-line way fills 
the file with the same messages I quoted above...

Jonas

-- 
Try Krusader...
http://krusader.sf.net - twinpanel filemanager for KDE


More information about the Trac mailing list