Opened 15 years ago

Last modified 9 years ago

#2666 closed defect

NullOut instance has no attribute 'flush' — at Initial Version

Reported by: zalkind Owned by: Markus Pelkonen
Priority: normal Component: TimeVisualizerPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

I tryed this macros:

BurnDown(width=800,height=200,query=targetmilestone=milestone1&datestart=08/8/07&dateend=8/22/08)? BurnDown(width=400,height=200,query=targetmilestone=milestone1&datestart=08/8/07&dateend=8/15/08)? BurnDown(width=400,height=200,query=targetmilestone=milestone1&datestart=08/15/07&dateend=8/22/08)? BurnDown(width=600,height=200,query=targetmilestone=milestone1&dateend=8/31/08)?

and with all of them i got this error:

Oops...

Trac detected an internal error: NullOut instance has no attribute 'flush'

Traceback (most recent call last):

File "/home/hxd/trac/share/trac/cgi-bin/trac.cgi", line 20, in ?

cgi_frontend.run()

File "/home/hxd/trac/lib/python2.4/site-packages/trac/web/cgi_frontend.py", line 68, in run

gateway.run(dispatch_request)

File "/home/hxd/trac/lib/python2.4/site-packages/trac/web/wsgi.py", line 87, in run

response = application(self.environ, self._start_response)

File "/home/hxd/trac/lib/python2.4/site-packages/trac/web/main.py", line 440, in dispatch_request

req.send_error(sys.exc_info(), status=500)

File "/home/hxd/trac/lib/python2.4/site-packages/trac/web/api.py", line 394, in send_error

exc_info)

File "/home/hxd/trac/lib/python2.4/site-packages/trac/web/main.py", line 406, in dispatch_request

dispatcher.dispatch(req)

File "/home/hxd/trac/lib/python2.4/site-packages/trac/web/main.py", line 237, in dispatch

resp = chosen_handler.process_request(req)

File "build/bdist.linux-i686/egg/tractimevisualizerplugin/pluginwrapper.py", line 31, in process_request File "build/bdist.linux-i686/egg/tractimevisualizerplugin/impl.py", line 417, in process_request File "/home/hxd/trac/lib/python2.4/site-packages/trac/web/api.py", line 460, in write

self._write(data)

File "/home/hxd/trac/lib/python2.4/site-packages/trac/web/cgi_frontend.py", line 44, in _write

sys.stdout.flush()

AttributeError: NullOut instance has no attribute 'flush'

Change History (0)

Note: See TracTickets for help on using tickets.