#11752 NORM Not Tri: Cannot attach 41kiB log file to #11751

Zarro Boogs per Child bugtracker at laptop.org
Mon Apr 2 16:59:27 EDT 2012


#11752: Cannot attach 41kiB log file to #11751
--------------------------+-------------------------------------------------
 Reporter:  sascha_silbe  |                 Owner:  Quozl        
     Type:  defect        |                Status:  new          
 Priority:  normal        |             Milestone:  Not Triaged  
Component:  trac          |               Version:  not specified
 Keywords:                |           Next_action:  never set    
 Verified:  0             |   Deployment_affected:               
Blockedby:                |              Blocking:               
--------------------------+-------------------------------------------------
 ==== How to Reproduce ====

 Tried to attach a 41kiB [https://sascha.silbe.org/tmp/olpc11751-xo1
 -resume-sdcard-lost.cap log file] to #11751.

 While doing a POST operation on `/attachment/ticket/11751/`, Trac issued
 an internal error.

 Request parameters:
 {{{
 {'action': u'new',
  'description': u'Complete serial log',
  'id': u'11751',
  'realm': u'ticket'}
 }}}


 ==== System Information ====

 || '''Trac''' || `0.11stable-r7346` ||
 || '''Python''' || `2.5.2 (r252:60911, Jul 31 2008, 17:49:46) ` [[br]]
 `[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)]` ||
 || '''setuptools''' || `0.6c7` ||
 || '''psycopg2''' || `2.0.6` ||
 || '''Genshi''' || `0.5.1` ||

 ==== Python Traceback ====
 {{{
 Traceback (most recent call last):
   File "/home/coderanger/src/trac/trac/web/main.py", line 423, in
 _dispatch_request
     dispatcher.dispatch(req)
   File "/home/coderanger/src/trac/trac/web/main.py", line 164, in dispatch
     if handler.match_request(req):
   File "/home/coderanger/src/trac/trac/attachment.py", line 353, in
 match_request
     req.args['realm'] = realm
   File "/home/coderanger/src/trac/trac/web/api.py", line 168, in
 __getattr__
     value = self.callbacks[name](self)
   File "/home/coderanger/src/trac/trac/web/api.py", line 444, in
 _parse_args
     fs = cgi.FieldStorage(fp, environ=self.environ,
 keep_blank_values=True)
   File "/usr/lib/python2.5/cgi.py", line 534, in __init__
     self.read_multi(environ, keep_blank_values, strict_parsing)
   File "/usr/lib/python2.5/cgi.py", line 657, in read_multi
     headers = rfc822.Message(self.fp)
   File "/usr/lib/python2.5/rfc822.py", line 104, in __init__
     self.readheaders()
   File "/usr/lib/python2.5/rfc822.py", line 151, in readheaders
     line = self.fp.readline()
 MemoryError

 }}}

-- 
Ticket URL: <http://dev.laptop.org/ticket/11752>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list