[LDTP-Dev] Problems running ldtp

సువీన్ suveen.i at gmail.com
Thu Jun 23 08:55:58 UTC 2016


Hello All,

I am new to LDTP and started exploring it from yesterday. I was able to
successfully set it up on Windows and execute a java code. But I am facing
issues setting it up on Linux.

I am trying to use LDTP with Java on RHEL 6 as it suits our automation
framework well. I have downloaded the LDTP source and built it and
installed it using the commands "python setup.py build" and "python
setup.py install". There are no errors shown during this step.

The following output is displayed when I run “import ldtp” on python prompt.

[root at rhel61 Desktop]# python

Python 2.6.6 (r266:84292, May  1 2012, 13:52:17)

[GCC 4.4.6 20110731 (Red Hat 4.4.6-3)] on linux2

Type "help", "copyright", "credits" or "license" for more information.

>>> import ldtp

** (-c:3718): WARNING **: Trying to register gtype 'WnckWindowState' as
flags when in fact it is of type 'GEnum'

** (-c:3718): WARNING **: Trying to register gtype 'WnckWindowActions' as
flags when in fact it is of type 'GEnum'

** (-c:3718): WARNING **: Trying to register gtype
'WnckWindowMoveResizeMask' as flags when in fact it is of type 'GEnum'

>>>

When I run the command "ldtp", the following is displayed and does not
start the server.

[root at rhel61 Desktop]# ldtp

:No such file or directory

The "ldtp" file exists in /usr/bin

[root at rhel61 Desktop]# which ldtp

/usr/bin/ldtp

I have browsed through all the sites/forums trying to resolve the issue but
with no luck. Could someone please help me in starting the ldtp server.

Thanks in advance

Suveen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/ldtp-dev/attachments/20160623/9ebe10e3/attachment.html>


More information about the LDTP-dev mailing list