GNOME Bugzilla – Bug 374898
test-events.py causes exception
Last modified: 2006-11-17 18:15:47 UTC
On any event it writes always only: Exception exceptions.AttributeError: "'module' object has no attribute 'tree'" in 'atspi.EventBase.__setItem' ignored After removing there: dogtail.tree.Node(source) I only got these: Got event: mouse:rel Got event: mouse:abs Got event: mouse:button:1p Got event: mouse:button:1r Got event: keyboard:modifiers with the source name set as "main" and nothing else. Seen on: dogtail-0.6.1-1.el5 pyspi-0.6.1-1.el5 and the CVS snapshot of both.
I just fixed this in CVS. I also added this note to the script: # Note that this script is outdated and may cause your session to lock up until # it is killed. It will most likely be deleted in the next release. If we want to keep it, we have to make sure there's some sort of event that, when intercepted, causes the script to exit.