GNOME Bugzilla – Bug 356740
object-oriented recorder backend needs updating
Last modified: 2011-02-07 06:07:22 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):
+ Trace 72748
try: recorder.onMouseButton(event)
self.writer.recordTyping(self.typedTextBuffer, "pressed", self.lastFocusedNode)
raise NotImplementedError NotImplementedError Traceback (most recent call last):
raise NotImplementedError NotImplementedError
(Recorder:3265): Bonobo-CRITICAL **: bonobo_main_quit: assertion `bonobo_main_loops != NULL' failed --------------------------------------------------------
*** Bug 354550 has been marked as a duplicate of this bug. ***
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
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.