[LDTP-Dev] problem with getwindowlist() of ldtp for ubuntu 8.04

mrahman rahmanmostafizur at hotmail.com
Wed Nov 3 08:07:39 PDT 2010


I installed LDTP in ubuntu 8.04 using Synaptic Package Manager. The installed
packages are ldtp 0.9.2-3ubuntu1, ldtp-doc 0.8-1 and python-ldtp
0.9.2-3ubuntu1. getapplist() works properly. However, getwindowlist() is not
working. I get the following sequence:

user at user-desktop:~$ python
Python 2.5.2 (r252:60911, Jul 22 2009, 15:35:03)
[GCC 4.2.4 (Ubuntu 4.2.4-1ubuntu3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from ldtp import*
>>> getapplist()
[u'gnome-power-manager', u'gnome-settings-daemon', u'update-notifier',
u'nautilus', u'gnome-panel', u'gnome-volume-manager', u'bluetooth-applet',
u'tracker-applet', u'gnome-terminal', u'gnome-screensaver', u'metacity',
u'Firefox', u'x-session-manager', u'evolution-alarm-notify', u'applet.py',
u'nm-applet', u'notification-daemon']
>>> getwindowlist()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/var/lib/python-support/python2.5/ldtp.py", line 3445, in
getwindowlist
    raise LdtpExecutionError (str (msg))
ldtp.LdtpExecutionError: "u'getwindowlist failed: Application map not
initialized'"
>>>

Can you please look into the matter?

Thanks

-Mostafiz
-- 
View this message in context: http://old.nabble.com/problem-with-getwindowlist%28%29-of-ldtp-for-ubuntu-8.04-tp30115928p30115928.html
Sent from the Free Desktop - LDTP mailing list archive at Nabble.com.



More information about the LDTP-dev mailing list