grebleem / weewx-weatherlinkliveudp

Weewx Driver with UDP
6 stars 4 forks source link

Weewx Error messages #13

Closed ebnerjoh closed 4 years ago

ebnerjoh commented 4 years ago

Hi,

I had a Weewx Installation with "Simulator" active without any issues. Today I got my Davis Weatherlink Live (and Pro2 Wireless) and used this driver to integrate it.

Basically it is working but throwing now an error:

Sep 17 20:35:17 weewx-test weewx[26285] ERROR weewx.cheetahgenerator: Generate failed with exception '<class 'NameMapper.NotFound'>' Sep 17 20:35:17 weewx-test weewx[26285] ERROR weewx.cheetahgenerator: **** Ignoring template /etc/weewx/skins/Seasons/NOAA/NOAA-%Y-%m.txt.tmpl Sep 17 20:35:17 weewx-test weewx[26285] ERROR weewx.cheetahgenerator: **** Reason: cannot find 'count' while searching for 'day.wind.count.raw' Sep 17 20:35:17 weewx-test weewx[26285] ERROR weewx.cheetahgenerator: **** Traceback (most recent call last): Sep 17 20:35:17 weewx-test weewx[26285] ERROR weewx.cheetahgenerator: **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 322, in generate Sep 17 20:35:17 weewx-test weewx[26285] ERROR weewx.cheetahgenerator: **** unicode_string = compiled_template.respond() Sep 17 20:35:17 weewx-test weewx[26285] ERROR weewx.cheetahgenerator: **** File "_etc_weewx_skins_Seasons_NOAA_NOAA__Y__m_txt_tmpl.py", line 431, in respond Sep 17 20:35:17 weewx-test weewx[26285] ERROR weewx.cheetahgenerator: **** NameMapper.NotFound: cannot find 'count' while searching for 'day.wind.count.raw' Sep 17 20:35:17 weewx-test weewx[26285] INFO weewx.restx: MQTT: Published record 2020-09-17 20:35:15 CEST (1600367715) Sep 17 20:35:17 weewx-test weewx[26285] INFO weewx.restx: MQTT: Published record 2020-09-17 20:35:00 CEST (1600367700) Sep 17 20:35:17 weewx-test weewx[26285] ERROR weewx.cheetahgenerator: Generate failed with exception '<class 'NameMapper.NotFound'>' Sep 17 20:35:17 weewx-test weewx[26285] ERROR weewx.cheetahgenerator: **** Ignoring template /etc/weewx/skins/Seasons/NOAA/NOAA-%Y.txt.tmpl Sep 17 20:35:17 weewx-test weewx[26285] ERROR weewx.cheetahgenerator: **** Reason: cannot find 'count' while searching for 'month.wind.count.raw' Sep 17 20:35:17 weewx-test weewx[26285] ERROR weewx.cheetahgenerator: **** Traceback (most recent call last): Sep 17 20:35:17 weewx-test weewx[26285] ERROR weewx.cheetahgenerator: **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 322, in generate Sep 17 20:35:17 weewx-test weewx[26285] ERROR weewx.cheetahgenerator: **** unicode_string = compiled_template.respond() Sep 17 20:35:17 weewx-test weewx[26285] ERROR weewx.cheetahgenerator: **** File "_etc_weewx_skins_Seasons_NOAA_NOAA__Y_txt_tmpl.py", line 862, in respond Sep 17 20:35:17 weewx-test weewx[26285] ERROR weewx.cheetahgenerator: **** NameMapper.NotFound: cannot find 'count' while searching for 'month.wind.count.raw' Sep 17 20:35:18 weewx-test weewx[26285] ERROR weewx.cheetahgenerator: Generate failed with exception '<class 'NameMapper.NotFound'>' Sep 17 20:35:18 weewx-test weewx[26285] ERROR weewx.cheetahgenerator: **** Ignoring template /etc/weewx/skins/Seasons/rss.xml.tmpl Sep 17 20:35:18 weewx-test weewx[26285] ERROR weewx.cheetahgenerator: **** Reason: cannot find 'max' while searching for 'day.wind.max' Sep 17 20:35:18 weewx-test weewx[26285] ERROR weewx.cheetahgenerator: **** Traceback (most recent call last): Sep 17 20:35:18 weewx-test weewx[26285] ERROR weewx.cheetahgenerator: **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 322, in generate Sep 17 20:35:18 weewx-test weewx[26285] ERROR weewx.cheetahgenerator: **** unicode_string = compiled_template.respond() Sep 17 20:35:18 weewx-test weewx[26285] ERROR weewx.cheetahgenerator: **** File "_etc_weewx_skins_Seasons_rss_xml_tmpl.py", line 268, in respond Sep 17 20:35:18 weewx-test weewx[26285] ERROR weewx.cheetahgenerator: **** NameMapper.NotFound: cannot find 'max' while searching for 'day.wind.max' Sep 17 20:35:18 weewx-test weewx[26285] INFO weewx.cheetahgenerator: Generated 5 files for report SeasonsReport in 0.64 seconds Sep 17 20:35:18 weewx-test weewx[26285] INFO weewx.restx: MQTT: Published record 2020-09-17 20:35:16 CEST (1600367716) Sep 17 20:35:18 weewx-test weewx[26285] ERROR weewx.reportengine: Caught unrecoverable exception in generator 'weewx.imagegenerator.ImageGenerator' Sep 17 20:35:18 weewx-test weewx[26285] ERROR weewx.reportengine: **** no such table: archive_day_wind Sep 17 20:35:18 weewx-test weewx[26285] ERROR weewx.reportengine: **** Traceback (most recent call last): Sep 17 20:35:18 weewx-test weewx[26285] ERROR weewx.reportengine: **** File "/usr/share/weewx/weedb/sqlite.py", line 29, in guarded_fn Sep 17 20:35:18 weewx-test weewx[26285] ERROR weewx.reportengine: **** return fn(*args, **kwargs) Sep 17 20:35:18 weewx-test weewx[26285] ERROR weewx.reportengine: **** File "/usr/share/weewx/weedb/sqlite.py", line 211, in execute Sep 17 20:35:18 weewx-test weewx[26285] ERROR weewx.reportengine: **** return sqlite3.Cursor.execute(self, *args, **kwargs) Sep 17 20:35:18 weewx-test weewx[26285] ERROR weewx.reportengine: **** sqlite3.OperationalError: no such table: archive_day_wind Sep 17 20:35:18 weewx-test weewx[26285] ERROR weewx.reportengine: **** Sep 17 20:35:18 weewx-test weewx[26285] ERROR weewx.reportengine: **** During handling of the above exception, another exception occurred: Sep 17 20:35:18 weewx-test weewx[26285] ERROR weewx.reportengine: **** Sep 17 20:35:18 weewx-test weewx[26285] ERROR weewx.reportengine: **** Traceback (most recent call last): Sep 17 20:35:18 weewx-test weewx[26285] ERROR weewx.reportengine: **** File "/usr/share/weewx/weewx/reportengine.py", line 197, in run Sep 17 20:35:18 weewx-test weewx[26285] ERROR weewx.reportengine: **** obj.start() Sep 17 20:35:18 weewx-test weewx[26285] ERROR weewx.reportengine: **** File "/usr/share/weewx/weewx/reportengine.py", line 280, in start Sep 17 20:35:18 weewx-test weewx[26285] ERROR weewx.reportengine: **** self.run() Sep 17 20:35:18 weewx-test weewx[26285] ERROR weewx.reportengine: **** File "/usr/share/weewx/weewx/imagegenerator.py", line 41, in run Sep 17 20:35:18 weewx-test weewx[26285] ERROR weewx.reportengine: **** self.genImages(self.gen_ts) Sep 17 20:35:18 weewx-test weewx[26285] ERROR weewx.reportengine: **** File "/usr/share/weewx/weewx/imagegenerator.py", line 180, in genImages Sep 17 20:35:18 weewx-test weewx[26285] ERROR weewx.reportengine: **** aggregate_interval=aggregate_interval) Sep 17 20:35:18 weewx-test weewx[26285] ERROR weewx.reportengine: **** File "/usr/share/weewx/weewx/xtypes.py", line 86, in get_series Sep 17 20:35:18 weewx-test weewx[26285] ERROR weewx.reportengine: **** aggregate_interval) Sep 17 20:35:18 weewx-test weewx[26285] ERROR weewx.reportengine: **** File "/usr/share/weewx/weewx/xtypes.py", line 628, in get_series Sep 17 20:35:18 weewx-test weewx[26285] ERROR weewx.reportengine: **** aggregate_interval) Sep 17 20:35:18 weewx-test weewx[26285] ERROR weewx.reportengine: **** File "/usr/share/weewx/weewx/xtypes.py", line 140, in get_series Sep 17 20:35:18 weewx-test weewx[26285] ERROR weewx.reportengine: **** agg_vt = get_aggregate(obs_type, stamp, do_aggregate, db_manager) Sep 17 20:35:18 weewx-test weewx[26285] ERROR weewx.reportengine: **** File "/usr/share/weewx/weewx/xtypes.py", line 102, in get_aggregate Sep 17 20:35:18 weewx-test weewx[26285] ERROR weewx.reportengine: **** **option_dict) Sep 17 20:35:18 weewx-test weewx[26285] ERROR weewx.reportengine: **** File "/usr/share/weewx/weewx/xtypes.py", line 796, in get_aggregate Sep 17 20:35:18 weewx-test weewx[26285] ERROR weewx.reportengine: **** row = db_manager.getSql(sql, timespan) Sep 17 20:35:18 weewx-test weewx[26285] ERROR weewx.reportengine: **** File "/usr/share/weewx/weewx/manager.py", line 426, in getSql Sep 17 20:35:18 weewx-test weewx[26285] ERROR weewx.reportengine: **** _cursor.execute(sql, sqlargs) Sep 17 20:35:18 weewx-test weewx[26285] ERROR weewx.reportengine: **** File "/usr/share/weewx/weedb/sqlite.py", line 37, in guarded_fn Sep 17 20:35:18 weewx-test weewx[26285] ERROR weewx.reportengine: **** raise weedb.NoTableError(e) Sep 17 20:35:18 weewx-test weewx[26285] ERROR weewx.reportengine: **** weedb.NoTableError: no such table: archive_day_wind Sep 17 20:35:18 weewx-test weewx[26285] ERROR weewx.reportengine: **** Generator terminated Sep 17 20:35:18 weewx-test weewx[26285] INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx Could this be due to the driver or something different?

Br, Johannes