Hi Jay,<div><br></div><div>I guess its because of a running app, with window title, which can mess up the XML.</div><div><br></div><div>I would debug this way:</div><div><br></div><div>* open gnome-terminal or what so ever in GUI mode</div>

<div>* In first tab, export LDTP_DEBUG=2 and then ldtp</div><div>* In second tab, open python prompt and type getapplist()</div><div><br></div><div>Now see what's the exception in first tab and try the fix or send the exception, let me try a fix.</div>

<div><br></div><div>Thanks</div><div>Nagappan<br><br><div class="gmail_quote">On Tue, Sep 25, 2012 at 2:24 AM, Jay Krish <span dir="ltr"><<a href="mailto:raajjya@gmail.com" target="_blank">raajjya@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
i installed ldtpv3.0.0. and got this trace with getapplist() . But<br>
getwindowlist() works fine.<br>
Am i missing any dependencies?<br>
AFAIK i had all the dependenciy packages - using ubuntu-11.04  GNome 2.32.1<br>
<br>
[in 12.04 everything works but i have to move on with 11.04 tests also  :(<br>
]<br>
<br>
_________________________________________________________________________________________________<br>
Traceback (most recent call last):<br>
  File "<stdin>", line 1, in <module><br>
  File "ldtp/client.py", line 69, in __call__<br>
    return self.__send(self.__name, args)<br>
  File "/usr/lib/python2.7/xmlrpclib.py", line 1575, in __request<br>
    verbose=self.__verbose<br>
  File "ldtp/client.py", line 146, in request<br>
    parser.feed(payload)<br>
  File "/usr/lib/python2.7/xmlrpclib.py", line 557, in feed<br>
    self._parser.Parse(data, 0)<br>
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 29,<br>
column 15<br>
__________________________________________________________________________________________________<br>
<br>
<br>
<br>
<br>
Also this is the trace from my testcases<br>
When all test cases passes it works . if any tests cases fails then it<br>
outputs<br>
____________________________________________________________________________________________________<br>
     [exec]   File "/usr/lib/python2.7/xmlrpclib.py", line 1575, in<br>
__request<br>
     [exec]     verbose=self.__verbose<br>
     [exec]   File "/usr/local/lib/python2.7/dist-packages/ldtp/client.py",<br>
line 186, in request<br>
     [exec]     raise e<br>
     [exec] Fault: <Fault 8002: "'gi.repository.Gdk' object has no attribute<br>
'get_default_root_window'"><br>
____________________________________________________________________________________________________<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://old.nabble.com/ldtpv3.0.0-xml.parsers.expat.ExpatError-tp34476438p34476438.html" target="_blank">http://old.nabble.com/ldtpv3.0.0-xml.parsers.expat.ExpatError-tp34476438p34476438.html</a><br>


Sent from the Free Desktop - LDTP mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
LDTP-dev mailing list<br>
<a href="mailto:LDTP-dev@lists.freedesktop.org">LDTP-dev@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/ldtp-dev" target="_blank">http://lists.freedesktop.org/mailman/listinfo/ldtp-dev</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Linux Desktop (GUI Application) Testing Project - <a href="http://ldtp.freedesktop.org" target="_blank">http://ldtp.freedesktop.org</a><br>Cobra - Windows GUI Automation tool - <a href="https://github.com/ldtp/cobra" target="_blank">https://github.com/ldtp/cobra</a><br>

<a href="http://nagappanal.blogspot.com" target="_blank">http://nagappanal.blogspot.com</a><br>
</div>