This is the mail archive of the
frysk@sources.redhat.com
mailing list for the frysk project.
Re: About dogtail on x86 and ppc64
- From: Elena Zannoni <ezannoni at redhat dot com>
- To: Wu Zhou <woodzltc at cn dot ibm dot com>, ldimaggi at redhat dot com, zcerza at redhat dot com
- Cc: frysk at sources dot redhat dot com
- Date: Wed, 12 Jul 2006 09:09:36 -0400
- Subject: Re: About dogtail on x86 and ppc64
- References: <20060711214345.uxbwxsve8soog80s@imap.linux.ibm.com>
Wu, thanks for starting looking at this. Len is using dogtail
successfully on x86 for testing of Frysk, so I suspect something in
your setup. On ppc64, Len was going to try it today, but since that
platform is more of an unknown, I am cc-ing Zack directly as well. But
in general I think Len can offer you some pointers on how to set
things up.
elena
Wu Zhou writes:
> 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" ("?$A4f(S)", "$A1#4f(S)", "$A1#4f", "?$A4f", )}
> 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
>