Weewx 4.5.1 will crash with gw1000 0.4.1

63 views
Skip to first unread message

T Kolb

unread,
Oct 21, 2021, 7:58:57 AM10/21/21
to weewx-user
Hello all,

I just upgraded my hardware to a Froggit DP1500 after a hardware defect on an old FineOffset WH1080 running for over ten years without problems.

I installed the gw1000 driver as described on https://github.com/gjr80/weewx-gw1000.
The driver test was just running fine, but when starting weewx it was crashing after a short time.

So I decided to do an upgrade from raspian stretch to buster along with upgrading to python3 running on an old Raspberry Pi Model B Rev 2.

Unfortunately weewx is still crashing after reading the actual values from the hardware.
Attached you will find the syslog as well as the weewx configuration.

Any help would be greatly appreciated!

Kind regards
Tobias
211021_weewx_syslog.txt
211021_weewx.conf

gjr80

unread,
Oct 21, 2021, 8:29:40 AM10/21/21
to weewx-user
Hi,

I’m not sure what you have done, but you are using the GW1000 driver as both a driver and a service on the same WeeWX instance. At the very least that is an untested configuration and I suspect it is the source of the error. I suggest you disable the GW1000 service, to do this edit weewx.conf and locate the [Engine] [[Services]] stanza. Delete the user.gw1000.Gw1000Service entry from the data_services setting and replace it with a comma (,). It should look something like:

[Engine]
# The following section specifies which services should be run and in what order.
    [[Services]] 
        prep_services = weewx.engine.StdTimeSynch 
        data_services = , 
        process_services = weewx.engine.StdConvert, weewx.engine.StdCalibrate, weewx.engine.StdQC, weewx.wxservices.StdWXCalculate

While you are in weewx.conf set debug back to 0 or 1, no need for debug=3 in this case.

Save weewx.conf and restart WeeWX.

Gary

T Kolb

unread,
Oct 21, 2021, 9:04:24 AM10/21/21
to weewx-user
Hello Gary,

thank you for your fast reply!
Your hint did the trick! I removed gw1000 from the service stanza and now I am up and running again.

Thank you very much!

Kind regards
Tobias
Reply all
Reply to author
Forward
0 new messages