Closed lidyum closed 3 years ago
Describe the bug clear_data() method not working
To Reproduce Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python3.8/site-packages/zk/base.py", line 1342, in clear_data cmd_response = self.send_command(command, command_string) File "/usr/local/lib/python3.8/site-packages/zk/base.py", line 244, in send_command buf = self.create_header(command, command_string, self.session_id, self.__reply_id) File "/usr/local/lib/python3.8/site-packages/zk/base.py", line 190, in __create_header buf = pack('<4H', command, 0, session_id, reply_id) + command_string TypeError: can't concat str to bytes
System (please complete the following information):
I'm pretty sure you are using an old version from pip. please update to latest version
Describe the bug clear_data() method not working
To Reproduce Traceback (most recent call last): File "", line 1, in
File "/usr/local/lib/python3.8/site-packages/zk/base.py", line 1342, in clear_data
cmd_response = self.send_command(command, command_string)
File "/usr/local/lib/python3.8/site-packages/zk/base.py", line 244, in send_command
buf = self.create_header(command, command_string, self.session_id, self.__reply_id)
File "/usr/local/lib/python3.8/site-packages/zk/base.py", line 190, in __create_header
buf = pack('<4H', command, 0, session_id, reply_id) + command_string
TypeError: can't concat str to bytes
System (please complete the following information):