GNOME Bugzilla – Bug 640134
Orca should handle pyatspi2 RuntimeError's more gracefully
Last modified: 2011-03-25 23:03:45 UTC
(From a related email conversation with Mike Gorse) It seems that whereas pyatspi raises LookupErrors when an AT attempts to access an object which no longer exists, pyatspi2 raises RuntimeErrors. As a result, with pyatspi2, Orca can become unresponsive. Sadly, accessible objects go away on us fairly often. We handle the LookupError's explicitly. Perhaps we need to do the same for these RuntimeError's.
hi Folks, Found the following traceback which should be catched :-). Traceback (most recent call last):
+ Trace 226439
globalsDict[arg] = self._methodsDict[arg](obj, **args)
oldLevel = self._script.utilities.nodeLevel(args.get('priorObj', None))
relations = node.getRelationSet()
return info.invoke(*args)
I use at-spi2, orca-git with gnome 2.32. BR. Halim
This hopefully is all of them. http://git.gnome.org/browse/orca/commit/?id=96b325d394387b481d5af004291a6fdd6fb615dc