> this error is now related to moblin-media (not registering itself
> properly i think) and not dogtail which now imports fine
Ideas on what is needed to "register itself properly" ?
Bob
Ian Lawrence wrote:
> I have some 'solution' and dogtail is now running inside ume...i am
> still getting errors but now i think they are related to the
> application under tests. This is what I did:
>
> 1. Created a new lpia image in MIC
>
> 2. In a target:
> aptitude install libgail-common libgail-dev libbonobo2-0
> libbonobo2-common libbonobo2-dev autoconf autotools-dev libtool
> gtk-doc-tools automake1.7
> automake1.9 hildon-desktop-dev outo libatspi-dev libatspi1.0-0
> python-pyatspi libffi4 libffi4-dev python2.5-dev
>
> 3. Compile and Install Hildon Accessibility Library to the target
> (https://edge.launchpad.net/hail/) ./autogen.sh --prefix=/usr
> make && make install
>
> 4. Put the rocknrole.py script inside the targets /usr/lib/python2.5
> directory.
> 5. Start 2 target terminals...in one run ume-xephyr-start and when
> the ume desktop appears run moblin-media
>
> In the other terminal other do this:
>
> (T: lpia-traget)root@lawrence:/home/ume# python Python 2.5.1
> (r251:54863, Oct 5 2007, 13:40:04) [GCC 4.2.1 (Ubuntu
> 4.2.1-5ubuntu4)] on linux2 Type "help", "copyright", "credits" or
> "license" for more information.
>>>> from rocknrole import *
> Creating logfile at /tmp/dogtail/logs/log_20071217-135744_debug ...
> Detecting distribution: Ubuntu (or derived distribution) Hildon
> Accessibility Module initialized Creating logfile at
> /tmp/dogtail/logs/log_20071217-135744_results ...
>
>>>> the_mutts_nuts=appR('moblin-media')
> searching for child of {root}: "moblin-media" application (attempt 3)
> searching for child of {root}: "moblin-media" application (attempt 4)
> searching for child of {root}: "moblin-media" application (attempt 5)
> searching for child of {root}: "moblin-media" application (attempt 6)
>
> ....
>
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "/usr/lib/python2.5/rocknrole.py", line 414, in appR
> return RNR(tree.root.application(app))
> File "/var/lib/python-support/python2.5/dogtail/tree.py", line
> 1092, in application return
>
>
>
Application(root.findChild(predicate.IsAnApplicationNamed(appName),recur
sive=False))
> File "/var/lib/python-support/python2.5/dogtail/tree.py", line 875,
> in findChild raise SearchError(describeSearch(self, pred, recursive,
> debugName))
> SearchError: child of {root}: "moblin-media" application
>
>
> this error is now related to moblin-media (not registering itself
> properly i think) and not dogtail which now imports fine
>
>
> ** Attachment added: "Work on dogtail nodes by creating objects with
> rolenames as attributes"
> http://launchpadlibrarian.net/10934968/rocknrole.tar.gz
> this error is now related to moblin-media (not registering itself
> properly i think) and not dogtail which now imports fine
Ideas on what is needed to "register itself properly" ?
Bob
Ian Lawrence wrote: /edge.launchpad .net/hail/) ./autogen.sh --prefix=/usr root@lawrence: /home/ume# python Python 2.5.1 logs/log_ 20071217- 135744_ debug ... logs/log_ 20071217- 135744_ results ... nuts=appR( 'moblin- media') python2. 5/rocknrole. py", line 414, in appR root.applicatio n(app)) python- support/ python2. 5/dogtail/ tree.py" , line root.findChild( predicate. IsAnApplication Named(appName) ,recur python- support/ python2. 5/dogtail/ tree.py" , line 875, describeSearch( self, pred, recursive, launchpadlibrar ian.net/ 10934968/ rocknrole. tar.gz
> I have some 'solution' and dogtail is now running inside ume...i am
> still getting errors but now i think they are related to the
> application under tests. This is what I did:
>
> 1. Created a new lpia image in MIC
>
> 2. In a target:
> aptitude install libgail-common libgail-dev libbonobo2-0
> libbonobo2-common libbonobo2-dev autoconf autotools-dev libtool
> gtk-doc-tools automake1.7
> automake1.9 hildon-desktop-dev outo libatspi-dev libatspi1.0-0
> python-pyatspi libffi4 libffi4-dev python2.5-dev
>
> 3. Compile and Install Hildon Accessibility Library to the target
> (https:/
> make && make install
>
> 4. Put the rocknrole.py script inside the targets /usr/lib/python2.5
> directory.
> 5. Start 2 target terminals...in one run ume-xephyr-start and when
> the ume desktop appears run moblin-media
>
> In the other terminal other do this:
>
> (T: lpia-traget)
> (r251:54863, Oct 5 2007, 13:40:04) [GCC 4.2.1 (Ubuntu
> 4.2.1-5ubuntu4)] on linux2 Type "help", "copyright", "credits" or
> "license" for more information.
>>>> from rocknrole import *
> Creating logfile at /tmp/dogtail/
> Detecting distribution: Ubuntu (or derived distribution) Hildon
> Accessibility Module initialized Creating logfile at
> /tmp/dogtail/
>
>>>> the_mutts_
> searching for child of {root}: "moblin-media" application (attempt 3)
> searching for child of {root}: "moblin-media" application (attempt 4)
> searching for child of {root}: "moblin-media" application (attempt 5)
> searching for child of {root}: "moblin-media" application (attempt 6)
>
> ....
>
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "/usr/lib/
> return RNR(tree.
> File "/var/lib/
> 1092, in application return
>
>
>
Application(
sive=False))
> File "/var/lib/
> in findChild raise SearchError(
> debugName))
> SearchError: child of {root}: "moblin-media" application
>
>
> this error is now related to moblin-media (not registering itself
> properly i think) and not dogtail which now imports fine
>
>
> ** Attachment added: "Work on dogtail nodes by creating objects with
> rolenames as attributes"
> http://