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 356740 - object-oriented recorder backend needs updating
object-oriented recorder backend needs updating
Status: RESOLVED WONTFIX
Product: dogtail
Classification: Deprecated
Component: Recorder
0.6.0
Other Linux
: Low normal
: ---
Assigned To: Dogtail Maintainers
Dogtail Maintainers
gnome[unmaintained]
: 354550 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-09-19 14:30 UTC by Len DiMaggio
Modified: 2011-02-07 06:07 UTC
See Also:
GNOME target: ---
GNOME version: 2.0



Description Len DiMaggio 2006-09-19 14:30:29 UTC
This problem is seen on Fedora FC5 (686 - 2.6.15-1.2054_FC5) with Dogtail and PYSPI version 0.6x (the same problem is seen with PYSPI and Dogtail built from CVS head 20060918 22:00 EDT USA).

Recording scripts in the procedural API seems to be OK. Recording scripts in the object oriented API fails with the errors listed below.

For example - this script - recorded in the procedural API - locates a running gedit process/GUI and selects file/quit:

--------------------------------------------------------
#!/usr/bin/python
from dogtail.procedural import *

focus.application('gedit')
click('File', roleName='menu')
click('Quit', roleName='menu item')
--------------------------------------------------------

Repeating the same steps while trying to record a script in the objecct oriented API results in these errors - the script is not recorded beyond these lines:

--------------------------------------------------------
#!/usr/bin/python
from dogtail.tree import *
--------------------------------------------------------

The errors are:

--------------------------------------------------------
Detecting distribution: Red Hat/Fedora/derived distribution
GTK Accessibility Module initialized

(Recorder:3265): libglade-WARNING **: could not find glade file 'recorder.glade'



#!/usr/bin/python
from dogtail.tree import *

Traceback (most recent call last):
  • File "/usr/bin/dogtail-recorder", line 756 in marshalOnMouseButton
    try: recorder.onMouseButton(event)
  • File "/usr/bin/dogtail-recorder", line 524 in onMouseButton
    self.writer.recordTyping(self.typedTextBuffer, "pressed", self.lastFocusedNode)
  • File "/usr/bin/dogtail-recorder", line 183 in recordTyping
    raise NotImplementedError NotImplementedError Traceback (most recent call last):
  • File "/usr/bin/dogtail-recorder", line 756 in marshalOnMouseButton
    try: recorder.onMouseButton(event)
  • File "/usr/bin/dogtail-recorder", line 524 in onMouseButton
    self.writer.recordTyping(self.typedTextBuffer, "pressed", self.lastFocusedNode)
  • File "/usr/bin/dogtail-recorder", line 183 in recordTyping
    raise NotImplementedError NotImplementedError Traceback (most recent call last):
  • File "/usr/bin/dogtail-recorder", line 756 in marshalOnMouseButton
    try: recorder.onMouseButton(event)
  • File "/usr/bin/dogtail-recorder", line 524 in onMouseButton
    self.writer.recordTyping(self.typedTextBuffer, "pressed", self.lastFocusedNode)
  • File "/usr/bin/dogtail-recorder", line 183 in recordTyping
    raise NotImplementedError NotImplementedError Traceback (most recent call last):
  • File "/usr/bin/dogtail-recorder", line 756 in marshalOnMouseButton
    try: recorder.onMouseButton(event)
  • File "/usr/bin/dogtail-recorder", line 524 in onMouseButton
    self.writer.recordTyping(self.typedTextBuffer, "pressed", self.lastFocusedNode)
  • File "/usr/bin/dogtail-recorder", line 183 in recordTyping
    raise NotImplementedError NotImplementedError Traceback (most recent call last):
  • File "/usr/bin/dogtail-recorder", line 756 in marshalOnMouseButton
    try: recorder.onMouseButton(event)
  • File "/usr/bin/dogtail-recorder", line 524 in onMouseButton
    self.writer.recordTyping(self.typedTextBuffer, "pressed", self.lastFocusedNode)
  • File "/usr/bin/dogtail-recorder", line 183 in recordTyping
    raise NotImplementedError NotImplementedError Traceback (most recent call last):
  • File "/usr/bin/dogtail-recorder", line 756 in marshalOnMouseButton
    try: recorder.onMouseButton(event)
  • File "/usr/bin/dogtail-recorder", line 524 in onMouseButton
    self.writer.recordTyping(self.typedTextBuffer, "pressed", self.lastFocusedNode)
  • File "/usr/bin/dogtail-recorder", line 183 in recordTyping
    raise NotImplementedError NotImplementedError Traceback (most recent call last):
  • File "/usr/bin/dogtail-recorder", line 756 in marshalOnMouseButton
    try: recorder.onMouseButton(event)
  • File "/usr/bin/dogtail-recorder", line 524 in onMouseButton
    self.writer.recordTyping(self.typedTextBuffer, "pressed", self.lastFocusedNode)
  • File "/usr/bin/dogtail-recorder", line 183 in recordTyping
    raise NotImplementedError NotImplementedError Traceback (most recent call last):
  • File "/usr/bin/dogtail-recorder", line 756 in marshalOnMouseButton
    try: recorder.onMouseButton(event)
  • File "/usr/bin/dogtail-recorder", line 524 in onMouseButton
    self.writer.recordTyping(self.typedTextBuffer, "pressed", self.lastFocusedNode)
  • File "/usr/bin/dogtail-recorder", line 183 in recordTyping
    raise NotImplementedError NotImplementedError

(Recorder:3265): Bonobo-CRITICAL **: bonobo_main_quit: assertion `bonobo_main_loops != NULL' failed
--------------------------------------------------------
Comment 1 Len DiMaggio 2006-09-19 14:53:28 UTC
*** Bug 354550 has been marked as a duplicate of this bug. ***
Comment 2 Zack Cerza 2006-10-10 20:59:24 UTC
Starting in 0.6.1 the OO recorder is disabled, due to it being unmaintained. 

http://mail.gnome.org/archives/dogtail-devel-list/2006-September/msg00051.html
Comment 3 Fabio Durán Verdugo 2011-02-07 06:07:22 UTC
dogtail development has been stalled and it has been unmaintained for a few
years now.
Maintainers don't have future development plan so i am closing bugs as WONTFIX.
Please feel free to reopen the bugs in future if anyone takes the responsibility for active development.