I admit I was feeling a bit daft reading through this because I couldn't 
replicate it. Thanks for providing your test information, it allowed me to 
to replicate it so I can see the problem first hand. I took my 3 year old 
database (which was working), copied to a new lab system, truncated it to 
2018 only (so 8 months of data) and I'm getting the same error. 

As you mentioned, if I remove the NOAA reports from skin.conf, it works. If 
I add them back, it fails. This is an interesting one! 

I'm a bit lost at this point.... but now that I can see it fail, I can 
start to try and wrap my head around it... even though you've already 
pinpointed it to the [[SummaryByMonth]] and [[SummaryByYear]], there's 
gotta be a way to make them all co-exist without managing 2 skins?


On Friday, August 24, 2018 at 10:19:19 AM UTC-4, gjr80 wrote:
>
> I'm convinced. Home now so set up a VM running 3.8.2 with no data in the 
> db. Runs fine. Download user.belchertown_highchartsSearchX.highchartsDay 
> and add a search_list_extensions option to Standard skin.conf using 
> user.belchertown_highchartsSearchX.highchartsDay as the only SLE. Runs 
> without issue (expected). Stop WeeWX, swap in a db with a few months of 
> simulated data and restart WeeWX and the error occurs:
>
> Aug 25 00:10:16 stretch21 weewx[26121]: highchartsSearchX: timespan=[2016-
> 01-01 00:00:00 AEST (1451570400) -> 2017-01-01 00:00:00 AEST (1483192800)] 
> _start_ts=1535119200 _end_ts=1535205599
> Aug 25 00:10:16 stretch21 weewx[26121]: reportengine: Caught 
> unrecoverable exception in generator weewx.cheetahgenerator.
> CheetahGenerator
> Aug 25 00:10:16 stretch21 weewx[26121]:         ****  start time (
> 1535119200) is greater than stop time (1483192800)
> Aug 25 00:10:16 stretch21 weewx[26121]:         ****  Traceback (most 
> recent call last):
> Aug 25 00:10:16 stretch21 weewx[26121]:         ****    File 
> "/home/weewx/bin/weewx/reportengine.py", line 239, in run
> Aug 25 00:10:16 stretch21 weewx[26121]:         ****      obj.start()
> Aug 25 00:10:16 stretch21 weewx[26121]:         ****    File 
> "/home/weewx/bin/weewx/reportengine.py", line 273, in start
> Aug 25 00:10:16 stretch21 weewx[26121]:         ****      self.run()
> Aug 25 00:10:16 stretch21 weewx[26121]:         ****    File 
> "/home/weewx/bin/weewx/cheetahgenerator.py", line 158, in run
> Aug 25 00:10:16 stretch21 weewx[26121]:         ****      ngen = self.
> generate(gen_dict[section_name], self.gen_ts)
> Aug 25 00:10:16 stretch21 weewx[26121]:         ****    File 
> "/home/weewx/bin/weewx/cheetahgenerator.py", line 232, in generate
> Aug 25 00:10:16 stretch21 weewx[26121]:         ****      ngen += self.
> generate(section[subsection], gen_ts)
> Aug 25 00:10:16 stretch21 weewx[26121]:         ****    File 
> "/home/weewx/bin/weewx/cheetahgenerator.py", line 232, in generate
> Aug 25 00:10:16 stretch21 weewx[26121]:         ****      ngen += self.
> generate(section[subsection], gen_ts)
> Aug 25 00:10:16 stretch21 weewx[26121]:         ****    File 
> "/home/weewx/bin/weewx/cheetahgenerator.py", line 320, in generate
> Aug 25 00:10:16 stretch21 weewx[26121]:         ****      default_binding)
> Aug 25 00:10:16 stretch21 weewx[26121]:         ****    File 
> "/home/weewx/bin/weewx/cheetahgenerator.py", line 372, in _getSearchList
> Aug 25 00:10:16 stretch21 weewx[26121]:         ****      searchList += 
> obj.get_extension_list(timespan, db_lookup)
> Aug 25 00:10:16 stretch21 weewx[26121]:         ****    File 
> "/home/weewx/bin/user/belchertown_highchartsSearchX.py", line 90, in 
> get_extension_list
> Aug 25 00:10:16 stretch21 weewx[26121]:         ****      (time_start_vt, 
> time_stop_vt, outTemp_vt) = db_lookup().getSqlVectors(TimeSpan(_start_ts, 
> timespan.stop), 'outTemp')
> Aug 25 00:10:16 stretch21 weewx[26121]:         ****    File 
> "/home/weewx/bin/weeutil/weeutil.py", line 315, in __new__
> Aug 25 00:10:16 stretch21 weewx[26121]:<span style="color: #000;" cl
>

-- 
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.

Reply via email to