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
There's a similar problem when trying to use l-band spartn corrections:
$ ./venvs/pygps/bin/pygpsclient
Exception in thread Thread-4 (_read_thread):
Traceback (most recent call last):
File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner
self.run()
File "/usr/lib/python3.11/threading.py", line 975, in run
self._target(*self._args, **self._kwargs)
File "/home/drd/venvs/pygps/lib/python3.11/site-packages/pygpsclient/stream_handler.py", line 120, in _read_thread
inactivity_timeout = settings["inactivity_timeout"]
~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'inactivity_timeout'
It looks like the code that launches the reader thread doesn't provide an inactivity timeout in on_connect() in spartn_lband_frame.py
(That might have been on version 1.4.9 since I installed an older version to get around the first problem.)
The text was updated successfully, but these errors were encountered:
semuadmin
changed the title
There's a similar problem when trying to use l-band spartn corrections:
KeyError: 'inactivity_timeout' when trying to use l-band spartn corrections:
Feb 28, 2024
There's a similar problem when trying to use l-band spartn corrections:
$ ./venvs/pygps/bin/pygpsclient
Exception in thread Thread-4 (_read_thread):
Traceback (most recent call last):
File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner
self.run()
File "/usr/lib/python3.11/threading.py", line 975, in run
self._target(*self._args, **self._kwargs)
File "/home/drd/venvs/pygps/lib/python3.11/site-packages/pygpsclient/stream_handler.py", line 120, in _read_thread
inactivity_timeout = settings["inactivity_timeout"]
~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'inactivity_timeout'
It looks like the code that launches the reader thread doesn't provide an inactivity timeout in on_connect() in spartn_lband_frame.py
(That might have been on version 1.4.9 since I installed an older version to get around the first problem.)
Originally posted by @divenal in #118 (comment)
The text was updated successfully, but these errors were encountered: