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 520666 - AttributeError: 'module' object has no attribute 'EventGenerator'
AttributeError: 'module' object has no attribute 'EventGenerator'
Status: RESOLVED FIXED
Product: dogtail
Classification: Deprecated
Component: Recorder
0.6.1
Other All
: Normal critical
: ---
Assigned To: Dogtail Maintainers
Dogtail Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-03-06 04:20 UTC by Bhaskar Mukkamala
Modified: 2008-06-13 14:42 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bhaskar Mukkamala 2008-03-06 04:20:56 UTC
Steps to reproduce:
1. I am new to the dogtail application. It was working all of a sudden this error occured.
2. any dogtail application I try it fails with the same error.

3. Below is the screen dump of the error.


Stack trace:
[root@localhost bin]# ./dogtail-recorder 
GTK Accessibility Module initialized
Detecting distribution: Red Hat/Fedora/derived distribution
Traceback (most recent call last):
  • File "./dogtail-recorder", line 9 in <module>
    import dogtail.tree
  • File "/usr/lib/python2.5/site-packages/dogtail/tree.py", line 73 in <module>
    import rawinput
  • File "/usr/lib/python2.5/site-packages/dogtail/rawinput.py", line 19 in <module>
    ev = atspi.EventGenerator()
AttributeError: 'module' object has no attribute 'EventGenerator'
[root@localhost bin]# ./sniff
Detecting distribution: Red Hat/Fedora/derived distribution
GTK Accessibility Module initialized
Traceback (most recent call last):
  File "./sniff", line 10, in <module>
    from dogtail import tree
  File "/usr/lib/python2.5/site-packages/dogtail/tree.py", line 73, in <module>
    import rawinput
  File "/usr/lib/python2.5/site-packages/dogtail/rawinput.py", line 19, in <module>
    ev = atspi.EventGenerator()
AttributeError: 'module' object has no attribute 'EventGenerator'


Other information:
Comment 1 Zack Cerza 2008-06-13 14:42:38 UTC
This should be fixed in dogtail svn, which requires at-spi-python (not pyspi). Please reopen if you find that it's not.