#4454 HIGH Never A: Read will not close if the PDF file fails to load

Zarro Boogs per Child bugtracker at laptop.org
Thu Oct 25 15:06:58 EDT 2007


#4454: Read will not close if the PDF file fails to load
----------------------------+-----------------------------------------------
  Reporter:  pascal         |       Owner:  tomeu         
      Type:  defect         |      Status:  closed        
  Priority:  high           |   Milestone:  Never Assigned
 Component:  read-activity  |     Version:                
Resolution:  fixed          |    Keywords:  review?       
  Verified:  0              |  
----------------------------+-----------------------------------------------
Changes (by pascal):

  * keywords:  => review?
  * status:  new => closed
  * resolution:  => fixed


Comment:

 I just got write access, so I fixed it.

 I've added a rather broad catch over the entire write_file()

 try:
  ...
 except Exception, e:
   logging.error('write_file(): %s, e)

 If that is too broad, let me know and I'll fix more.

-- 
Ticket URL: <https://dev.laptop.org/ticket/4454#comment:1>
One Laptop Per Child <https://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list