Ticket #2335 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

TimingAndEstimationPlugin writes to sys.stdout

Reported by: kjdavies Assigned to: bobbysmith007
Priority: normal Component: TimingAndEstimationPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

This plugin wants to write to sys.stdout (this is not allowed under mod_wsgi by default; it can be made allowable, but that hides the error). I set sys.stdout to sys.stderr, and now see in /var/log/apache/error_log

[Thu Dec 27 19:28:23 2007] [error] self.billing_reports=set([9, 10, 11, 12, 13, 14, 15, 16, 17])

[Thu Dec 27 19:29:19 2007] [error] self.billing_reports=set([9, 10, 11, 12, 13, 14, 15, 16, 17])

[Thu Dec 27 19:28:23 2007] [error] self.billing_reports=set([9, 10, 11, 12, 13, 14, 15, 16, 17])

[Thu Dec 27 19:29:19 2007] [error] self.billing_reports=set([9, 10, 11, 12, 13, 14, 15, 16, 17])

[Thu Dec 27 19:29:41 2007] [error] self.billing_reports=set([])

[Thu Dec 27 19:29:41 2007] [error] self.billing_reports=set([])

[Thu Dec 27 19:34:25 2007] [error] self.billing_reports=set([])

[Thu Dec 27 19:34:26 2007] [error] self.billing_reports=set([])

The earlier ones are 'working' (reports 10..17), the set([]) ones are the report 9 calls that are failing (as reported in #2334).

Attachments

Change History

12/28/07 20:15:54 changed by bobbysmith007

  • status changed from new to closed.
  • resolution set to fixed.

(In [2948]) re #2334 closes #2335

Fixed error caused by printing to std out rather than to the trac log. There might also be an underlying error, but I cannot recreate it right now (all reports work for me with this version of the plugin).


Add/Change #2335 (TimingAndEstimationPlugin writes to sys.stdout)




Change Properties
Action