On 16/05/2021 15:52, Mark Fraser wrote:
> Any idea what could be causing this?
> May 16 13:00:33 Weather pywws-livelog[25003]: File
> "/usr/local/lib/python3.7/dist-packages/pywws/logdata.py", line 123, in
> check_fixed_block
> May 16 13:00:33 Weather pywws-livelog[25003]: self.fixed_block['magic_1'])
> May 16 13:00:33 Weather pywws-livelog[25003]: Message: "Unrecognised
> 'magic number' %02x %02x"
> May 16 13:00:33 Weather pywws-livelog[25003]: Arguments: (118, None)
pywws is attempting to tell you that the first two bytes of the "fixed
block" data are not the usual values. This usually indicates some
incorrect memory writing in the weather station, which might be a sign
of a developing fault.
Unfortunately one of the values is being decoded as "None" (stored in
the station as all 1s) so the message formatting doesn't work and causes
the stack trace you're getting.
I really should have foreseen this problem, but we've gone a long time
before anyone reported it. I'll sort it out before the next release. In
the meantime, doing a power off reset of your station might fix it.
--
Jim Easterbrook <
http://www.jim-easterbrook.me.uk/>