On Sunday, January 8, 2017 at 7:01:37 PM UTC-5, gjr80 wrote: > > Thanks, the problem was to do with the small amount of data in your > archive but the issue was a misplaced line of code on my behalf. I will go > through the process of releasing v1.0.3 but in the mean time I have placed > a copy of the updated, offending file on the weewx-WD bitbucket downloads > page <https://bitbucket.org/ozgreg/weewx-wd/downloads>. The fix is simple > just: > - download wdSearchX3.py from the downloads page > - move aside wdSearchX3.py on your system (it will likely be in > /home/weewx/bin/user or /usr/share/weewx/user depending on your install) > - copy the doanloaded wdSearchX3.py in its place > - stop/start weewx > > Check you log but that should fix the error you are experiencing. I will > leave wdSearchX3.py up for a few days, at least until I put up v1.0.3. > > Gary > > On Monday, 9 January 2017 06:25:30 UTC+10, Dan'l B wrote: >> >> On Sunday, January 8, 2017 at 6:42:04 AM UTC-5, gjr80 wrote: >>> >>> Hi, >>> >>> Looks like the wdMonthStats SLE is having a hissy fit over your rain >>> data. That SLE calculates Jan, Feb...Nov, Dec max/min/avg/total >>> temps/rainfall (as applicable) over all your data. In the past it has been >>> pretty temperamental when it comes to small amounts of data ie less than 1 >>> full month or gaps of at least a full month in your data. I thought I had >>> fixed them but perhaps not. >>> >>> A couple of questions. Does that error appear consistently or >>> occassionally? What archive period are you using and could you provide a >>> log extract covering a full archive period ie archive record being saved to >>> archive record being saved (I see you have debug = 1 set, leave it set >>> for the log extract). >>> >>> I found what looks like your exfoliation page and it seems to me you >>> only have rain data from part of Dec 2016 and Jan 2017? It would help to >>> know the timestamps of the first and last archive records in you database. >>> Could I ask you to run a query on your database (assuming a setup.py >>> install using sqlite): >>> >>> $ sqlite3 /home/weewx/archive/weewx.sdb >>> sqlite> SELECT min(dateTime), max(dateTime), count(dateTime) FROM >>> archive; >>> sqlite> .quit >>> >>> that should display a couple of timestamps and a count of your archive >>> records, those are what I am after. If you are not using sqlite then I >>> expect you know how to run that query on MySQL or whatever DBMS your are >>> using. >>> >>> Gary >>> >>> On Sunday, 8 January 2017 17:12:12 UTC+10, Dan'l B wrote: >>>> >>>> WeeWx-WD is not displaying rainfall in the saratoga templates and the >>>> only rain-related error I can see in syslog is this: >>>>> >>>>> Jan 8 01:50:48 raspberrypi weewx[31749]: weewxWd: wdMoonApsis SLE >>>>>> executed in 0.021 seconds >>>>> >>>>> Jan 8 01:50:48 raspberrypi weewx[31749]: weewxWd: wdEclipse SLE >>>>>> executed in 0.000 seconds >>>>> >>>>> Jan 8 01:50:48 raspberrypi weewx[31749]: weewxWd: wdEarthApsis SLE >>>>>> executed in 0.000 seconds >>>>> >>>>> Jan 8 01:50:48 raspberrypi weewx[31749]: weewxWd: wdChineseNewYear >>>>>> SLE executed in 0.000 seconds >>>>> >>>>> Jan 8 01:50:57 raspberrypi weewx[31749]: cheetahgenerator: Generate >>>>>> failed with exception '<class 'NameMapper.NotFound'>' >>>>> >>>>> Jan 8 01:50:57 raspberrypi weewx[31749]: cheetahgenerator: **** >>>>>> Ignoring template /home/weewx/skins/Testtags/testtags.php.tmpl >>>>> >>>>> Jan 8 01:50:57 raspberrypi weewx[31749]: cheetahgenerator: **** >>>>>> Reason: cannot find 'formatted' while searching for >>>>>> 'currentmonthrecordrain.formatted' >>>>> >>>>> Jan 8 01:50:58 raspberrypi weewx[31749]: **** Traceback (most recent >>>>>> call last): >>>>> >>>>> Jan 8 01:50:58 raspberrypi weewx[31749]: **** File >>>>>> "/home/weewx/bin/weewx/cheetahgenerator.py", line 315, in generate >>>>> >>>>> Jan 8 01:50:58 raspberrypi weewx[31749]: **** print >> _file, >>>>>> text >>>>> >>>>> Jan 8 01:50:58 raspberrypi weewx[31749]: **** File >>>>>> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in >>>>>> __str__ >>>>> >>>>> Jan 8 01:50:58 raspberrypi weewx[31749]: **** rc = getattr(self, >>>>>> mainMethName)() >>>>> >>>>> Jan 8 01:50:58 raspberrypi weewx[31749]: **** File >>>>>> "_home_weewx_skins_Testtags_testtags_php_tmpl.py", line 3032, in respond >>>>> >>>>> Jan 8 01:50:58 raspberrypi weewx[31749]: **** NotFound: cannot find >>>>>> 'formatted' while searching for 'currentmonthrecordrain.formatted' >>>>> >>>>> >>>>> WeeWx current version >>>> WeeWx-WD: v 1.0.2 >>>> RPi 3 >>>> >>> >> The error is consistent, not irregular. >> >> I do indeed have rain data only from Dec and January; the station was >> just set up in December. >> > Seems to have fixed it nicely <http://suiattle.net/DinkinsBayouWeather/st/wxindex.php>, many thanks.
Now if I could just get the config right for the SS gauges <http://suiattle.net/DinkinsBayouWeather/st/wxssgauges.php> I'd be a happy camper: ComponentStatusAge > h:m:sLatest update time as of > 2017-01-09 12:16 > Weather-Display realtime *NOT Current* 0:00:18 > 0:00:15 > *2017-01-09 12:16* -- 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.