Edgewall Software
Modify

Opened 13 years ago

Closed 13 years ago

#10380 closed defect (cantfix)

error:Premature end of script headers: trac.fcgi

Reported by: zhaohu0829@… 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 Thijs Triemstra)

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 Thijs Triemstra, 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 Remy Blank, 13 years ago

Milestone: 0.12.3
Resolution: cantfix
Status: newclosed

This is an InstallationIssue.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.