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 374898 - test-events.py causes exception
test-events.py causes exception
Status: RESOLVED FIXED
Product: dogtail
Classification: Deprecated
Component: Examples
CVS HEAD
Other Linux
: Normal normal
: ---
Assigned To: Dogtail Maintainers
Dogtail Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-11-13 22:41 UTC by Jan Kratochvil
Modified: 2006-11-17 18:15 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jan Kratochvil 2006-11-13 22:41:01 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.
Comment 1 Zack Cerza 2006-11-17 18:15:47 UTC
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.