weewx error message

58 views
Skip to first unread message

Chris Thompstone

unread,
Nov 23, 2019, 7:17:10 AM11/23/19
to weewx-user
Hi guys,
am running v3.5.0 with ultimeter 2100 system on a Raspberry Pi4

Weewx just stopped on me with this message:

Nov 23 06:11:34 weewx weewx[373]:     ****    File "/home/weewx/bin/weewx/engine.py", line 182, in run
Nov 23 06:11:34 weewx weewx[373]:     ****      for packet in self.console.genLoopPackets():
Nov 23 06:11:34 weewx weewx[373]:     ****    File "/home/weewx/bin/weewx/drivers/ultimeter.py", line 142, in genLoopPackets
Nov 23 06:11:34 weewx weewx[373]:     ****      self._augment_packet(packet)
Nov 23 06:11:34 weewx weewx[373]:     ****    File "/home/weewx/bin/weewx/drivers/ultimeter.py", line 148, in _augment_packet
Nov 23 06:11:34 weewx weewx[373]:     ****      packet['rain'] = packet['long_term_rain'] - self.last_rain
Nov 23 06:11:34 weewx weewx[373]:     ****  TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'
Nov 23 06:11:34 weewx weewx[373]:     ****  Exiting.
Nov 23 06:11:34 weewx systemd[1]: weewx.service: Main process exited, code=exited, status=1/FAILURE
Nov 23 06:11:34 weewx systemd[1]: weewx.service: Failed with result 'exit-code'.

Any ideas what's happening here and a possible fix?

Had been fine for about a week, so maybe this is just a once in awhile blip?
As in doesn't happen all the time?

Thanks
Chris

Thomas Keffer

unread,
Nov 23, 2019, 8:56:57 AM11/23/19
to weewx-user
Hi, Chris

This is a bug that was fixed in V3.7.0, released 11-March-2017. 

If you decide to upgrade, be sure to read the Upgrade Guide first. Not much has changed, but there are a few little details.

-tk

--
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/80da95fa-f0b4-4d82-8968-410c479372bb%40googlegroups.com.

Chris Thompstone

unread,
Nov 23, 2019, 12:22:59 PM11/23/19
to weewx-user
Thanks TK,
is there just a correction in the code I can quickly change, or is it more complicated than that?

In which case I ought to upgrade to the latest version....

Chris

vince

unread,
Nov 23, 2019, 12:43:23 PM11/23/19
to weewx-user
On Saturday, November 23, 2019 at 9:22:59 AM UTC-8, Chris Thompstone wrote:
is there just a correction in the code I can quickly change, or is it more complicated than that?

In which case I ought to upgrade to the latest version....



In general it's always wise to just update to current so you have a setup that matches 'some' known version of weewx, in case you need future support.....or at least to the current version of your specific station's driver.

Thomas Keffer

unread,
Nov 23, 2019, 12:45:14 PM11/23/19
to weewx-user
Just upgrade. It will probably be painless. If not, we are happy to help.

-tk

--
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.
Reply all
Reply to author
Forward
0 new messages