All pastes #111249 Raw Edit

Emily_chen

public text v1 · immutable
·published 2006-08-02 07:40 UTC
rendered paste body
bash-3.00$ export LDTP_DEBUG=2
bash-3.00$ ldtp
Wed Aug  2 15:35:07 2006: Client connection: accepted
Client packet len: 180
i = 0
Data read 180, packet-len = 180, bytes read = 180, data: <?xml version="1.0"?><REQUEST><RECORD><ID>702225101</ID><ACTION>startrecord</ACTION><APPLICATION>all</APPLICATION><ARGUMENTS><ARGUMENT>ALL</ARGUMENT></ARGUMENTS></RECORD></REQUEST>
PACKET LENGTH: 0
Received packet [<?xml version="1.0"?><REQUEST><RECORD><ID>702225101</ID><ACTION>startrecord</ACTION><APPLICATION>all</APPLICATION><ARGUMENTS><ARGUMENT>ALL</ARGUMENT></ARGUMENTS></RECORD></REQUEST>] through 21
Node: RECORD
request_id: 702225101
Node: ACTION
action_name: startrecord
Node: APPLICATION
Has childrens
Argument value: ALL
Command: startrecord
Get command id: startrecord
Entered LDTP_CMD_STARTRECORD
Record_main command for the application all - 137
resp_len = 117
Sending..
149
Response packet: <?xml version="1.0" encoding="utf-8"?><RESPONSE><ID>702225101</ID><STATUS><CODE>0</CODE><MESSAGE>Successfully completed</MESSAGE></STATUS></RESPONSE>
Msg: 
Bytes sent: -1
Wed Aug  2 15:35:07 2006: Client disconnected
Client packet len: 0
handle_client: error:
resp_len = 117
Sending..
170
Response packet: <?xml version="1.0" encoding="utf-8"?><RESPONSE><ID>702225101</ID><STATUS><CODE>-994</CODE><MESSAGE>Packet received from client is not valid</MESSAGE></STATUS></RESPONSE>
Msg: 
Bytes sent: -1
Wed Aug  2 15:35:07 2006: Client disconnected
DEBUG: Mouse Click of object type 42 - push button
DEBUG = Pushbutton callback
DEBUG: Mouse Click of object type 34 - menu item
DEBUG: Mouse Click of object type 32 - menu
DEBUG: Mouse Click of object type 22 - frame
DEBUG: Mouse Click of object type 22 - frame
Wed Aug  2 15:36:11 2006: Client connection: accepted
Client packet len: 150
i = 0
Data read 150, packet-len = 150, bytes read = 150, data: <?xml version="1.0"?><REQUEST><RECORD><ID>1407204158</ID><ACTION>stoprecord</ACTION><ARGUMENTS><ARGUMENT>ALL</ARGUMENT></ARGUMENTS></RECORD></REQUEST>d4c3e71b
PACKET LENGTH: 0
Received packet [<?xml version="1.0"?><REQUEST><RECORD><ID>1407204158</ID><ACTION>stoprecord</ACTION><ARGUMENTS><ARGUMENT>ALL</ARGUMENT></ARGUMENTS></RECORD></REQUEST>d4c3e71b] through 21
Node: RECORD
request_id: 1407204158
Node: ACTION
action_name: stoprecord
Node: ARGUMENTS
Has childrens
Argument value: ALL
Command: stoprecord
Get command id: stoprecord
Entered LDTP_CMD_STOPRECORD
Segmentation Fault (core dumped)
bash-3.00$ 

////Another terminal////
bash-3.00$ ldtprecord -c start
send packet <?xml version="1.0"?><REQUEST><RECORD><ID>702225101</ID><ACTION>startrecord</ACTION><APPLICATION>all</APPLICATION><ARGUMENTS><ARGUMENT>ALL</ARGUMENT></ARGUMENTS></RECORD></REQUEST>
bash-3.00$ ldtprecord -c stop -f /tmp/evo -i
send packet <?xml version="1.0"?><REQUEST><RECORD><ID>1407204158</ID><ACTION>stoprecord</ACTION><ARGUMENTS><ARGUMENT>ALL</ARGUMENT></ARGUMENTS></RECORD></REQUEST>
^CTraceback (most recent call last):
  File "/usr/bin/ldtprecord", line 371, in ?
    stoprecord (filename)
  File "/usr/bin/ldtprecord", line 366, in stoprecord
    raise LdtpExecutionError (str (msg))
__main__.LdtpExecutionError: "'Error while receiving packet'"
bash-3.00$