Issues after weather station downtime

96 views
Skip to first unread message

david_h

unread,
Jan 10, 2022, 6:11:54 AM1/10/22
to weewx-user
Hi  - I had a problem with my Davis Vantage Pro2 where it was not transmitting data for about 2 weeks.  After some maintenance it has started working again today, but when I get weewx going again, although the current weather readings are fine on my weather station website, the reports and graphs etc are all as at the date of the weather station failure.  I am getting the following errors from weewx in my Rpi syslog file:

DEBUG weewx.manager: Daily summary version is 4.0
Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine: Caught unrecoverable exception in generator 'weewx.cheetahgenerator.CheetahGenerator'
Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine:         ****  a float is required
Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine:         ****  Traceback (most recent call last):
Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/reportengine.py", line 196, in run
Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine:         ****      obj.start()
Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/reportengine.py", line 281, in start
Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine:         ****      self.run()
Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 152, in run
Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine:         ****      ngen = self.generate(gen_dict[section_name], self.gen_ts)
Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 222, in generate
Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine:         ****      ngen += self.generate(section[subsection], gen_ts)
Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 222, in generate
Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine:         ****      ngen += self.generate(section[subsection], gen_ts)
Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 311, in generate
Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine:         ****      default_binding)
Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 387, in _getSearchList
Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine:         ****      searchList += obj.get_extension_list(timespan, db_lookup)
Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/user/belchertown.py", line 160, in get_extension_list
Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine:         ****      year_outTemp_min_range_max = round( self.generator.converter.convert(year_outTemp_min_range_max_tuple)[0], outTemp_round )
Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine:         ****  TypeError: a float is required
Jan 10 11:00:30 raspberrypi weewx[1103] ERROR weewx.reportengine:         ****  Generator terminated
Jan 10 11:00:30 raspberrypi weewx[1103] INFO weewx.reportengine: Copied 1 files to /var/www/html/weewx/belchertown


I am using the belchertown skin.

Any ideas as to how I correct this please?

Many thanks

David.

Tom Keffer

unread,
Jan 10, 2022, 7:05:30 AM1/10/22
to weewx-user
Most likely this is a problem in the Belchertown skin: it forgot that values can sometimes be Python None. You'll have to ask the skin author.

There may be other problems (such as a corrupt logger), but the log excerpt is too short to tell.


--
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/fbf06d8f-2589-44a7-ba86-a9129a240326n%40googlegroups.com.

david_h

unread,
Jan 16, 2022, 6:14:17 AM1/16/22
to weewx-user
Hi  - can anyone with familiarity with the excellent belchertown skin help with this error please?  The symptom is that the daily summaries, NOAA reports, forecasts etc are all stuck on 27 December - which is when the weather station stopped transmitting data.  The weather station is working again now, after replacing the ISS board etc, but daily summaries are all wrong.   I am using an old version of the belchertown skin that hasn't been updated for a while, but it was all working fine prior to the malfunction with my weather station transmitter. 

Any help that anyone can give would be much appreciated.

Thanks

David.

Reply all
Reply to author
Forward
0 new messages