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 have managed (*) to correctly install pygbx on Ubuntu 22.04LTS and use libraries with spyder python. Dependency and dependency's dependencies were also installed (*) correctly.
(*) python-lzo by pip and its dependencies by apt
command g=Gbx('file.gbx') where file.gbx is a autosaved replay TM2020 file, produces this console output:
ERROR:root:unpack requires a buffer of 4 bytes
ERROR:root:unpack requires a buffer of 4 bytes
ERROR:root:unpack requires a buffer of 4 bytes
ERROR:root:unpack requires a buffer of 4 bytes (above errors caused by line 105 in gbx.py)
ERROR:root:unpack requires a buffer of 4294967295 bytes
ERROR:root:Failed to parse map data: 'int' object has no attribute 'decode'
ERROR:root:unpack requires a buffer of 4 bytes
ERROR:root:unpack requires a buffer of 4 bytes
ERROR:root:unpack requires a buffer of 4 bytes (above errors caused by line 136 in gbx.py)
However, continuing with commands: replay = g.get_class_by_id(GbxType.REPLAY_RECORD) print(replay.nickname)
then, the result is the expected one.
Any idea where these errors come from? How can I eliminate them?
The text was updated successfully, but these errors were encountered:
I have managed (*) to correctly install pygbx on Ubuntu 22.04LTS and use libraries with spyder python. Dependency and dependency's dependencies were also installed (*) correctly.
(*) python-lzo by pip and its dependencies by apt
command g=Gbx('file.gbx')
where file.gbx is a autosaved replay TM2020 file, produces this console output:ERROR:root:unpack requires a buffer of 4 bytes
ERROR:root:unpack requires a buffer of 4 bytes
ERROR:root:unpack requires a buffer of 4 bytes
ERROR:root:unpack requires a buffer of 4 bytes
(above errors caused by line 105 in gbx.py)
ERROR:root:unpack requires a buffer of 4294967295 bytes
ERROR:root:Failed to parse map data: 'int' object has no attribute 'decode'
ERROR:root:unpack requires a buffer of 4 bytes
ERROR:root:unpack requires a buffer of 4 bytes
ERROR:root:unpack requires a buffer of 4 bytes
(above errors caused by line 136 in gbx.py)
However, continuing with commands:
replay = g.get_class_by_id(GbxType.REPLAY_RECORD)
print(replay.nickname)
then, the result is the expected one.
Any idea where these errors come from? How can I eliminate them?
The text was updated successfully, but these errors were encountered: