This is the mail archive of the
frysk@sources.redhat.com
mailing list for the frysk project.
About dogtail on x86 and ppc64
- From: Wu Zhou <woodzltc at cn dot ibm dot com>
- To: frysk at sources dot redhat dot com
- Date: Tue, 11 Jul 2006 21:43:45 -0400
- Subject: About dogtail on x86 and ppc64
Hello all,
We can setup dogtail on x86 and ppc64 as well.
On both platform, we run "python ./gedit-test-utf8-procedural-api.py".
Here is the results:
On x86:
========
# python ./gedit-test-utf8-procedural-api.py
Creating logfile at
/tmp/dogtail/logs/gedit-test-utf8-procedural-api_20060712-093635 ...
Detecting distribution: Red Hat/Fedora/derived distribution
Warning: AT-SPI error: pre method check: add: Unknown CORBA exception
id: 'IDL:omg.org/CORBA/COMM_FAILURE:1.0'
GTK Accessibility Module initialized
Warning: AT-SPI error: pre method check: add: Unknown CORBA exception
id: 'IDL:omg.org/CORBA/COMM_FAILURE:1.0'
Bonobo accessibility support initialized
Warning: AT-SPI error: pre method check: add: Unknown CORBA exception
id: 'IDL:omg.org/CORBA/COMM_FAILURE:1.0'
Warning: AT-SPI error: pre method check: add: Unknown CORBA exception
id: 'IDL:omg.org/CORBA/COMM_FAILURE:1.0'
Warning: AT-SPI error: pre method check: add: Unknown CORBA exception
id: 'IDL:omg.org/CORBA/COMM_FAILURE:1.0'
/tmp/dogtail/screenshot_20060712-093640.png
Screenshot taken: /tmp/dogtail/screenshot_20060712-093640.png
click on {child with name="Save" ("?存(S)", "保存(S)", "保存", "?存", )}
Traceback (most recent call last):
File "./gedit-test-utf8-procedural-api.py", line 56, in ?
focus.dialog(u'Save As\u2026')
File "/usr/lib/python2.4/site-packages/dogtail/procedural.py", line
78, in __call__
result = FocusApplication.node.findChild(predicate,
requireResult=False, recursive = False)
File "/usr/lib/python2.4/site-packages/dogtail/tree.py", line 769,
in findChild
result.debugName = pred.describeSearchResult()
File "/usr/lib/python2.4/site-packages/dogtail/predicate.py", line
235, in describeSearchResult
return '%s dialog'%self.dialogName
File "/usr/lib/python2.4/site-packages/dogtail/i18n.py", line 144,
in __str__
result = '"%s" (%s)' % (self.untranslatedString, translations)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position
8: ordinal not in range(128)
On ppc64:
========
# python ./gedit-test-utf8-procedural-api.py
Creating logfile at
/tmp/dogtail/logs/gedit-test-utf8-procedural-api_20060712-133632 ...
Detecting distribution: Red Hat/Fedora/derived distribution
/tmp/dogtail/screenshot_20060712-133637.png
Screenshot taken: /tmp/dogtail/screenshot_20060712-133637.png
click on {child with name="Save"}
activate on {child with name="Browse for other folders"}
activate on {child with name="Desktop" roleName='table cell'}
click on {child with name="Save"}
click on {child with name="Quit"}
** (process:26377): WARNING **: Failed to send buffer
** (process:26377): WARNING **: Failed to send buffer
** (process:26377): WARNING **: Failed to send buffer
** (process:26377): WARNING **: Failed to send buffer
.......
** (process:26377): WARNING **: Failed to send buffer
The difference I noticed is:
1. There are some warning messages there in ppc64 complaining that
failed to send buffer
2. the gedit session quited on ppc64, don't on x86
I guess it work correctly on ppc64, not on x86.
3. on x86, it complained with some warning message:
Warning: AT-SPI error: pre method check: add: Unknown CORBA exception
id: 'IDL:omg.org/CORBA/COMM_FAILURE:1.0'
I want to get some suggestion from you, what we need to do to test
dogtail seriously? Thanks a lot!
Regards
- Wu Zhou