Re: possible freeze break: pyatspi2 should raise LookupError for IPC errors
- From: Frederic Peters <fpeters gnome org>
- To: Mike Gorse <mgorse novell com>
- Cc: release-team gnome org
- Subject: Re: possible freeze break: pyatspi2 should raise LookupError for IPC errors
- Date: Fri, 25 Mar 2011 20:59:39 +0100
Mike Gorse wrote:
> Pyatspi2 is raising different exceptions from the original pyatspi
> in the case of an IPC error. This causes problems with Orca and
> LDTP since they have code that expects specific exceptions, and with
> pyatspi2 they are getting exceptions that they do not expect,
> leading to tracebacks and test failures.
>
> http://bugzilla.gnome.org/show_bug.cgi?id=645644
>
> I've tested with orca and Firefox and with some event monitoring
> code based on the code in Accerciser.
>
> The patch adds a wrapper function to convert exceptions and modifies
> functions to use it.
There has been a patch already to orca to catch RuntimeException; is
this still releavant? Should the orca commit be reverted?
Frederic
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]