If I reboot the system, it seems to work, then after a time, stops all over 
again, requiring another reboot. When it is working, MQTT works, etc.

On Thursday, September 30, 2021 at 2:46:20 PM UTC-6 Mitchell Tuckness wrote:

> Hi All, I am hoping I could get some help. Weewx seems to have died this 
> morning and I am not getting any data to the syslog file. I did a CAT of 
> the file and I see this, but I am not sure what it is telling me.
>
> Sep 30 09:21:26 weewx-pi weewx[866] DEBUG weewx.restx: Shut down 
> WeatherCloud thread.
> Sep 30 09:21:26 weewx-pi weewx[866] DEBUG weewx.restx: Shut down OWM 
> thread.
> Sep 30 09:21:26 weewx-pi weewx[866] INFO weewx.restx: MQTT: Published 
> record 2021-09-30 09:21:25 MDT (1633015285)
> Sep 30 09:21:26 weewx-pi weewx[866] DEBUG weewx.restx: Shut down MQTT 
> thread.
> Sep 30 09:21:26 weewx-pi weewx[866] DEBUG weewx.restx: Shut down AWEKAS 
> thread.
> Sep 30 09:21:26 weewx-pi weewx[866] DEBUG weewx.restx: Shut down WOW 
> thread.
> Sep 30 09:21:26 weewx-pi weewx[866] DEBUG weewx.restx: Shut down CWOP 
> thread.
> Sep 30 09:21:26 weewx-pi weewx[866] DEBUG weewx.restx: Shut down 
> PWSWeather thread.
> Sep 30 09:21:26 weewx-pi weewx[866] INFO weewx.restx: Wunderground-RF: 
> Published record 2021-09-30 09:21:25 MDT (163301                            
>                               )
> Sep 30 09:21:26 weewx-pi weewx[866] DEBUG weewx.restx: Shut down 
> Wunderground-RF thread.
> Sep 30 09:21:26 weewx-pi weewx[866] DEBUG weewx.restx: Shut down 
> StationRegistry thread.
> Sep 30 09:21:27 weewx-pi weewx[866] INFO user.gw1000: Gw1000Collector 
> thread has been terminated
> Sep 30 09:21:27 weewx-pi weewx[866] CRITICAL __main__: Caught 
> unrecoverable exception:
> Sep 30 09:21:27 weewx-pi weewx[866] CRITICAL __main__:     ****  
> unsupported operand type(s) for -: 'NoneType' and 'flo                      
>                                     at'
> Sep 30 09:21:27 weewx-pi weewx[866] CRITICAL __main__:     ****  Traceback 
> (most recent call last):
> Sep 30 09:21:27 weewx-pi weewx[866] CRITICAL __main__:     ****    File 
> "/home/weewx/bin/weewx/engine.py", line 214, in                            
>                                run
> Sep 30 09:21:27 weewx-pi weewx[866] CRITICAL __main__:     ****      
> self.dispatchEvent(weewx.Event(weewx.CHECK_LOOP, p                          
>                                 acket=packet))
> Sep 30 09:21:27 weewx-pi weewx[866] CRITICAL __main__:     ****    File 
> "/home/weewx/bin/weewx/engine.py", line 245, in                            
>                                dispatchEvent
> Sep 30 09:21:27 weewx-pi weewx[866] CRITICAL __main__:     ****      
> callback(event)
> Sep 30 09:21:27 weewx-pi weewx[866] CRITICAL __main__:     ****    File 
> "/home/weewx/bin/weewx/engine.py", line 624, in                            
>                                check_loop
> Sep 30 09:21:27 weewx-pi weewx[866] CRITICAL __main__:     ****      raise 
> BreakLoop
> Sep 30 09:21:27 weewx-pi weewx[866] CRITICAL __main__:     ****  
> weewx.engine.BreakLoop
> Sep 30 09:21:27 weewx-pi weewx[866] CRITICAL __main__:     ****
> Sep 30 09:21:27 weewx-pi weewx[866] CRITICAL __main__:     ****  During 
> handling of the above exception, another except                            
>                               ion occurred:
> Sep 30 09:21:27 weewx-pi weewx[866] CRITICAL __main__:     ****
> Sep 30 09:21:27 weewx-pi weewx[866] CRITICAL __main__:     ****  Traceback 
> (most recent call last):
> Sep 30 09:21:27 weewx-pi weewx[866] CRITICAL __main__:     ****    File 
> "/home/weewx/bin/weewx/engine.py", line 640, in                            
>                                post_loop
> Sep 30 09:21:27 weewx-pi weewx[866] CRITICAL __main__:     ****      
> self._catchup(self.engine.console.genArchiveRecord                          
>                                 s)
> Sep 30 09:21:27 weewx-pi weewx[866] CRITICAL __main__:     ****    File 
> "/home/weewx/bin/weewx/engine.py", line 687, in                            
>                                _catchup
> Sep 30 09:21:27 weewx-pi weewx[866] CRITICAL __main__:     ****      for 
> record in generator(lastgood_ts):
> Sep 30 09:21:27 weewx-pi weewx[866] CRITICAL __main__:     ****    File 
> "/home/weewx/bin/weewx/drivers/__init__.py", li                            
>                               ne 30, in genArchiveRecords
> Sep 30 09:21:27 weewx-pi weewx[866] CRITICAL __main__:     ****      raise 
> NotImplementedError("Method 'genArchiveRecor                                
>                           ds' not implemented")
> Sep 30 09:21:27 weewx-pi weewx[866] CRITICAL __main__:     ****  
> NotImplementedError: Method 'genArchiveRecords' not im                      
>                                     plemented
> Sep 30 09:21:27 weewx-pi weewx[866] CRITICAL __main__:     ****
> Sep 30 09:21:27 weewx-pi weewx[866] CRITICAL __main__:     ****  During 
> handling of the above exception, another except                            
>                               ion occurred:
> Sep 30 09:21:27 weewx-pi weewx[866] CRITICAL __main__:     ****
> Sep 30 09:21:27 weewx-pi weewx[866] CRITICAL __main__:     ****  Traceback 
> (most recent call last):
> Sep 30 09:21:27 weewx-pi weewx[866] CRITICAL __main__:     ****    File 
> "/home/weewx/bin/weewxd", line 157, in main
> Sep 30 09:21:27 weewx-pi weewx[866] CRITICAL __main__:     ****      
> engine.run()
> Sep 30 09:21:27 weewx-pi weewx[866] CRITICAL __main__:     ****    File 
> "/home/weewx/bin/weewx/engine.py", line 221, in                            
>                                run
> Sep 30 09:21:27 weewx-pi weewx[866] CRITICAL __main__:     ****      
> self.dispatchEvent(weewx.Event(weewx.POST_LOOP))
> Sep 30 09:21:27 weewx-pi weewx[866] CRITICAL __main__:     ****    File 
> "/home/weewx/bin/weewx/engine.py", line 245, in                            
>                                dispatchEvent
> Sep 30 09:21:27 weewx-pi weewx[866] CRITICAL __main__:     ****      
> callback(event)
> Sep 30 09:21:27 weewx-pi weewx[866] CRITICAL __main__:     ****    File 
> "/home/weewx/bin/weewx/engine.py", line 642, in                            
>                                post_loop
> Sep 30 09:21:27 weewx-pi weewx[866] CRITICAL __main__:     ****      
> self._software_catchup()
> Sep 30 09:21:27 weewx-pi weewx[866] CRITICAL __main__:     ****    File 
> "/home/weewx/bin/weewx/engine.py", line 705, in                            
>                                _software_catchup
> Sep 30 09:21:27 weewx-pi weewx[866] CRITICAL __main__:     ****      
> self.engine.dispatchEvent(weewx.Event(weewx.NEW_AR                          
>                                 CHIVE_RECORD,
> Sep 30 09:21:27 weewx-pi weewx[866] CRITICAL __main__:     ****    File 
> "/home/weewx/bin/weewx/engine.py", line 245, in                            
>                                dispatchEvent
> Sep 30 09:21:27 weewx-pi weewx[866] CRITICAL __main__:     ****      
> callback(event)
> Sep 30 09:21:27 weewx-pi weewx[866] CRITICAL __main__:     ****    File 
> "/home/weewx/bin/user/aqi/service.py", line 311                            
>                               , in new_archive_record
> Sep 30 09:21:27 weewx-pi weewx[866] CRITICAL __main__:     ****      
> temp_kelvin = weewx.units.CtoK(weewx.units.FtoC(ro                          
>                                 w['outTemp']))
> Sep 30 09:21:27 weewx-pi weewx[866] CRITICAL __main__:     ****    File 
> "/home/weewx/bin/weewx/units.py", line 44, in F                            
>                               toC
> Sep 30 09:21:27 weewx-pi weewx[866] CRITICAL __main__:     ****      
> return (x - 32.0) * 5.0 / 9.0
> Sep 30 09:21:27 weewx-pi weewx[866] CRITICAL __main__:     ****  
> TypeError: unsupported operand type(s) for -: 'NoneTyp                      
>                                     e' and 'float'
> Sep 30 09:21:27 weewx-pi weewx[866] CRITICAL __main__:     ****  Exiting.
> Sep 30 09:34:23 weewx-pi systemd[1]: Starting Cleanup of Temporary 
> Directories...
> Sep 30 09:34:24 weewx-pi systemd[1]: systemd-tmpfiles-clean.service: 
> Succeeded.
> Sep 30 09:34:24 weewx-pi systemd[1]: Finished Cleanup of Temporary 
> Directories.
> Sep 30 09:56:23 weewx-pi systemd[1]: Starting Ubuntu Advantage APT and 
> MOTD Messages...
> Sep 30 09:56:25 weewx-pi systemd[1]: ua-messaging.service: Succeeded.
> Sep 30 09:56:25 weewx-pi systemd[1]: Finished Ubuntu Advantage APT and 
> MOTD Messages.
> Sep 30 10:17:02 weewx-pi CRON[1947]: (root) CMD (   cd / && run-parts 
> --report /etc/cron.hourly)
> Sep 30 10:20:42 weewx-pi kernel: [ 3681.748556] perf: interrupt took too 
> long (2512 > 2500), lowering kernel.perf_event                              
>                             _max_sample_rate to 79500
> Sep 30 10:45:46 weewx-pi kernel: [ 5186.113343] perf: interrupt took too 
> long (3141 > 3140), lowering kernel.perf_event                              
>                             _max_sample_rate to 63500
> Sep 30 11:17:01 weewx-pi CRON[1960]: (root) CMD (   cd / && run-parts 
> --report /etc/cron.hourly)
> Sep 30 11:20:17 weewx-pi kernel: [ 7256.884013] perf: interrupt took too 
> long (3941 > 3926), lowering kernel.perf_event                              
>                             _max_sample_rate to 50750
> Sep 30 12:12:29 weewx-pi kernel: [10388.950143] perf: interrupt took too 
> long (4929 > 4926), lowering kernel.perf_event                              
>                             _max_sample_rate to 40500
> Sep 30 12:17:01 weewx-pi CRON[1970]: (root) CMD (   cd / && run-parts 
> --report /etc/cron.hourly)
> Sep 30 13:17:01 weewx-pi CRON[1983]: (root) CMD (   cd / && run-parts 
> --report /etc/cron.hourly)
> Sep 30 13:35:21 weewx-pi kernel: [15360.256568] perf: interrupt took too 
> long (6173 > 6161), lowering kernel.perf_event                              
>                             _max_sample_rate to 32250
> Sep 30 14:17:01 weewx-pi CRON[1997]: (root) CMD (   cd / && run-parts 
> --report /etc/cron.hourly)
> Sep 30 14:18:02 weewx-pi systemd[1]: Created slice User Slice of UID 1000.
> Sep 30 14:18:02 weewx-pi systemd[1]: Starting User Runtime Directory 
> /run/user/1000...
> Sep 30 14:18:02 weewx-pi systemd[1]: Finished User Runtime Directory 
> /run/user/1000.
> Sep 30 14:18:02 weewx-pi systemd[1]: Starting User Manager for UID 1000...
> Sep 30 14:18:03 weewx-pi systemd[2015]: Reached target Paths.
> Sep 30 14:18:03 weewx-pi systemd[2015]: Reached target Timers.
> Sep 30 14:18:03 weewx-pi systemd[2015]: Starting D-Bus User Message Bus 
> Socket.
> Sep 30 14:18:03 weewx-pi systemd[2015]: Listening on GnuPG network 
> certificate management daemon.
> Sep 30 14:18:03 weewx-pi systemd[2015]: Listening on GnuPG cryptographic 
> agent and passphrase cache (access for web bro                              
>                             wsers).
> Sep 30 14:18:03 weewx-pi systemd[2015]: Listening on GnuPG cryptographic 
> agent and passphrase cache (restricted).
> Sep 30 14:18:03 weewx-pi systemd[2015]: Listening on GnuPG cryptographic 
> agent (ssh-agent emulation).
> Sep 30 14:18:03 weewx-pi systemd[2015]: Listening on GnuPG cryptographic 
> agent and passphrase cache.
> Sep 30 14:18:03 weewx-pi systemd[2015]: Listening on debconf communication 
> socket.
> Sep 30 14:18:03 weewx-pi systemd[2015]: Listening on REST API socket for 
> snapd user session agent.
> Sep 30 14:18:03 weewx-pi systemd[2015]: Listening on D-Bus User Message 
> Bus Socket.
> Sep 30 14:18:03 weewx-pi systemd[2015]: Reached target Sockets.
> Sep 30 14:18:03 weewx-pi systemd[2015]: Reached target Basic System.
> Sep 30 14:18:03 weewx-pi systemd[2015]: Reached target Main User Target.
> Sep 30 14:18:03 weewx-pi systemd[2015]: Startup finished in 378ms.
>
>

-- 
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/f0e0ee5e-d06b-47f0-a68c-6f25f594ef5dn%40googlegroups.com.

Reply via email to