IOError: [Errno 9] Bad file descriptor
Python 2.3.3
d:\apps\python23\pythonw.exe

A problem occurred while running a Python script. Here is the sequence of function calls leading up to the error, with the most recent (innermost) call first. The exception attributes are:
      __doc__ = 'I/O operation failed.'
      __getitem__ = <bound method IOError.__getitem__ of <exceptions.IOError instance at 0x00C323C8>>
      __init__ = <bound method IOError.__init__ of <exceptions.IOError instance at 0x00C323C8>>
      __module__ = 'exceptions'
      __str__ = <bound method IOError.__str__ of <exceptions.IOError instance at 0x00C323C8>>
      args = (9, 'Bad file descriptor')
      errno = 9
      filename = None
      strerror = 'Bad file descriptor'

D:\Apps\Python23\lib\BaseHTTPServer.py in log_message(self=<roundup.scripts.roundup_server.RoundupRequestHandler instance at 0x00C5AC38>, format='"%s" %s %s', *args=('GET /iv/issue?:template=item HTTP/1.1', '200', '-'))
  435         """
  436 
  437         sys.stderr.write("%s - - [%s] %s\n" %
      global sys = <module 'sys' (built-in)>, global stderr = undefined, global write = undefined, self = <roundup.scripts.roundup_server.RoundupRequestHandler instance at 0x00C5AC38>, global address_string = undefined, global log_date_time_string = undefined, format = '"%s" %s %s', args = ('GET /iv/issue?:template=item HTTP/1.1', '200', '-')
  438                          (self.address_string(),
  439                           self.log_date_time_string(),

D:\Apps\Python23\lib\BaseHTTPServer.py in log_request(self=<roundup.scripts.roundup_server.RoundupRequestHandler instance at 0x00C5AC38>, code=200, size='-')
  402 
  403         self.log_message('"%s" %s %s',
  404                          self.requestline, str(code), str(size))
      self = <roundup.scripts.roundup_server.RoundupRequestHandler instance at 0x00C5AC38>, global requestline = undefined, global str = undefined, code = 200, size = '-'
  405 
  406     def log_error(self, *args):

D:\Apps\Python23\lib\BaseHTTPServer.py in send_response(self=<roundup.scripts.roundup_server.RoundupRequestHandler instance at 0x00C5AC38>, code=200, message=None)
  365 
  366         """
  367         self.log_request(code)
      self = <roundup.scripts.roundup_server.RoundupRequestHandler instance at 0x00C5AC38>, global log_request = undefined, code = 200
  368         if message is None:
  369             if code in self.responses:

D:\Apps\Python23\lib\site-packages\roundup\cgi\client.py in header(self=<_roundup_tracker_1.interfaces.Client instance at 0x00C2B8F0>, headers={'Cache-Control': 'no-cache', 'Content-Type': 'text/html', 'Expires': 'Sat, 14 Feb 2004 03:25:20 GMT'}, response=200)
  587         if not headers.has_key('Content-Type'):
  588             headers['Content-Type'] = 'text/html'
  589         self.request.send_response(response)
      self = <_roundup_tracker_1.interfaces.Client instance at 0x00C2B8F0>, global request = undefined, global send_response = undefined, response = 200
  590         for entry in headers.items():
  591             self.request.send_header(*entry)

D:\Apps\Python23\lib\site-packages\roundup\cgi\client.py in write(self=<_roundup_tracker_1.interfaces.Client instance at 0x00C2B8F0>, content='<!-- dollarId: issue.item,v 1.4 2001/08/03 01:19...HA: b3b34f728a6e3c7919cbc032788621953c09e1cb -->\n')
  571     def write(self, content):
  572         if not self.headers_done:
  573             self.header()
      self = <_roundup_tracker_1.interfaces.Client instance at 0x00C2B8F0>, global header = undefined
  574         self.request.wfile.write(content)
  575 

D:\Apps\Python23\lib\site-packages\roundup\cgi\client.py in inner_main(self=<_roundup_tracker_1.interfaces.Client instance at 0x00C2B8F0>)
  285         except:
  286             # everything else
  287             self.write(cgitb.html())
      self = <_roundup_tracker_1.interfaces.Client instance at 0x00C2B8F0>, global write = undefined, global cgitb = <module 'roundup.cgi.cgitb' from 'D:\Apps\Python23\lib\site-packages\roundup\cgi\cgitb.pyo'>, global html = undefined
  288 
  289     def clean_sessions(self):