Hi all,
System has been working for months and it failed this morning with this....
Dec 24 09:10:25 metoffice weewx[101332] CRITICAL __main__: Caught
unrecoverable exception:
Dec 24 09:10:25 metoffice weewx[101332] CRITICAL __main__: ****
unsupported operand type(s) for -: 'NoneType' and 'float'
Dec 24 09:10:25 metoffice weewx[101332] CRITICAL __main__: ****
Traceback (most recent call last):
Dec 24 09:10:25 metoffice weewx[101332] CRITICAL __main__: **** File
"/usr/share/weewx/weewx/engine.py", line 214, in run
Dec 24 09:10:25 metoffice weewx[101332] CRITICAL __main__: ****
self.dispatchEvent(weewx.Event(weewx.CHECK_LOOP, packet=packet))
Dec 24 09:10:25 metoffice weewx[101332] CRITICAL __main__: **** File
"/usr/share/weewx/weewx/engine.py", line 245, in dispatchEvent
Dec 24 09:10:25 metoffice weewx[101332] CRITICAL __main__: ****
callback(event)
Dec 24 09:10:25 metoffice weewx[101332] CRITICAL __main__: **** File
"/usr/share/weewx/weewx/engine.py", line 624, in check_loop
Dec 24 09:10:25 metoffice weewx[101332] CRITICAL __main__: ****
raise BreakLoop
Dec 24 09:10:25 metoffice weewx[101332] CRITICAL __main__: ****
weewx.engine.BreakLoop
Dec 24 09:10:25 metoffice weewx[101332] CRITICAL __main__: ****
Dec 24 09:10:25 metoffice weewx[101332] CRITICAL __main__: **** During
handling of the above exception, another exception occurred:
Dec 24 09:10:25 metoffice weewx[101332] CRITICAL __main__: ****
Dec 24 09:10:25 metoffice weewx[101332] CRITICAL __main__: ****
Traceback (most recent call last):
Dec 24 09:10:25 metoffice weewx[101332] CRITICAL __main__: **** File
"/usr/share/weewx/weewxd", line 157, in main
Dec 24 09:10:25 metoffice weewx[101332] CRITICAL __main__: ****
engine.run()
Dec 24 09:10:25 metoffice weewx[101332] CRITICAL __main__: **** File
"/usr/share/weewx/weewx/engine.py", line 221, in run
Dec 24 09:10:25 metoffice weewx[101332] CRITICAL __main__: ****
self.dispatchEvent(weewx.Event(weewx.POST_LOOP))
Dec 24 09:10:25 metoffice weewx[101332] CRITICAL __main__: **** File
"/usr/share/weewx/weewx/engine.py", line 245, in dispatchEvent
Dec 24 09:10:25 metoffice weewx[101332] CRITICAL __main__: ****
callback(event)
Dec 24 09:10:25 metoffice weewx[101332] CRITICAL __main__: **** File
"/usr/share/weewx/weewx/engine.py", line 634, in post_loop
Dec 24 09:10:25 metoffice weewx[101332] CRITICAL __main__: ****
self._software_catchup()
Dec 24 09:10:25 metoffice weewx[101332] CRITICAL __main__: **** File
"/usr/share/weewx/weewx/engine.py", line 705, in _software_catchup
Dec 24 09:10:25 metoffice weewx[101332] CRITICAL __main__: ****
self.engine.dispatchEvent(weewx.Event(weewx.NEW_ARCHIVE_RECORD,
Dec 24 09:10:25 metoffice weewx[101332] CRITICAL __main__: **** File
"/usr/share/weewx/weewx/engine.py", line 245, in dispatchEvent
Dec 24 09:10:25 metoffice weewx[101332] CRITICAL __main__: ****
callback(event)
Dec 24 09:10:25 metoffice weewx[101332] CRITICAL __main__: **** File
"/usr/share/weewx/user/aqi/service.py", line 311, in new_archive_record
Dec 24 09:10:25 metoffice weewx[101332] CRITICAL __main__: ****
temp_kelvin = weewx.units.CtoK(weewx.units.FtoC(row['outTemp']))
Dec 24 09:10:25 metoffice weewx[101332] CRITICAL __main__: **** File
"/usr/share/weewx/weewx/units.py", line 44, in FtoC
Dec 24 09:10:25 metoffice weewx[101332] CRITICAL __main__: ****
return (x - 32.0) * 5.0 / 9.0
Dec 24 09:10:25 metoffice weewx[101332] CRITICAL __main__: ****
TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'
Dec 24 09:10:25 metoffice weewx[101332] CRITICAL __main__: **** Exiting.
System config thus...
Dec 24 09:09:52 metoffice weewx[101329] INFO __main__: Initializing
weewx version 4.5.1
Dec 24 09:09:52 metoffice weewx[101329] INFO __main__: Using Python
3.8.10 (default, Nov 26 2021, 20:14:08) #012[GCC 9.3.0]
Dec 24 09:09:52 metoffice weewx[101329] INFO __main__: Platform
Linux-5.4.0-91-generic-x86_64-with-glibc2.29
Dec 24 09:09:52 metoffice weewx[101329] INFO __main__: Locale is 'C.UTF-8'
Dec 24 09:09:52 metoffice weewx[101329] INFO __main__: PID file is
/var/run/weewx.pid
Dec 24 09:09:53 metoffice weewx[101315]: ...done.
Any ideas ?
thanks
Tim
--
You received this message because you are subscribed to the Google Groups
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/118a883b-ae38-8ebd-0ab6-89c5ee77472b%40skybase.net.