ntploggps error
dropkick23 at gmail.com
dropkick23 at gmail.com
Tue Jun 15 19:23:06 UTC 2021
This is really a gpsd error I think.
[root at tock ntpclients]# python ntploggps.py
# Time Device TDOP nSat
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
self.run()
File "/home/fred/src/ntpsec-1.2.1/ntpclients/ntploggps.py", line 158, in
run
if self.gpsd.read() == -1:
File "/usr/lib/python3.9/site-packages/gps/gps.py", line 285, in read
self.unpack(self.response)
File "/usr/lib/python3.9/site-packages/gps/client.py", line 199, in unpack
self.data = dictwrapper(json.loads(buf.strip(), encoding="ascii"))
File "/usr/lib/python3.9/json/__init__.py", line 359, in loads
return cls(**kw).decode(s)
TypeError: __init__() got an unexpected keyword argument 'encoding'
Fred
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/users/attachments/20210615/6b54d903/attachment.htm>
More information about the users
mailing list