· 7 years ago · May 01, 2018, 09:18 PM
12011-12-15 12:58:57 debug Processing the request from client #14. Client message is: "?&id_account=381616&amount=17000&cmd=dispenser.dispense"
22011-12-15 12:58:57 debug RequestController: new request processing
32011-12-15 12:58:57 info Dispenser is enabled in configs (true)
42011-12-15 12:58:57 debug DispenserController: New dispense request received
52011-12-15 12:58:57 debug DispenserAdapter: port is /dev/ttyS2
62011-12-15 12:58:57 debug DispenserAdapter: parity is N
72011-12-15 12:58:57 debug DispenserAdapter: baudrate is 9600
82011-12-15 12:58:57 debug DispenserAdapter: timeout is 0.5
92011-12-15 12:58:57 debug DispenserAdapter: get_status command received
102011-12-15 12:58:57 debug DispenserAdapter: send command in hex ['04', '50', '02', '46', '03', '13']
112011-12-15 12:58:57 debug >> serial.write ['04', '50', '02', '46', '03', '13']
122011-12-15 12:58:57 debug >> serial.read
132011-12-15 12:58:57 debug DispenserAdapter.__read: first byte is: 0x06
142011-12-15 12:58:57 debug DispenserAdapter.__read: first byte is: ACK
152011-12-15 12:58:57 debug >> serial.read done
162011-12-15 12:58:57 debug DispenserAdapter.__send: bytes_recd == ACK
172011-12-15 12:58:57 debug DispenserAdapter.__read: first byte is: 0x01
182011-12-15 12:58:57 debug DispenserAdapter.__read: Wrong first byte in response 0x01
192011-12-15 12:58:57 debug DispenserAdapter.__read: Next byte in response is 0x32
202011-12-15 12:58:57 debug DispenserAdapter.__read: first byte is detected
212011-12-15 12:58:57 debug DispenserAdapter.__read: cycle is complete
222011-12-15 12:58:57 debug DispenserAdapter.__read: full dump of response: [[1, 80, 2, 70, 48, 49, 128, 128, 3, 23]]
232011-12-15 12:58:57 debug >> serial.read in HEX: ['01', '50', '02', '46', '30', '31', '80', '80', '03', '17']
242011-12-15 12:58:57 debug Dispenser_LCDM2000: Validate status_frame [1, 80, 2, 70, 48, 49, 128, 128, 3, 23]. Len is 10
252011-12-15 12:58:57 debug DispenserAdapter: [CMD STATUS] result: True
262011-12-15 12:58:57 debug DispenserAdapter: [CMD STATUS] info : {'status': True, 'sensor_1': '3', 'sensor_0': '80', 'error_cause': '80'}
272011-12-15 12:58:57 debug HTTP: Sending request: {'id_terminal': 135, 'amount': 17000, 'cmd': 'atm.dispense_start', 'secret_key': '93io13r',
28'id_account': '381616'}
292011-12-15 12:58:57 debug HTTP: Receive: <?xml version="1.0" encoding="UTF-8"?>
302011-12-15 12:58:58 info Response sent: <response status="500" description="'NoneType' object is unsubscriptable" exec_time="0.344949960709"/>^@