Traceback (most recent call last):
File "example.py", line 7
ipmi_info = ipmi.get_device_id()
File "/usr/lib/python3/dist-packages/pyipmi/bmc.py", line 25, in get_device_id
return DeviceId(self.send_message_with_name('GetDeviceId'))
File "/usr/lib/python3/dist-packages/pyipmi/__init__.py", line 206, in send_message_with_name
rsp = self.send_message(req)
File "/usr/lib/python3/dist-packages/pyipmi/__init__.py", line 190, in send_message
rsp = self.interface.send_and_receive(req)
File "/usr/lib/python3/dist-packages/pyipmi/interfaces/ipmitool.py", line 147, in send_and_receive
py3_array_tobytes(req_data))
File "/usr/lib/python3/dist-packages/pyipmi/utils.py", line 57, in py3_array_tobytes
return msg.tobytes()
AttributeError: 'ByteBuffer' object has no attribute 'tobytes'
When using the latest version from git, python-ipmi fails on Ubuntu 20.04. Relevant code snippet: