This is the mail archive of the frysk@sources.redhat.com mailing list for the frysk project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Quoting Elena Zannoni <ezannoni@redhat.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.
Yes. I am now also thinking that it is the problem of setup. I can now make i18n-test.py, gnome-panel-test-starting-every-app.py and gcalctool-test-fibonacci.py work ok on x86. So I guess it also depends on how the target application behave whether it will work or not.
BTW, I am using the latest rpm package for dogtail, pyspi, at-spi packages:
dogtail-0.5.1-4.fc5
pyspi-0.5.4-3.fc5
at-spi-1.7.7-8
at-spi-devel-1.7.7-8
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.
I will appreciate that if anyone can give me guidance. Thanks.
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
>
Regards - Wu Zhou
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |