Just got a weewx update via Ubuntu. I'm now at 4.6.2. Templates were failing to generate due to errors like:
Feb 11 18:20:16 weewx[6071] ERROR weewx.cheetahgenerator: **** Ignoring template /etc/weewx/skins/Seasons/statistics.html.tmpl Feb 11 18:20:16 weewx[6071] ERROR weewx.cheetahgenerator: **** Reason: cannot find 'to_list' Feb 11 18:20:16 weewx[6071] ERROR weewx.cheetahgenerator: **** To debug, try inserting '#errorCatcher Echo' at top of template Feb 11 18:20:16 weewx[6071] ERROR weewx.cheetahgenerator: Evaluation of template /etc/weewx/skins/Seasons/telemetry.html.tmpl failed. It looked like these functions in the templates might not be necessary, so I removed them... and templates are generating fine now. I'm guessing these might be an abstraction layer to future-proof against config values that may not evaluate to bool/list. Any hints as to what I might need to do to get these functions to work in the templates? I'm using "Seasons". E.g. here's what the top of my titlebar.inc looks like now: ## titlebar for weewx skins ## Copyright Tom Keffer, Matthew Wall ## See LICENSE.txt for your rights #errorCatcher Echo #encoding UTF-8 #set $show_rss = $DisplayOptions.get('show_rss', True) #set $show_reports = $DisplayOptions.get('show_reports', True) <div id="title_bar"> Was there maybe a change to weewx.conf or skin.conf that allowed templates access to these functions? I didn't accept those updates since they can break my setup. Thanks! Jason -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CA%2BPf4UBr8dk9D9tCBtCJR3v%2BmLbhBOEispbsE%3Dy95Xd4%3DffbOA%40mail.gmail.com.