IOError [Errno 9] Bad file descriptor If you want to report a bug, please save this page and attach it to your bug report. Show debugging information Report bug Visit MoinMoin wiki Traceback A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred. d:\python24\Lib\site-packages\MoinMoin\request.py in run (self=) 1033 # Visit pagename 1034 self.page = Page(self, pagename) 1035 self.page.send_page(self, count_hit=1) 1036 1037 # generate page footer (actions that do not want this footer self = self.page = self.page.send_page = > count_hit undefined d:\python24\Lib\site-packages\MoinMoin\Page.py in send_page (self=, request=, msg='', **keywords={'count_hit': 1}) 1139 if page_exists: 1140 if not request.cacheable or request.user.valid: 1141 request.http_headers(request.nocache) 1142 else: 1143 # use the correct last-modified value from the on-disk file request = request.http_headers = > request.nocache = ['Pragma: no-cache', 'Cache-Control: no-cache', 'Expires: -1'] d:\python24\Lib\site-packages\MoinMoin\request.py in http_headers (self=, more_headers=['Pragma: no-cache', 'Cache-Control: no-cache', 'Expires: -1']) 1744 break 1745 # send response 1746 self.sareq.send_response(our_status) 1747 1748 # send http headers self = self.sareq = self.sareq.send_response = > our_status = 200 D:\Python24\lib\BaseHTTPServer.py in send_response (self=, code=200, message=None) 358 359 """ 360 self.log_request(code) 361 if message is None: 362 if code in self.responses: self = self.log_request = > code = 200 D:\Python24\lib\BaseHTTPServer.py in log_request (self=, code=200, size='-') 395 396 self.log_message('"%s" %s %s', 397 self.requestline, str(code), str(size)) 398 399 def log_error(self, *args): self = self.requestline = 'GET /HelpForBeginners HTTP/1.1' builtin str = code = 200 size = '-' D:\Python24\lib\BaseHTTPServer.py in log_message (self=, format='"%s" %s %s', *args=('GET /HelpForBeginners HTTP/1.1', '200', '-')) 428 """ 429 430 sys.stderr.write("%s - - [%s] %s\n" % 431 (self.address_string(), 432 self.log_date_time_string(), global sys = sys.stderr = ', mode 'w'> sys.stderr.write = self = self.address_string = > self.log_date_time_string = > format = '"%s" %s %s' args = ('GET /HelpForBeginners HTTP/1.1', '200', '-') IOError [Errno 9] Bad file descriptor args = (9, 'Bad file descriptor') errno = 9 filename = None strerror = 'Bad file descriptor' System Details Date: Mon, 06 Feb 2006 16:20:04 +0000 Platform: win32 (nt) Python: Python 2.4.2 (d:\python24\pythonw.exe) MoinMoin: Release 1.5.1 (release)