Re: pyatspi does not work

Hongqing Yang <[email protected]> Sun, 27 Mar 2011 02:08:12 -0400 (EDT)
Newsgroups gmane.comp.gnome.devel
Message-ID <1866771530.614083.1301206092852.JavaMail.root@zmail06.collab.prod.int.phx2.redhat.com>
Hi, all

Now I find the problem is that there is no desktop.py in pyatspi after pyatspi installation with yum,
after I copy desktop.py into it, it works. 

----- Original Message -----
From: "Hongqing Yang" <[email protected]>
To: [email protected]
Sent: Friday, March 25, 2011 2:56:35 PM
Subject: pyatspi does not work


Hi, all,

This is Hongqing YANG from Red Hat, Now I want to use pyatspi, it works fine with a general user, but when I run it with root on Fedora 14 and GNOME,
it always show the following error:

** (sniff:15638): WARNING **: AT-SPI: Accessibility bus not found - Using session bus.

Traceback (most recent call last):
  File "/usr/bin/sniff", line 19, in <module>
    from dogtail import tree
  File "/usr/lib/python2.7/site-packages/dogtail/tree.py", line 1122, in <module>
    Accessibility.Desktop.__bases__ = (Root,) + Accessibility.Desktop.__bases__
AttributeError: 'module' object has no attribute 'Desktop'

do you have any idea about this, Hope to hear from you.

Thanks.
Hongqing YANG
_______________________________________________
gnome-devel-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-devel-list