pyspi [Bug 318135] New: Improvements to error handling
- From: "pyspi (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
- To: pyspi-list gnome org
- Subject: pyspi [Bug 318135] New: Improvements to error handling
- Date: Thu, 6 Oct 2005 14:37:00 -0400 (EDT)
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=318135
pyspi | general | Ver: CVS HEAD
Summary: Improvements to error handling
Product: pyspi
Version: CVS HEAD
Platform: Other
OS/Version: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: general
AssignedTo: pyspi-maint gnome bugs
ReportedBy: dmalcolm redhat com
QAContact: pyspi-maint gnome bugs
CC: all-bugs bugzilla gnome org
Please describe the problem:
Currently pyspi throws away AT-SPI errors
We should install an error handler callback, and use this to raise a Python
exception when errors occur in an AT-SPI call
Steps to reproduce:
1. Run a Dogtail script talking to an application
2. Kill the application, or kill at-spi-registryd
Actual results:
Watch various errors scroll by, printed to the terminal.
Expected results:
An exception should be raised in Python
Does this happen every time?
Other information:
I attempted to fix this (some stubs are in CVS, IIRC), didn't work; I think
there's the wrong level of indirection for the callback function pointer, which
is confusing Pyrex.
(NB exceptions inside Pyrex get thrown away. We may need to save the error data
in the callback, then check after every C function call if an error state is set)
------- You are receiving this mail because: -------
You are watching the assignee for the bug.
You are watching the QA contact.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]