Edgewall Software

Ticket #1859 (closed defect: worksforme)

Opened 3 years ago

Last modified 10 months ago

FastCGI frontend outputs a blank line to stderr on every request

Reported by: trac@… Owned by: jonas
Priority: normal Milestone:
Component: general Version: devel
Severity: major Keywords:
Cc: vyt@…

Description

I'm running Trac under FastCGI with lighttpd, and every time a page is requested, I get:

2005-07-31 21:56:37: (mod_fastcgi.c.2110) FastCGI-stderr:  

which has a tendency to fill up the log files.

Attachments

Change History

Changed 3 years ago by jonas

  • status changed from new to assigned

This is probably the same issue as #2106, can you check if this still occurs after [2425].

Changed 3 years ago by anonymous

  • cc vyt@… added

Changed 3 years ago by trac@…

This appears mostly fixed now as of the current head, i.e. [2524]. It appears there may be an issue with error pages still, though:

2005-11-09 12:25:44: (mod_fastcgi.c.2306) FastCGI-stderr: Traceback (most recent call last):
  File "/home/nriley/lib/python2.4/site-packages/trac/web/_fcgi.py", line 567, in run
    protocolStatus, appStatus = self.server.handler(self)
  File "/home/nriley/lib/python2.4/site-packages/trac/web/fcgi_frontend.py", line 33, in _handler
    env = get_environment(req, os.environ)
  File "/home/nriley/lib/python2.4/site-packages/trac/web/main.py", line 338, in get_environment
    return _open_environment(env_path, threaded)
  File "/home/nriley/lib/python2.4/site-packages/trac/web/main.py", line 51, in _open_environment
    env_cache[env_path] = open_environment(env_path)
  File "/home/nriley/lib/python2.4/site-packages/trac/env.py", line 374, in open_environment
    raise TracError, 'The Trac Environment needs to be upgraded. Run ' \
TracError: The Trac Environment needs to be upgraded. Run trac-admin /home/nriley/trac/dev upgrade"
 
2005-11-09 12:25:44: (mod_fastcgi.c.2306) FastCGI-stderr:  

Note the extra blank line there.

Thanks for getting to this!

Changed 21 months ago by cboos

  • status changed from assigned to closed
  • resolution set to worksforme

So I assume this is fixed by now... could somebody using FastCGI with lighttpd confirm?

Add/Change #1859 (FastCGI frontend outputs a blank line to stderr on every request)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from jonas. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.