After you've done that you may even want to rebuild your daily tables since that's where the data is coming from.
sudo wee_database --rebuild-daily On Sunday, November 25, 2018 at 4:38:52 PM UTC-5, Pat wrote: > > I wonder if you have a null or a "" in your outTemp observations in the > archive table in the database? Be sure to have a backup of your database > and check the database for null strings using this from the utilities > guide <http://www.weewx.com/docs/utilities.htm#wee_database_utility>: > > sudo wee_database --check-strings > > And then try > > sudo wee_database --fix-strings > > > > > On Sunday, November 25, 2018 at 11:02:18 AM UTC-5, Francesco Scaramella > wrote: >> >> My station carries the database from 2015. Changed the software several >> times to follow the various evolutions, but it is very large.... >> >> >> Il giorno domenica 25 novembre 2018 14:46:17 UTC+1, Pat ha scritto: >>> >>> Hi Francesco. To help me troubleshoot, how many entries are in your >>> database? Is it a new or old? >>> >>> Nobody testing has had this problem, and I want to try to replicate this >>> problem. >>> >>> >>> On Sunday, November 25, 2018 at 5:08:09 AM UTC-5, Francesco Scaramella >>> wrote: >>>> >>>> Hi!! I found to use this templete to publish the data on my site for my >>>> station, but I have problems, (certainly for my inability). During the >>>> various processing that performs WEEWX, at the time of pause Belchertown >>>> error tally, then I have a partial processing of the output on the web. >>>> What's wrong? What I forgot to set?? Thanks for the help you'll give me! >>>> >>>> I am attaching the error log. >>>> >>>> >>>> Nov 24 23:05:29 CaveStationW weewx[19892]: copygenerator: copied 0 >>>> files to /var/www/html/weewx/belchertown >>>> Nov 24 23:05:29 CaveStationW weewx[19892]: Belchertown Extension: >>>> version 0.8rc2 >>>> Nov 24 23:05:29 CaveStationW weewx[19892]: reportengine: Caught >>>> unrecoverable exception in generator >>>> weewx.cheetahgenerator.CheetahGenerator >>>> Nov 24 23:05:29 CaveStationW weewx[19892]: **** a float is >>>> required >>>> Nov 24 23:05:29 CaveStationW weewx[19892]: **** Traceback >>>> (most recent call last): >>>> Nov 24 23:05:29 CaveStationW weewx[19892]: **** File >>>> "/usr/share/weewx/weewx/reportengine.py", line 239, in run >>>> Nov 24 23:05:29 CaveStationW weewx[19892]: **** obj.start() >>>> Nov 24 23:05:29 CaveStationW weewx[19892]: **** File >>>> "/usr/share/weewx/weewx/reportengine.py", line 273, in start >>>> Nov 24 23:05:30 CaveStationW weewx[19892]: **** self.run() >>>> Nov 24 23:05:30 CaveStationW weewx[19892]: **** File >>>> "/usr/share/weewx/weewx/cheetahgenerator.py", line 158, in run >>>> Nov 24 23:05:30 CaveStationW weewx[19892]: **** ngen = >>>> self.generate(gen_dict[section_name], self.gen_ts) >>>> Nov 24 23:05:30 CaveStationW weewx[19892]: **** File >>>> "/usr/share/weewx/weewx/cheetahgenerator.py", line 232, in generate >>>> Nov 24 23:05:30 CaveStationW weewx[19892]: **** ngen += >>>> self.generate(section[subsection], gen_ts) >>>> Nov 24 23:05:30 CaveStationW weewx[19892]: **** File >>>> "/usr/share/weewx/weewx/cheetahgenerator.py", line 232, in generate >>>> Nov 24 23:05:30 CaveStationW weewx[19892]: **** ngen += >>>> self.generate(section[subsection], gen_ts) >>>> Nov 24 23:05:30 CaveStationW weewx[19892]: **** File >>>> "/usr/share/weewx/weewx/cheetahgenerator.py", line 320, in generate >>>> Nov 24 23:05:30 CaveStationW weewx[19892]: **** >>>> default_binding) >>>> Nov 24 23:05:30 CaveStationW weewx[19892]: **** File >>>> "/usr/share/weewx/weewx/cheetahgenerator.py", line 372, in _getSearchList >>>> Nov 24 23:05:30 CaveStationW weewx[19892]: **** searchList >>>> += obj.get_extension_list(timespan, db_lookup) >>>> Nov 24 23:05:30 CaveStationW weewx[19892]: **** File >>>> "/usr/share/weewx/user/belchertown.py", line 180, in get_extension_list >>>> Nov 24 23:05:30 CaveStationW weewx[19892]: **** >>>> at_outTemp_min_range_max = round( >>>> self.generator.converter.convert(at_outTemp_min_range_max_tuple)[0], >>>> outTemp_round ) >>>> Nov 24 23:05:30 CaveStationW weewx[19892]: **** TypeError: a >>>> float is required >>>> Nov 24 23:05:30 CaveStationW weewx[19892]: **** Generator >>>> terminated >>>> Nov 24 23:05:30 CaveStationW weewx[19892]: copygenerator: copied 22 >>>> files to /var/www/html/weewx/belchertown >>>> ^Cpi@CaveStationW:~ $ >>>> >>>> -- 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]. For more options, visit https://groups.google.com/d/optout.
