Weewx Died

76 views
Skip to first unread message

Mitchell Tuckness

unread,
Sep 30, 2021, 4:46:20 PM9/30/21
to weewx-user
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.

Mitchell Tuckness

unread,
Sep 30, 2021, 4:49:46 PM9/30/21
to weewx-user
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.

Tom Keffer

unread,
Sep 30, 2021, 5:03:34 PM9/30/21
to weewx-user
It looks like the aqi service forgot to take into account that outTemp could be None. Raise it as an issue with the author.

--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/f0e0ee5e-d06b-47f0-a68c-6f25f594ef5dn%40googlegroups.com.

purc...@maladomini.com

unread,
Sep 30, 2021, 5:10:50 PM9/30/21
to weewx...@googlegroups.com

Is there a way I can get it back up and stable for the mean time?

 

Thanks!

--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/VULn3F1DTuc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEC3FZ8yb51cun6Q3zokwKwXGYdb9xYc7WM%2BomKCN8oHmQ%40mail.gmail.com.

vince

unread,
Sep 30, 2021, 5:39:13 PM9/30/21
to weewx-user
On Thursday, September 30, 2021 at 2:10:50 PM UTC-7 Mitchell Tuckness wrote:

Is there a way I can get it back up and stable for the mean time?

 


You can either restart weewx every time the service crashes it out (a reboot is not necessary) or alternately you can disable the service completely until the author fixes the problem (at the cost of not having the AQI data of course).

purc...@maladomini.com

unread,
Sep 30, 2021, 5:49:07 PM9/30/21
to weewx...@googlegroups.com

Excellent, I found the service and was able to rem it out. Thanks guys, much appreciated! I figure most of this stuff out. Then it works for a long time and then something dies and by that time I have forgotten how I got it working in the first place 😊

 

From: weewx...@googlegroups.com <weewx...@googlegroups.com> On Behalf Of vince
Sent: Thursday, September 30, 2021 3:39 PM
To: weewx-user <weewx...@googlegroups.com>
Subject: Re: [weewx-user] Re: Weewx Died

 

 

On Thursday, September 30, 2021 at 2:10:50 PM UTC-7 Mitchell Tuckness wrote:

Is there a way I can get it back up and stable for the mean time?

 

 

You can either restart weewx every time the service crashes it out (a reboot is not necessary) or alternately you can disable the service completely until the author fixes the problem (at the cost of not having the AQI data of course).

 

--

You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/VULn3F1DTuc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.

Reply all
Reply to author
Forward
0 new messages