Menu

#1 Test script in master does not work

open
nobody
None
2019-02-15
2019-02-15
Anonymous
No

Originally created by: stiebrs

File "C:\Users\user\Downloads\dln-python\test.py", line 11, in <module>
print(d.get_server_version())
File "C:\Users\user\Downloads\dln-python\dln\device.py", line 70, in get_server_version
cmd = build_msg_header(StructBasicCmd.size, MSG_ID_GET_SERVER_VERSION, 0, self._handle)
File "C:\Users\user\Downloads\dln-python\dln\common.py", line 92, in build_msg_header
return StructMsgHeader.pack(size, msg_id, echo_cnt, handle)
struct.error: ushort format requires 0 <= number <= 0xffff</module>

Python 3.7.2

Discussion


Log in to post a comment.

MongoDB Logo MongoDB