Roundup Tracker - Issues

Message4970

Author tekberg
Recipients ber, rouilj, tekberg
Date 2013-12-16.18:35:10
Message-id <1387218912.62.0.183790637393.issue2550826@psf.upfronthosting.co.za>
In-reply-to
I had a detector that raised an IOError exception due to a file it was 
trying to open that had the wrong ownership. The apache ssl_error_log 
showed this for the issue I was trying to edit:

Premature end of script headers: roundup.cgi, referer: 
https://tracker.labmed.uw.edu/systems/issue129

The problem was that client.py's Client.inner_main method has an except 
clause for IOError that simply was 'pass' causing no HTTP headers, hence 
the apache error.

I have a fix that works by generating the normal 'An error has occurred' 
message to the user, and an stack trace email to the roundup admin.

I'm not happy about the way it has to get access to the 
send_error_to_admin method. Hopefully you have a better way.
History
Date User Action Args
2013-12-16 18:35:12tekbergsetrecipients: + tekberg, ber, rouilj
2013-12-16 18:35:12tekbergsetmessageid: <1387218912.62.0.183790637393.issue2550826@psf.upfronthosting.co.za>
2013-12-16 18:35:12tekberglinkissue2550826 messages
2013-12-16 18:35:12tekbergcreate