Hi,
I'm having issues with NOAA report generation ever since I installed the
station but never minded enough to fix it.
I use Weatherflow Air & Sky, weewx version is 3.9.2.
This is the error message in the /var/log/syslog:
Jun 5 18:52:37 raspberrypi weewx[451]: cheetahgenerator: Generate failed
with exception '<class 'weewx.ViolatedPrecondition'>'
Jun 5 18:52:37 raspberrypi weewx[451]: cheetahgenerator: **** Ignoring
template /etc/weewx/skins/neowx/NOAA/NOAA-YYYY.txt.tmpl
Jun 5 18:52:37 raspberrypi weewx[451]: cheetahgenerator: **** Reason:
Invalid aggregation type 'meanmax'
Jun 5 18:52:37 raspberrypi weewx[451]: **** Traceback (most recent call
last):
Jun 5 18:52:37 raspberrypi weewx[451]: **** File
"/usr/share/weewx/weewx/cheetahgenerator.py", line 332, in generate
Jun 5 18:52:37 raspberrypi weewx[451]: ****
fd.write(str(compiled_template))
Jun 5 18:52:37 raspberrypi weewx[451]: **** File
"/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in
__str__
Jun 5 18:52:37 raspberrypi weewx[451]: **** rc = getattr(self,
mainMethName)()
Jun 5 18:52:37 raspberrypi weewx[451]: **** File
"_etc_weewx_skins_neowx_NOAA_NOAA_YYYY_txt_tmpl.py", line 741, in respond
Jun 5 18:52:37 raspberrypi weewx[451]: **** File
"_etc_weewx_skins_neowx_NOAA_NOAA_YYYY_txt_tmpl.py", line 315, in
__errorCatcher28
Jun 5 18:52:37 raspberrypi weewx[451]: **** File "<string>", line 1, in
<module>
Jun 5 18:52:37 raspberrypi weewx[451]: **** File
"/usr/share/weewx/weewx/tags.py", line 329, in __getattr__
Jun 5 18:52:37 raspberrypi weewx[451]: **** return
self._do_query(aggregate_type)
Jun 5 18:52:37 raspberrypi weewx[451]: **** File
"/usr/share/weewx/weewx/tags.py", line 343, in _do_query
Jun 5 18:52:37 raspberrypi weewx[451]: **** val=val,
**self.option_dict)
Jun 5 18:52:37 raspberrypi weewx[451]: **** File
"/usr/share/weewx/weewx/wxmanager.py", line 60, in getAggregate
Jun 5 18:52:37 raspberrypi weewx[451]: **** return
weewx.manager.DaySummaryManager.getAggregate(self, timespan, obs_type,
aggregateType, **option_dict)
Jun 5 18:52:37 raspberrypi weewx[451]: **** File
"/usr/share/weewx/weewx/manager.py", line 1268, in getAggregate
Jun 5 18:52:37 raspberrypi weewx[451]: **** **option_dict)
Jun 5 18:52:37 raspberrypi weewx[451]: **** File
"/usr/share/weewx/weewx/manager.py", line 450, in getAggregate
Jun 5 18:52:37 raspberrypi weewx[451]: **** raise
weewx.ViolatedPrecondition("Invalid aggregation type '%s'" % aggregate_type)
Jun 5 18:52:37 raspberrypi weewx[451]: **** ViolatedPrecondition: Invalid
aggregation type 'meanmax'
Jun 5 18:52:37 raspberrypi weewx[451]: cheetahgenerator: Generate failed
with exception '<class 'weedb.NoColumnError'>'
Jun 5 18:52:37 raspberrypi weewx[451]: cheetahgenerator: **** Ignoring
template /etc/weewx/skins/neowx/NOAA/NOAA-YYYY-MM.txt.tmpl
Jun 5 18:52:38 raspberrypi weewx[451]: cheetahgenerator: **** Reason: no
such column: wind
Jun 5 18:52:38 raspberrypi weewx[451]: **** Traceback (most recent call
last):
Jun 5 18:52:38 raspberrypi weewx[451]: **** File
"/usr/share/weewx/weewx/cheetahgenerator.py", line 332, in generate
Jun 5 18:52:38 raspberrypi weewx[451]: ****
fd.write(str(compiled_template))
Jun 5 18:52:38 raspberrypi weewx[451]: **** File
"/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in
__str__
Jun 5 18:52:38 raspberrypi weewx[451]: **** rc = getattr(self,
mainMethName)()
Jun 5 18:52:38 raspberrypi weewx[451]: **** File
"_etc_weewx_skins_neowx_NOAA_NOAA_YYYY_MM_txt_tmpl.py", line 496, in respond
Jun 5 18:52:38 raspberrypi weewx[451]: **** File
"_etc_weewx_skins_neowx_NOAA_NOAA_YYYY_MM_txt_tmpl.py", line 308, in
__errorCatcher35
Jun 5 18:52:38 raspberrypi weewx[451]: **** File "<string>", line 1, in
<module>
Jun 5 18:52:38 raspberrypi weewx[451]: **** File
"/usr/share/weewx/weewx/tags.py", line 329, in __getattr__
Jun 5 18:52:38 raspberrypi weewx[451]: **** return
self._do_query(aggregate_type)
Jun 5 18:52:38 raspberrypi weewx[451]: **** File
"/usr/share/weewx/weewx/tags.py", line 343, in _do_query
Jun 5 18:52:38 raspberrypi weewx[451]: **** val=val,
**self.option_dict)
Jun 5 18:52:38 raspberrypi weewx[451]: **** File
"/usr/share/weewx/weewx/wxmanager.py", line 60, in getAggregate
Jun 5 18:52:38 raspberrypi weewx[451]: **** return
weewx.manager.DaySummaryManager.getAggregate(self, timespan, obs_type,
aggregateType, **option_dict)
Jun 5 18:52:38 raspberrypi weewx[451]: **** File
"/usr/share/weewx/weewx/manager.py", line 1268, in getAggregate
Jun 5 18:52:38 raspberrypi weewx[451]: **** **option_dict)
Jun 5 18:52:38 raspberrypi weewx[451]: **** File
"/usr/share/weewx/weewx/manager.py", line 459, in getAggregate
Jun 5 18:52:38 raspberrypi weewx[451]: **** _row =
self.getSql(select_stmt % interpolate_dict)
Jun 5 18:52:38 raspberrypi weewx[451]: **** File
"/usr/share/weewx/weewx/manager.py", line 395, in getSql
Jun 5 18:52:38 raspberrypi weewx[451]: **** _cursor.execute(sql,
sqlargs)
Jun 5 18:52:38 raspberrypi weewx[451]: **** File
"/usr/share/weewx/weedb/sqlite.py", line 41, in guarded_fn
Jun 5 18:52:38 raspberrypi weewx[451]: **** raise
weedb.NoColumnError(e)
Jun 5 18:52:38 raspberrypi weewx[451]: **** NoColumnError: no such
column: wind
Is the problem related to the missing aggregation type or something else?
Thanks.
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/7ea21102-1324-4cd3-a87b-c3b32eecdc96n%40googlegroups.com.