You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get an exception reading 583 tags in batch
This error occurs with latest 1.0.5 version. Going back to my previous version 0.8.13, it works perfectly well.
Stacktrace
groot-svc | Exception reading 192.168.22.10: unpack_from requires a buffer of at least 49 bytes for unpacking 1 bytes at offset 48 (actual buffer size is 24)
groot-svc | File "/opt/everest/dev-ts-groot/groot_lib.py", line 194, in plc_read
groot-svc | results = comm.Read(batch)
groot-svc | File "/usr/local/lib/python3.10/site-packages/pylogix/eip.py", line 126, in Read
groot-svc | return self._batch_read(tag)
groot-svc | File "/usr/local/lib/python3.10/site-packages/pylogix/eip.py", line 376, in _batch_read
groot-svc | self._get_unknown_types(tags)
groot-svc | File "/usr/local/lib/python3.10/site-packages/pylogix/eip.py", line 1392, in _get_unknown_types
groot-svc | self._multi_read(unk_tags)
groot-svc | File "/usr/local/lib/python3.10/site-packages/pylogix/eip.py", line 428, in _multi_read
groot-svc | status, ret_data = self.conn.send(request)
groot-svc | File "/usr/local/lib/python3.10/site-packages/pylogix/lgx_comm.py", line 69, in send
groot-svc | return self._get_bytes(eip_header, connected)
groot-svc | File "/usr/local/lib/python3.10/site-packages/pylogix/lgx_comm.py", line 177, in _get_bytes
groot-svc | status = unpack_from('<B', ret_data, 48)[0]
Versions
pylogix: 1.0.5
plc model: ControlLogix
python: 3.10
OS: Linux alpine
The text was updated successfully, but these errors were encountered:
Type of issue
Description of issue
I get an exception reading 583 tags in batch
This error occurs with latest 1.0.5 version. Going back to my previous version 0.8.13, it works perfectly well.
Stacktrace
groot-svc | Exception reading 192.168.22.10: unpack_from requires a buffer of at least 49 bytes for unpacking 1 bytes at offset 48 (actual buffer size is 24)
groot-svc | File "/opt/everest/dev-ts-groot/groot_lib.py", line 194, in plc_read
groot-svc | results = comm.Read(batch)
groot-svc | File "/usr/local/lib/python3.10/site-packages/pylogix/eip.py", line 126, in Read
groot-svc | return self._batch_read(tag)
groot-svc | File "/usr/local/lib/python3.10/site-packages/pylogix/eip.py", line 376, in _batch_read
groot-svc | self._get_unknown_types(tags)
groot-svc | File "/usr/local/lib/python3.10/site-packages/pylogix/eip.py", line 1392, in _get_unknown_types
groot-svc | self._multi_read(unk_tags)
groot-svc | File "/usr/local/lib/python3.10/site-packages/pylogix/eip.py", line 428, in _multi_read
groot-svc | status, ret_data = self.conn.send(request)
groot-svc | File "/usr/local/lib/python3.10/site-packages/pylogix/lgx_comm.py", line 69, in send
groot-svc | return self._get_bytes(eip_header, connected)
groot-svc | File "/usr/local/lib/python3.10/site-packages/pylogix/lgx_comm.py", line 177, in _get_bytes
groot-svc | status = unpack_from('<B', ret_data, 48)[0]
Versions
The text was updated successfully, but these errors were encountered: