#4454 HIGH Update.: Activity will not close if the write_file method raises an exception
Zarro Boogs per Child
bugtracker at laptop.org
Thu Nov 8 05:52:15 EST 2007
#4454: Activity will not close if the write_file method raises an exception
---------------------+------------------------------------------------------
Reporter: pascal | Owner: rwh
Type: defect | Status: new
Priority: high | Milestone: Update.1
Component: sugar | Version:
Resolution: | Keywords: review?
Verified: 0 |
---------------------+------------------------------------------------------
Changes (by rwh):
* keywords: => review?
Comment:
Attached patch fixes this bug by a try-except block in close(). If the
save() call fails a sugar alert will pop up that allows you to reconsider
or force to close. Note that there is no general try-except block in
write_file, so if it's called from another place there will still be no
feedback. Not sure how to fix that though. Maybe we should have another
block in save?
--
Ticket URL: <http://dev.laptop.org/ticket/4454#comment:14>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system
More information about the Bugs
mailing list