#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 07:42:57 EDT 2007
#4454: Read will not close if the PDF file fails to load
---------------------------+------------------------------------------------
Reporter: pascal | Owner: tomeu
Type: defect | Status: new
Priority: high | Milestone: Never Assigned
Component: read-activity | Version:
Keywords: | Verified: 0
---------------------------+------------------------------------------------
When the pdf fails to load, evince will not be initialised. Because of
this during close, write_file() will fail too, and the Activity will not
close.
This also happens when the user starts Read from the terminal with 'sugar-
launch Read'
write_file should contain a try ... catch to make sure the Activity always
closes.
read_file / _load_document should handle exceptions more gracefully,
perhaps even inform the user that the document can't be read.
--
Ticket URL: <https://dev.laptop.org/ticket/4454>
One Laptop Per Child <https://dev.laptop.org>
OLPC bug tracking system
More information about the Bugs
mailing list