#8420 NORM Not Tri: Failure to handle 404 in ChunkedGlibHTTPRequestHandler

Zarro Boogs per Child bugtracker at laptop.org
Wed Sep 10 16:03:33 EDT 2008


#8420: Failure to handle 404 in ChunkedGlibHTTPRequestHandler
--------------------+-------------------------------------------------------
 Reporter:  morgs   |         Owner:  morgs        
     Type:  defect  |        Status:  new          
 Priority:  normal  |     Milestone:  Not Triaged  
Component:  sugar   |       Version:  not specified
 Keywords:          |   Next_action:  never set    
 Verified:  0       |     Blockedby:               
 Blocking:          |  
--------------------+-------------------------------------------------------
 Read tripped a 404, which caused this traceback.

 {{{
 ----------------------------------------
 Exception happened during processing of request from ('127.0.0.1', 60106)
 Traceback (most recent call last):
   File "/usr/lib/python2.5/SocketServer.py", line 222, in handle_request
     self.process_request(request, client_address)
   File "/usr/lib/python2.5/SocketServer.py", line 241, in process_request
     self.finish_request(request, client_address)
   File "/usr/lib/python2.5/SocketServer.py", line 254, in finish_request
     self.RequestHandlerClass(request, client_address, self)
   File "/usr/lib/python2.5/site-packages/sugar/network.py", line 90, in
 __init__
     self, request, client_address, server)
   File "/usr/lib/python2.5/SocketServer.py", line 522, in __init__
     self.handle()
   File "/usr/lib/python2.5/BaseHTTPServer.py", line 316, in handle
     self.handle_one_request()
   File "/usr/lib/python2.5/BaseHTTPServer.py", line 310, in
 handle_one_request
     method()
   File "/usr/lib/python2.5/site-packages/sugar/network.py", line 103, in
 do_GET
     self._file.close()
 AttributeError: 'NoneType' object has no attribute 'close'
 ----------------------------------------
 }}}

 Small patch coming.

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


More information about the Bugs mailing list