rendered paste body/usr/bin # ./testapp &
/usr/bin # Client packet len: 86
i = 0
Data read 86, packet-len = 86, bytes read = 86, data: <?xml version="1.0"?><REQUEST><ACTION>getapplist</ACTION><ID>2064545004</ID></REQUEST>
PACKET LENGTH: 0
Received packet [<?xml version="1.0"?><REQUEST><ACTION>getapplist</ACTION><ID>2064545004</ID></REQUEST>] through 17
Node: ACTION
action_name: getapplist
Node: ID
request_id: 2064545004
Command: getapplist
Get command id: getapplist
Unable to get application list
resp_len = 117
Sending..
161
Response packet: <?xml version="1.0" encoding="utf-8"?><RESPONSE><ID>2064545004</ID><STATUS><CODE>-997</CODE><MESSAGE>Unable to get application list</MESSAGE></STATUS></RESPONSE>
Msg:
Bytes sent: 165
>>> ================================ RESTART ================================
>>>
>>> import ldtp
>>> ldtp.getapplist()
Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
ldtp.getapplist()
File "/usr/local/lib/python2.5/site-packages/ldtp.py", line 2869, in getapplist
raise LdtpExecutionError (str (msg))
LdtpExecutionError: "u'getapplist failed: Unable to get application list'"
>>>