dogtail-devel [Bug 356740] New: Dogtail recorder (0.6x) fails to record object-oriented scripts



Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=356740
 dogtail | Recorder | Ver: 0.6.x

           Summary: Dogtail recorder (0.6x) fails to record object-oriented
                    scripts
           Product: dogtail
           Version: 0.6.x
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: Recorder
        AssignedTo: dogtail-maint gnome bugs
        ReportedBy: ldimaggi redhat com
         QAContact: dogtail-maint gnome bugs
     GNOME version: 2.0
   GNOME milestone: Unspecified


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
--------------------------------------------------------


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the QA contact for the bug.
You are watching the assignee for the bug.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]