couple crashes running beta4

62 views
Skip to first unread message

Vince Skahan

unread,
Dec 15, 2019, 12:16:34 PM12/15/19
to weewx-development
Two crashes....both b4 on a pi4 under python3

  • First was me messing with the network.  I replaced my network switch and the pi4 (wireless) lost connection to the WeatherFlow Hub (also wireless).   The error seems to look like I'm missing the python syslog module perhaps (????) although it 'is' there.  I can run python3 and do an 'import syslog' interactively.
  • Second was overnight, some kind of units thing (????) as rain started.

Just as a comparison, my 'wired' pi3b+ running 3.9.1 looks like it 'did' restart automagically but the processes stayed healthy throughout.  The network was down 17 minutes while I was fiddling with wires.  I grabbed the pertinent time periods from the wired pi just as a comparison of what 3.9.1 did

FWIW - I updated to beta 5 this morning on the pi4 just in case to see if the rain crash thing reoccurs.
no-wifi-NameError
rain-exception
pi3plus

Thomas Keffer

unread,
Dec 15, 2019, 2:32:04 PM12/15/19
to Vince Skahan, weewx-development
1. Looks like you forgot to "import syslog" in your file dbexample.py (which is not part of WeeWX).

2. The rain exception looks like it could be triggered if a rain event happens in the very first record inserted into a database. I'll add a check for that.

Thanks, Vince!

-tk




--
You received this message because you are subscribed to the Google Groups "weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-developm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-development/a34d5712-c1c2-40f2-8f2f-b334ff1a505f%40googlegroups.com.

Thomas Keffer

unread,
Dec 15, 2019, 6:46:42 PM12/15/19
to Vince Skahan, weewx-development
Fixed in commit 28f14e9c.

-tk

On Sun, Dec 15, 2019 at 12:46 PM Vince Skahan <vince...@gmail.com> wrote:
On Sun, Dec 15, 2019 at 11:32 AM Thomas Keffer <tke...@gmail.com> wrote:
1. Looks like you forgot to "import syslog" in your file dbexample.py (which is not part of WeeWX).


Indeed - I tried to cook up a minimalist extension to create a secondary db and missed including that it appears.  Thanks !!!

 
2. The rain exception looks like it could be triggered if a rain event happens in the very first record inserted into a database. I'll add a check for that.


That one surprises me a bit, as the db has existed for months and it's rained lots of times.   Maybe the WeatherFlow driver can put out unexpected output under some circumstances (???).  I'll poke around a little there.

Thanks for the help.

--
-----  vince...@gmail.com ----
Reply all
Reply to author
Forward
0 new messages