GNOME Bugzilla – Bug 645644
Exceptions do not match original pyatspi exceptions
Last modified: 2015-02-27 16:40:43 UTC
When trying to access an object which no longer exists, pyatspi2 may raise a RuntimeError or a glib.GError, where the old code would raise LookupError or DataError. This causes problems for applications that expect particular exceptions and are now sent an exception other than what they were expecting.
Created attachment 184206 [details] [review] Patch. This partly fixes things (it doesn't fix Text for instance).
Created attachment 184410 [details] [review] updated patch that includes text, editableText, and document.
Created attachment 184411 [details] [review] updated patch including text, editableText, and document (hopefully I'll actually upload the patch this time)
Created attachment 184833 [details] [review] updated patch. Fixes editableText. Removes unnecessary tries. Catch all RuntimeErrors for compatibility with pygobject 2.26.
This patch was committed a long time ago.
[Moving at-spi/pyatspi2 bugs to separate product. See bug 740075]