[haiku-web] [Haiku] #2820: IOError: [Errno 24] Too many open files: u'/var/trac/dev.haiku-os.org/attachments/ticket/2700/dsc00536.jpg'

#2820: IOError: [Errno 24] Too many open files: u'/var/trac/dev.haiku-
os.org/attachments/ticket/2700/dsc00536.jpg'
--------------------------+-------------------------------------------------
 Reporter:  Adek336       |       Owner:  haiku-web     
     Type:  bug           |      Status:  new           
 Priority:  normal        |   Milestone:  R1            
Component:  Website/Trac  |     Version:  R1 development
Blockedby:                |    Platform:  All           
 Blocking:                |  
--------------------------+-------------------------------------------------
 ==== How to Reproduce ====

 While doing a GET operation on `/raw-attachment/ticket/2700/dsc00536.jpg`,
 Trac issued an internal error.

 ''(please provide additional details here)''


 Request parameters:
 {{{
 {'format': 'raw', 'path': u'2700/dsc00536.jpg', 'realm': u'ticket'}
 }}}


 User Agent was: `Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3)
 Gecko/2008092816 Iceweasel/3.0.3 (Debian-3.0.3-2)`

 ==== System Information ====

 || '''Trac''' || `0.11.1` ||
 || '''Python''' || `2.5.1 (r251:54863, Nov  3 2007, 02:54:36) [C]` ||
 || '''setuptools''' || `0.6c8` ||
 || '''psycopg2''' || `2.0.6` ||
 || '''Genshi''' || `0.5` ||
 || '''Pygments''' || `0.10` ||
 || '''Subversion''' || `1.4.5 (r25188)` ||
 || '''jQuery:''' || `1.2.6` ||

 ==== Python Traceback ====
 {{{
 Traceback (most recent call last):
   File "/opt/csw/lib/python/site-
 packages/Trac-0.11.1-py2.5.egg/trac/web/main.py", line 423, in
 _dispatch_request
     dispatcher.dispatch(req)
   File "/opt/csw/lib/python/site-
 packages/Trac-0.11.1-py2.5.egg/trac/web/main.py", line 197, in dispatch
     resp = chosen_handler.process_request(req)
   File "/opt/csw/lib/python/site-
 packages/Trac-0.11.1-py2.5.egg/trac/attachment.py", line 402, in
 process_request
     data = self._render_view(req, attachment)
   File "/opt/csw/lib/python/site-
 packages/Trac-0.11.1-py2.5.egg/trac/attachment.py", line 680, in
 _render_view
     req.send_file(attachment.path, mime_type)
   File "/opt/csw/lib/python/site-
 packages/Trac-0.11.1-py2.5.egg/trac/web/api.py", line 395, in send_file
     fileobj = file(path, 'rb')
 IOError: [Errno 24] Too many open files: u'/var/trac/dev.haiku-
 os.org/attachments/ticket/2700/dsc00536.jpg'

 }}}

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/2820>
Haiku <http://dev.haiku-os.org>
The Haiku operating system.
-----------------------------------------------------------------------
haiku-web@xxxxxxxxxxxxx - Haiku Web & Developer Support Discussion List

Other related posts: