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
pyspi | general | Ver: CVS HEAD
Summary: Improvements to error handling
Version: CVS HEAD
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
Watch various errors scroll by, printed to the terminal.
An exception should be raised in Python
Does this happen every time?
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.
] [Thread Prev