pyspi [Bug 468636] New: throws corba errors from getChildAtIndex



If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=468636

  pyspi | general | Ver: CVS HEAD
           Summary: pyspi throws corba errors from getChildAtIndex
           Product: pyspi
           Version: CVS HEAD
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: general
        AssignedTo: pyspi-maint gnome bugs
        ReportedBy: crobinso redhat com
         QAContact: pyspi-maint gnome bugs
     GNOME version: Unspecified
   GNOME milestone: Unspecified


I see the following when trying to run the dogtail sniff application on Fedora
7, using dogtail and pyspi built from upstream source:

[root crobinso1 pyspi.orig]# sniff
Creating logfile at /tmp/dogtail/logs/sniff_20070820-152941_debug ...
Detecting distribution: Fedora (or derived distribution)
GTK Accessibility Module initialized
Traceback (most recent call last):
  File "/usr/bin/sniff", line 10, in <module>
    from dogtail import tree
  File "/usr/lib/python2.5/site-packages/dogtail/tree.py", line 1263, in
<module>
    children = root.children
  File "/usr/lib/python2.5/site-packages/dogtail/tree.py", line 476, in
__getattr__
    try: a = self.__accessible.getChildAtIndex (i)
  File "pyspi.pyx", line 498, in atspi.Accessible.getChildAtIndex
    spiChild = cspi.Accessible_getChildAtIndex (self.__item, i)
  File "pyspi.pyx", line 146, in atspi.exception_handler
    raise str(e)
Non-fatal SPIException: type:0 source:0 "IDL:omg.org/CORBA/COMM_FAILURE:1.0"

I see the same error using packages available from F7, I just used source to
ensure a fix just hadn't been pushed yet. Some machines dogtail/pyspi works
fine on, others it errors as stated. Similar issues have been reported here:

http://mail.gnome.org/archives/dogtail-list/2006-August/msg00000.html
http://bugzilla.gnome.org/show_bug.cgi?id=321273

FYI: Currently this problem is being masked by a pyrex bug which is causing the
final line in the traceback to be printed as:

TypeError: exceptions must be strings, classes, or instances, not SpiException

I changed the source to print a string version of the exception (can be seen as
raise str(e) above) in the interim to get useful feedback, but this change does
not impact the source of the problem. Info on this bug is being tracked in:

http://bugzilla.gnome.org/show_bug.cgi?id=440887
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=245733


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=468636.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]