dogtail-devel [Bug 354502] New: Dogtail recorder fails (built from CVS head - 20060905)



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=354502
 dogtail | Recorder | Ver: CVS HEAD

           Summary: Dogtail recorder fails (built from CVS head - 20060905)
           Product: dogtail
           Version: CVS HEAD
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: Normal
         Component: Recorder
        AssignedTo: dogtail-maint gnome bugs
        ReportedBy: ldimaggi redhat com
         QAContact: dogtail-maint gnome bugs
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Dogtail recorder fails (built from CVS head - 20060905)

The error is:


Detecting distribution: Red Hat/Fedora/derived distribution
Warning: AT-SPI's desktop is visible but it has no children. Are you running
any AT-SPI-aware applications?
Traceback (most recent call last):
  File "/usr/bin/dogtail-recorder", line 439, in ?
    class EventRecorder:
  File "/usr/bin/dogtail-recorder", line 443, in EventRecorder
    modifiers = {
AttributeError: 'module' object has no attribute
'Accessibility_MODIFIER_NUMLOCK'


Before I encountered this problem, I was trying the recorder as built from CVS
head on 20060712 and was seeing these errors:

=====================================

When Dogtail built from CVS head on July 12(?) was in use - these errors were
seen in trying to playback the gedit script attached to this bugzilla:


Error 1 - missing comma

[ldimaggi dhcp83-99 Desktop]$ python gedit_script.py
  File "gedit_script.py", line 6
    ldimaggiDhcp8399DesktopWin.child( name="Terminal"
roleName=terminal).click()
                                                           ^
SyntaxError: invalid syntax


---------------------------------------

Error 2 - wrong name for terminal window used

gnomeTerminalApp = root.application("gnome-terminal")
ldimaggiDhcp8399DesktopWin =
root.application("gnome-terminal").window("ldimaggi dhcp83-99:~/Desktop")
ldimaggiDhcp8399DesktopWin.child( name="Terminal" roleName=terminal).click()


--------------------------------------

Error 3 - non-ASCII character instead of underscore ("_")

[ldimaggi dhcp83-99 Desktop]$ python gedit_script.py
sys:1: DeprecationWarning: Non-ASCII character '\xe2' in file gedit_script.py
on line 15, but no encoding declared; see
http://www.python.org/peps/pep-0263.html for details
  File "gedit_script.py", line 15
    saveAs…Dlg = root.application("gedit").dialog("Save As…")
          ^
SyntaxError: invalid syntax

-----------------------

Error 4 - UnicodeDecodeError

UnicodeDecodeError: 'utf8' codec can't decode byte 0xb0 in position 0:
unexpected code byte
The following string is invalid and caused the above error: �Nv �;�    
�
searching for child of {root}: "gedit" application (attempt 12)
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/dogtail/i18n.py", line 141, in
stringsMatch
    outString = outString.decode('utf-8')
  File "/usr/lib/python2.4/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xb0 in position 0:
unexpected code byte
The following string is invalid and caused the above error: �Nv �;�    
�
searching for child of {root}: "gedit" application (attempt 13)
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/dogtail/i18n.py", line 141, in
stringsMatch
    outString = outString.decode('utf-8')
  File "/usr/lib/python2.4/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xb0 in position 0:
unexpected code byte
The following string is invalid and caused the above error: �Nv �;�    
�
searching for child of {root}: "gedit" application (attempt 14)
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/dogtail/i18n.py", line 141, in
stringsMatch
    outString = outString.decode('utf-8')
  File "/usr/lib/python2.4/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xb0 in position 0:
unexpected code byte


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