After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 354692 - Seeing a new - non-fatal - SPIException running any Dogtail script
Seeing a new - non-fatal - SPIException running any Dogtail script
Status: RESOLVED NOTABUG
Product: dogtail
Classification: Deprecated
Component: Framework
CVS HEAD
Other All
: Normal minor
: ---
Assigned To: Dogtail Maintainers
Dogtail Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-09-06 20:43 UTC by Len DiMaggio
Modified: 2006-09-13 20:02 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Len DiMaggio 2006-09-06 20:43:07 UTC
Please describe the problem:
With Dogtail and SPI built from CVS head on 20060905, running on FC5 - I'm seeing this exception when any Dogtail script is run (oo or procedural)

[ldimaggi@dhcp83-99 dogtail_scripts]$ python  /usr/share/doc/dogtail/examples/gedit-test-utf8-tree-api.py
Detecting distribution: Red Hat/Fedora/derived distribution
GTK Accessibility Module initialized
Traceback (most recent call last):
  • File "/usr/lib/python2.4/site-packages/dogtail/tree.py", line 464 in __getattr__
    try: a = self.__accessible.getChildAtIndex (i)
  • File "pyspi.pyx", line 481 in atspi.Accessible.getChildAtIndex
  • File "pyspi.pyx", line 137 in atspi.exception_handler
SpiException: Non-fatal SPIException: type:0 source:0 "IDL:omg.org/CORBA/COMM_FAILURE:1.0"
Traceback (most recent call last):
  • File "/usr/lib/python2.4/site-packages/dogtail/tree.py", line 464 in __getattr__
    try: a = self.__accessible.getChildAtIndex (i)
  • File "pyspi.pyx", line 481 in atspi.Accessible.getChildAtIndex
  • File "pyspi.pyx", line 137 in atspi.exception_handler
SpiException: Non-fatal SPIException: type:0 source:0 "IDL:omg.org/CORBA/COMM_FAILURE:1.0"
GTK Accessibility Module initialized
Bonobo accessibility support initialized
Traceback (most recent call last):
  • File "/usr/lib/python2.4/site-packages/dogtail/tree.py", line 464 in __getattr__
    try: a = self.__accessible.getChildAtIndex (i)
  • File "pyspi.pyx", line 481 in atspi.Accessible.getChildAtIndex
  • File "pyspi.pyx", line 137 in atspi.exception_handler
SpiException: Non-fatal SPIException: type:0 source:0 "IDL:omg.org/CORBA/COMM_FAILURE:1.0"
Traceback (most recent call last):
  • File "/usr/lib/python2.4/site-packages/dogtail/tree.py", line 464 in __getattr__
    try: a = self.__accessible.getChildAtIndex (i)
  • File "pyspi.pyx", line 481 in atspi.Accessible.getChildAtIndex
  • File "pyspi.pyx", line 137 in atspi.exception_handler
SpiException: Non-fatal SPIException: type:0 source:0 "IDL:omg.org/CORBA/COMM_FAILURE:1.0"
click on {"Save" button}
activate on {child with name="Desktop" roleName='table cell'}
click on {"Save" button}
click on {"Quit" menuitem}
application finalize called


Steps to reproduce:
1. Build Dogtail and SPI from CVS head
2. Run a Dogtail script
3. 


Actual results:
The scripts run - the exception is non-fatal

Expected results:


Does this happen every time?
Yes

Other information:
Comment 1 Zack Cerza 2006-09-07 15:02:30 UTC
This is the result of the workaround to application bugs. Instead of completely ignoring the exceptions that they cause AT-SPI to raise, dogtail prints them out. This behavior is only actually a bug if you want a way to keep the tracebacks from ever being printed. Please reopen if that's the case.
Comment 2 Len DiMaggio 2006-09-11 01:34:38 UTC
I think that this one is worth fixing - even if the messages are non-fatal. The messages are ugly - and if you run a suite of many tests together (such as the Frysk tests), the messages are displayed many times.
Comment 3 Len DiMaggio 2006-09-13 20:02:55 UTC
Suddenly - this bug not reproducible. I'll re-open if I can a a reproducible sequence that will cause it to happen...