Thanks! It's my day off work, so in between my daughter's naps I've been able to get a few things done :)
The station hardware shouldn't matter since it's weewx that is doing the middle-man work to make them all speak the same language in the skin files. My archive is 261,459 records (not on a Pi) but it shouldn't matter either way. The Pi might take a while longer to process those 106,000 records - which is why you see 571.39 seconds. I'm not sure why it's said your header.html.tmpl is missing. I wonder if there's something else going on and that's just an effect of it. How did you install? Using apt or using setup.py? There are 4 places .wind is used on the records page. Let's try this out. Take this attached file, and copy it to the skins/Belchertown/records folder overwriting the one there. Then run sudo wee_reports and see if it helps? On Monday, September 3, 2018 at 5:51:29 PM UTC-4, Philip Kutzenco wrote: > > Pat, > > I tried David's fix and get the errors below. Maybe something different > for me? I'm using a Davis Vantage Vue. > > Regarding your question: > 2. How did you install the skin? header.html.tmpl should be in > skins/Belchertown. - *I used sudo wee_extension --install. I checked and > header.html.tmpl is, indeed in skins/Belchertown* > > You should know that my archive database has about 106,000 records. I > wouldn't think that's particularly large. Also, I am running weewx on a Pi > Zero W. So, it's a pretty weak system processing-wise. > > You're really multi-tasking today - I see lots of posts from you. You're > supposed to be enjoying Labor Day, not laboring on it :-). > I owe you coffee. Will do that! > > Looking forward to your guidance. > > Best, > Phil > > Sep 3 15:46:02 Weather-pi weewx[1669]: Belchertown Extension: version 0.6 > Sep 3 15:50:15 Weather-pi weewx[1669]: manager: Added record 2018-09-03 > 15:50:00 EDT (1536004200) to database 'weewx.sdb' > Sep 3 15:50:15 Weather-pi weewx[1669]: manager: Added record 2018-09-03 > 15:50:00 EDT (1536004200) to daily summary in 'weewx.sdb' > Sep 3 15:50:15 Weather-pi weewx[1669]: engine: Launch of report thread > aborted: existing report thread still running > Sep 3 15:53:35 Weather-pi weewx[1669]: cheetahgenerator: Generate failed > with exception '<class 'weedb.NoColumnError'>' > Sep 3 15:53:35 Weather-pi weewx[1669]: cheetahgenerator: **** Ignoring > template /home/weewx/skins/Belchertown/records/index.html.tmpl > Sep 3 15:53:35 Weather-pi weewx[1669]: cheetahgenerator: **** Reason: no > such column: wind > Sep 3 15:53:35 Weather-pi weewx[1669]: **** Traceback (most recent call > last): > Sep 3 15:53:35 Weather-pi weewx[1669]: **** File > "/home/weewx/bin/weewx/cheetahgenerator.py", line 330, in generate > Sep 3 15:53:35 Weather-pi weewx[1669]: **** print >> _file, > compiled_template > Sep 3 15:53:35 Weather-pi weewx[1669]: **** File > "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in > __str__ > Sep 3 15:53:35 Weather-pi weewx[1669]: **** rc = getattr(self, > mainMethName)() > Sep 3 15:53:35 Weather-pi weewx[1669]: **** File > "_home_weewx_skins_Belchertown_records_index_html_tmpl.py", line 1138, in > respond > Sep 3 15:53:35 Weather-pi weewx[1669]: **** File > "_home_weewx_skins_Belchertown_records_index_html_tmpl.py", line 385, in > __errorCatcher46 > Sep 3 15:53:35 Weather-pi weewx[1669]: **** File "<string>", line 1, > in <module> > Sep 3 15:53:35 Weather-pi weewx[1669]: **** File > "/home/weewx/bin/weewx/tags.py", line 329, in __getattr__ > Sep 3 15:53:35 Weather-pi weewx[1669]: **** return > self._do_query(aggregate_type) > Sep 3 15:53:35 Weather-pi weewx[1669]: **** File > "/home/weewx/bin/weewx/tags.py", line 343, in _do_query > Sep 3 15:53:35 Weather-pi weewx[1669]: **** val=val, > **self.option_dict) > Sep 3 15:53:35 Weather-pi weewx[1669]: **** File > "/home/weewx/bin/weewx/wxmanager.py", line 60, in getAggregate > Sep 3 15:53:35 Weather-pi weewx[1669]: **** return > weewx.manager.DaySummaryManager.getAggregate(self, timespan, obs_type, > aggregateType, **option_dict) > Sep 3 15:53:35 Weather-pi weewx[1669]: **** File > "/home/weewx/bin/weewx/manager.py", line 1249, in getAggregate > Sep 3 15:53:35 Weather-pi weewx[1669]: **** **option_dict) > Sep 3 15:53:35 Weather-pi weewx[1669]: **** File > "/home/weewx/bin/weewx/manager.py", line 458, in getAggregate > Sep 3 15:53:35 Weather-pi weewx[1669]: **** _row = > self.getSql(select_stmt % interpolate_dict) > Sep 3 15:53:35 Weather-pi weewx[1669]: **** File > "/home/weewx/bin/weewx/manager.py", line 394, in getSql > Sep 3 15:53:35 Weather-pi weewx[1669]: **** _cursor.execute(sql, > sqlargs) > Sep 3 15:53:35 Weather-pi weewx[1669]: **** File > "/home/weewx/bin/weedb/sqlite.py", line 41, in guarded_fn > Sep 3 15:53:35 Weather-pi weewx[1669]: **** raise > weedb.NoColumnError(e) > Sep 3 15:53:35 Weather-pi weewx[1669]: **** NoColumnError: no such > column: wind > Sep 3 15:55:15 Weather-pi weewx[1669]: manager: Added record 2018-09-03 > 15:55:00 EDT (1536004500) to database 'weewx.sdb' > Sep 3 15:55:15 Weather-pi weewx[1669]: manager: Added record 2018-09-03 > 15:55:00 EDT (1536004500) to daily summary in 'weewx.sdb' > Sep 3 15:55:15 Weather-pi weewx[1669]: engine: Launch of report thread > aborted: existing report thread still running > Sep 3 15:55:33 Weather-pi weewx[1669]: cheetahgenerator: Generated 15 > files for report Belchertown in 571.39 seconds > Sep 3 15:55:33 Weather-pi weewx[1669]: copygenerator: copied 22 files to > /home/weewx/public_html/belchertown > > > On Monday, September 3, 2018 at 2:57:35 PM UTC-4, Pat wrote: > > Phil, > > 1. This issue has come up recently, and there's been talk about it just > yesterday. Try David's fix to change $alltime.wind.max to > $alltime.windGust.max and see if that resolves it for you? > <https://groups.google.com/d/msg/weewx-user/GSrKZEiPqsc/k6ErSz6sAgAJ> The > file you want to change is in skins/Belchertown/records/index.html.tmpl > > 2. How did you install the skin? header.html.tmpl should be in > skins/Belchertown. > > 3. This is a sort-of known issue and no real fix at this time. Has to do > with archive interval, database size, and length of time it takes to > generate the graphs. Gary is the original author of the highcharts > extension, which I've extended and re-packaged with the skin. I've been > thinking about ways to optimize it, and I believe he is too. > > > > On Monday, September 3, 2018 at 12:17:23 PM UTC-4, Philip Kutzenco wrote: > > Pat, > > OK. I'm making progress. I put in about.inc and records.inc files. > > Now I am seeing a number of errors. Syslog output with debug=1 is > attached. > > ... -- 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.
index.html.tmpl
Description: Binary data