Modify ↓
Opened 13 years ago
Closed 13 years ago
#10380 closed defect (cantfix)
error:Premature end of script headers: trac.fcgi
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | highest | Milestone: | |
Component: | web frontend | Version: | 0.12 |
Severity: | minor | Keywords: | |
Cc: | jonas@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
i start the trac with the fcgi, the error will be occure when view a ticket with a big description.but not occure start with standalone!
my trac.fcgi is:
try: import os import pkg_resources if 'TRAC_ENV' not in os.environ and \ 'TRAC_ENV_PARENT_DIR' not in os.environ: os.environ['TRAC_ENV'] = '/home/trac' if 'PYTHON_EGG_CACHE' not in os.environ: if 'TRAC_ENV' in os.environ: egg_cache = os.path.join(os.environ['TRAC_ENV'], '.egg-cache') elif 'TRAC_ENV_PARENT_DIR' in os.environ: egg_cache = os.path.join(os.environ['TRAC_ENV_PARENT_DIR'], '.egg-cache') pkg_resources.set_extraction_path(egg_cache) from trac.web import fcgi_frontend fcgi_frontend.run() except SystemExit: raise except Exception, e: print 'Content-Type: text/plain\r\n\r\n', print 'Oops...' print print 'Trac detected an internal error:' print print e print import traceback import StringIO tb = StringIO.StringIO()
Attachments (0)
Change History (2)
comment:1 by , 13 years ago
Description: | modified (diff) |
---|---|
Keywords: | ticket description is big the error was occure but not occure start with stando removed |
comment:2 by , 13 years ago
Milestone: | 0.12.3 |
---|---|
Resolution: | → cantfix |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
This is an InstallationIssue.