Re: dogtail does not work
- From: Zack Cerza <zcerza redhat com>
- To: Hongqing Yang <hoyang redhat com>
- Cc: dogtail-list gnome org
- Subject: Re: dogtail does not work
- Date: Fri, 25 Mar 2011 10:15:21 -0400
Hi Hongqing,
I see in another email that you got it working. Can you post details
here please, just for the record?
Thanks,
Zack
On Tue, 2011-03-22 at 05:35 -0400, Hongqing Yang wrote:
> Hi, all,
>
> I try to use dogtail to implement fedora installation test automation.The environment is Fedora 14 with gnome-desktop-2.32.0-2.fc14.x86_64.
> I follows the following steps:
>
> 1. install ImageMagick
> 2. install rpm-python
> 3. install ElementTree
> 4. install AT-SPI
> 5. install dogtail
> 6. enable accessibility by run gconftool-2 -s -t boolean /desktop/gnome/interface/accessibility true
>
> I have checked atspi and accessibility, details is below:
> #ps aux |grep registryd
> myusername 2011 0.0 0.0 42444 3976 ? S 15:14 0:00 /usr/libexec/at-spi2-registryd --use-gnome-session
> myusername 2112 0.0 0.0 42460 3972 ? S 15:14 0:01 /usr/libexec/at-spi2-registryd --use-gnome-session
> root 3986 0.0 0.0 103380 828 pts/3 S+ 16:29 0:00 grep --color=auto registryd
>
> #gconftool-2 -g/desktop/gnome/interface/accessibility
> true
>
> ps aux |grep Xvfb
> root 4070 0.0 0.0 103376 824 pts/3 S+ 16:34 0:00 grep --color=auto Xvfb
>
>
> After that, when I run my scripts, It always gives me the following error:
>
> Creating logfile at /tmp/dogtail/logs/dvd_install_20110322-162415_debug ...
> Error: AT-SPI's desktop is not visible. Do you have accessibility enabled?
> Traceback (most recent call last):
> File "./dvd_install.py", line 36, in <module>
> from anaconda import *
> File "/autoqa/tests/anaconda/anaconda.py", line 31, in <module>
> from dogtail import config as dt_cfg, procedural
> File "/usr/lib/python2.7/site-packages/dogtail/procedural.py", line 18, in <module>
> import tree
> File "/usr/lib/python2.7/site-packages/dogtail/tree.py", line 1132, in <module>
> children = root.children
> NameError: name 'root' is not defined
>
> did I miss anything? Thanks for your help!
> _______________________________________________
> dogtail-list mailing list
> dogtail-list gnome org
> http://mail.gnome.org/mailman/listinfo/dogtail-list
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]