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
Hi there,
I'm running into this problem when using pygarmin and my old eTrex Venture HC on Ubuntu 24.04 with Python 3.12. Any pygarmin command terminates with the following error. Any help fixing this issue would be appreciated!
Traceback (most recent call last): File "/home/stefan/.venv/bin/pygarmin", line 8, in <module> sys.exit(main()) ^^^^^^ File "/home/stefan/.venv/lib/python3.12/site-packages/pygarmin/pygarmin.py", line 1520, in main app = Pygarmin(args.port) ^^^^^^^^^^^^^^^^^^^ File "/home/stefan/.venv/lib/python3.12/site-packages/pygarmin/pygarmin.py", line 236, in __init__ self.gps = self.get_gps(self.port) ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/stefan/.venv/lib/python3.12/site-packages/pygarmin/pygarmin.py", line 242, in get_gps return mod_garmin.Garmin(phys) ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/stefan/.venv/lib/python3.12/site-packages/pygarmin/garmin.py", line 144, in __init__ self.product_data = self.product_data_protocol.get_product_data() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/stefan/.venv/lib/python3.12/site-packages/pygarmin/protocol.py", line 174, in get_product_data packet = self.link.expect_packet(self.link.pid_product_data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/stefan/.venv/lib/python3.12/site-packages/pygarmin/protocol.py", line 52, in expect_packet raise mod_error.ProtocolError(f"Expected {pid:3}, got {packet['id']:3}") pygarmin.error.ProtocolError: 'Expected 255, got 2'
The text was updated successfully, but these errors were encountered:
Hi there,
I'm running into this problem when using pygarmin and my old eTrex Venture HC on Ubuntu 24.04 with Python 3.12. Any pygarmin command terminates with the following error. Any help fixing this issue would be appreciated!
Traceback (most recent call last): File "/home/stefan/.venv/bin/pygarmin", line 8, in <module> sys.exit(main()) ^^^^^^ File "/home/stefan/.venv/lib/python3.12/site-packages/pygarmin/pygarmin.py", line 1520, in main app = Pygarmin(args.port) ^^^^^^^^^^^^^^^^^^^ File "/home/stefan/.venv/lib/python3.12/site-packages/pygarmin/pygarmin.py", line 236, in __init__ self.gps = self.get_gps(self.port) ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/stefan/.venv/lib/python3.12/site-packages/pygarmin/pygarmin.py", line 242, in get_gps return mod_garmin.Garmin(phys) ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/stefan/.venv/lib/python3.12/site-packages/pygarmin/garmin.py", line 144, in __init__ self.product_data = self.product_data_protocol.get_product_data() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/stefan/.venv/lib/python3.12/site-packages/pygarmin/protocol.py", line 174, in get_product_data packet = self.link.expect_packet(self.link.pid_product_data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/stefan/.venv/lib/python3.12/site-packages/pygarmin/protocol.py", line 52, in expect_packet raise mod_error.ProtocolError(f"Expected {pid:3}, got {packet['id']:3}") pygarmin.error.ProtocolError: 'Expected 255, got 2'
The text was updated successfully, but these errors were encountered: