[Trac-tickets] [The Trac Project] #2066: [patch] EAGAIN error when writing to stdout

The Trac Project noreply at edgewall.com
Wed Sep 14 17:56:52 CDT 2005


#2066: [patch] EAGAIN error when writing to stdout
------------------------------------+---------------------------------------
 Reporter:  nielsen at memberwebs.com  |       Owner:  jonas
     Type:  defect                  |      Status:  new  
 Priority:  normal                  |   Milestone:       
Component:  general                 |     Version:  0.8.4
 Severity:  major                   |   Keywords:                          |  
------------------------------------+---------------------------------------
 On certain systems (running FreeBSD 5.4, python 2.3 etc...) I get this
 error all over the place:

 {{{
 Oops...
 Trac detected an internal error:

 [Errno 35] Resource temporarily unavailable

 If you think this really should work and you can reproduce it. Then you
 should consider to report this problem to the Trac team.

 Go to http://trac.edgewall.com/ and create a new ticket where you describe
 the problem, how to reproduce it. Don't forget to include the python
 traceback found below.

 TracGuide — The Trac User and Administration Guide
 Python traceback

 Traceback (most recent call last):
   File "/usr/local/lib/python2.3/site-packages/trac/core.py", line 525, in
 cgi_start
     real_cgi_start()
   File "/usr/local/lib/python2.3/site-packages/trac/core.py", line 520, in
 real_cgi_start
     dispatch_request(path_info, args, req, env)
   File "/usr/local/lib/python2.3/site-packages/trac/core.py", line 435, in
 dispatch_request
     module.run()
   File "/usr/local/lib/python2.3/site-packages/trac/Module.py", line 46,
 in run
     disp()
   File "/usr/local/lib/python2.3/site-packages/trac/Module.py", line 81,
 in display
     self.req.display(self.template_name)
   File "/usr/local/lib/python2.3/site-packages/trac/core.py", line 331, in
 display
     self.write(data)
   File "/usr/local/lib/python2.3/site-packages/trac/core.py", line 378, in
 write
     return sys.stdout.write(data)
 IOError: [Errno 35] Resource temporarily unavailable

 }}}

 The EAGAIN error should be caught. I'll attach a patch which fixes this
 problem.

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/2066>
The Trac Project <http://trac.edgewall.com/>


More information about the Trac-Tickets mailing list