<div dir="ltr">Hi Thomas,<div><br></div><div>You can set the following environment variables on Windows box:</div><div><br></div><div>set LDTP_DEBUG=1 # If you need debug output printed on console</div><div>set LDTP_LISTEN_ALL_INTERFACE=1 # If you need to listen other than localhost, default is listen only on localhost</div>

<div><br></div><div>On Linux side:</div><div><br></div><div>export LDTP_DEBUG=1</div><div><br></div><div>I tried your scenario after setting above environment variables. More over, have enabled inbound firewall rule on my windows box to accept request on port 4118. Everything worked as expected.</div>

<div><br></div><div>Side note: I tried LDTP git head on Ubuntu 13.10.</div><div><br></div><div>Thanks</div><div>Nagappan</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jan 13, 2014 at 10:43 AM, Thomas Andrews <span dir="ltr"><<a href="mailto:tandrews@grok.co.za" target="_blank">tandrews@grok.co.za</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I get the following error when I try to connect from a linux machine to a windows machine:<br>
<br>
xmlrpclib.Fault: <Fault 0: 'Request contains too many param elements based on method signature.'><br>
<br>
<br>
On the server (windows XP machine called xp-pc) I am doing this:<br>
<br>
    CobraWinLDTP.exe<br>
<br>
On the client (debian linux machine) I am doing this in a bash shell:<br>
<br>
    export LDTP_SERVER_ADDR=xp-pc<br>
then:<br>
    python<br>
    >>> from ldtp import *<br>
    >>> getapplist()<br>
<br>
<br>
The client can connect to port 4118 on the server no problem, but the server appears to somehow not understand the request from the client. I downloaded a copy of VisualUIAVerify, and it can see the windows programs running no problem.<br>


<br>
I used wireshark to capture the RPC transaction from TCP/IP and this is what I got:<br>
<br>
8<----------8<----------8<----<u></u>------8<----------8<----------<u></u>8<----------8<----------8<----<u></u>------8<----------<br>
>From the client (Linux PC):<br>
<br>
POST /RPC2 HTTP/1.1<br>
Host: xp-vm:4118<br>
Accept-Encoding: gzip<br>
User-Agent: <a href="http://xmlrpclib.py/1.0.1" target="_blank">xmlrpclib.py/1.0.1</a> (by <a href="http://www.pythonware.com" target="_blank">www.pythonware.com</a>)<br>
Content-Type: text/xml<br>
Content-Length: 155<br>
<?xml version='1.0'?><br>
<methodCall><br>
<methodName>getapplist</<u></u>methodName><br>
<params><br>
<param><br>
<value><struct><br>
</struct></value><br>
</param><br>
</params><br>
</methodCall><br>
<br>
Then response from the server (windows PC):<br>
<br>
HTTP/1.1 200 OK<br>
Content-Length: 485<br>
Content-Type: text/xml<br>
Server: Microsoft-HTTPAPI/1.0<br>
Date: Mon, 13 Jan 2014 16:41:16 GMT<br>
<?xml version="1.0"?><br>
<methodResponse><br>
  <fault><br>
    <value><br>
      <struct><br>
        <member><br>
          <name>faultCode</name><br>
          <value><br>
            <i4>0</i4><br>
          </value><br>
        </member><br>
        <member><br>
          <name>faultString</name><br>
          <value><br>
            <string>Request contains too many param elements based on method signature.</string><br>
          </value><br>
        </member><br>
      </struct><br>
    </value><br>
  </fault><br>
</methodResponse><br>
8<----------8<----------8<----<u></u>------8<----------8<----------<u></u>8<----------8<----------8<----<u></u>------8<----------<br>
<br>
So it looks to me like the RPC communication is fine.<br>
I installed Cobra-winldtp using CobraWinLDTP-4.0.0.msi from <a href="http://code.google.com/p/cobra-winldtp/" target="_blank">http://code.google.com/p/<u></u>cobra-winldtp/</a><br>
On linux I have LDTP version  2.3.1-1 installed (Debian).<br>
<br>
Can anyone help, please?<br>
<br>
Many thanks,<br>
Thomas<br>
______________________________<u></u>_________________<br>
LDTP-dev mailing list<br>
<a href="mailto:LDTP-dev@lists.freedesktop.org" target="_blank">LDTP-dev@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/ldtp-dev" target="_blank">http://lists.freedesktop.org/<u></u>mailman/listinfo/ldtp-dev</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Cross platform GUI testing</div>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><div>ATOMac - Mac GUI Automation tool - <a href="https://github.com/pyatom/pyatom" target="_blank">https://github.com/pyatom/pyatom</a></div>

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