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. 
>
> 1. First it says I'm getting errors from the Cheetahgenerator saying that 
> it is ignoring index.html.tmpl in the Belchertown records directory because 
> no column called wind exists.
> 2. Later errors say it is ignoring index.html.tmpl because 
> /home/weewx/skins/Standard/header.html.tmpl doesn't exist.
> 3. Finally report generation is exceeding my 5 minute archive time and I 
> get errors saying report thread not start because of an existing one. 
>
> Regarding 3. I remember reading something about excessive report time in 
> the thread on weewx-user, but couldn't find the particular post just now.
>
> I hope you can point me in the right direction. I did get one web page 
> generated that looked nice, but it didn't get updated.
>
> Phil
>
>
>
> On Monday, September 3, 2018 at 7:30:42 AM UTC-4, Pat wrote:
>
> Hi Phil, 
>
> Your post actually made me update the readme to be a little more clearer 
> :) 
>
> T 
> <https://github.com/poblabs/weewx-belchertown/blob/master/skins/Belchertown/about.inc>here
>  
> are about.inc 
> <https://github.com/poblabs/weewx-belchertown/blob/master/skins/Belchertown/about.inc>
>  
> and records.inc 
> <https://github.com/poblabs/weewx-belchertown/blob/master/skins/Belchertown/records.inc>
>  
> samples in the GitHub. I'll update the readme with those l
>
> ...

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