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. On Mon, Jan 10, 2022 at 3:11 AM david_h <[email protected]> wrote: > 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. > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/fbf06d8f-2589-44a7-ba86-a9129a240326n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/fbf06d8f-2589-44a7-ba86-a9129a240326n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEDFv54Nif6VhchE0FeQAXZSqjm2ZSs2sydU%3DZR0Eo01Og%40mail.gmail.com.
