Many thanks, that was the issue!!! [email protected] schrieb am Donnerstag, 17. September 2020 um 20:20:48 UTC+2:
> The reason why this can occur is a rather technical one, but has to do > with mixing the older, V3.x, way of specifying a schema, and the newer, > V4.x way. > > 1. Stop weewx > > 2. Assuming there is nothing valuable in it, delete the archive > /var/lib/weewx/weewx.sdb > > 3. Make sure your [DataBindings] section looks like this. Pay attention to > the highlighted areas. > > [DataBindings] > > [[wx_binding]] > # The database must match one of the sections in [Databases]. > # This is likely to be the only option you would want to change. > database = archive_sqlite > # The name of the table within the database > table_name = archive > # The manager handles aggregation of data for historical summaries > manager = weewx.manager.DaySummaryManager > # The schema defines the structure of the database. > # It is *only* used when the database is created. > schema = schemas.wview_extended.schema > > 4. Restart weewx. > > -tk > > > > On Thu, Sep 17, 2020 at 11:00 AM '[email protected]' via weewx-user < > [email protected]> wrote: > >> Hi, >> >> After two tries with cheaper Weather Stations which failed due to Quality >> I bought now a Davis Vantage Pro2 Wireless with a Weatherlink Live Adapter >> >> I have setup now a new Weewx Installation and had it running for some >> days with "simulator" without any issues. >> >> Now I got my davis and I have configured it immediatly. >> >> But unfortunatley I am getting now the following error: >> >> *Sep 17 19:55:17 weewx-test weewx[23751] ERROR weewx.cheetahgenerator: >> Generate failed with exception '<class 'NameMapper.NotFound'>'* >> *Sep 17 19:55:17 weewx-test weewx[23751] ERROR weewx.cheetahgenerator: >> **** Ignoring template /etc/weewx/skins/Seasons/NOAA/NOAA-%Y-%m.txt.tmpl* >> *Sep 17 19:55:17 weewx-test weewx[23751] ERROR weewx.cheetahgenerator: >> **** Reason: cannot find 'count' while searching for 'day.wind.count.raw'* >> *Sep 17 19:55:17 weewx-test weewx[23751] ERROR weewx.cheetahgenerator: >> **** Traceback (most recent call last):* >> *Sep 17 19:55:17 weewx-test weewx[23751] ERROR weewx.cheetahgenerator: >> **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 322, in >> generate* >> *Sep 17 19:55:17 weewx-test weewx[23751] ERROR weewx.cheetahgenerator: >> **** unicode_string = compiled_template.respond()* >> *Sep 17 19:55:17 weewx-test weewx[23751] ERROR weewx.cheetahgenerator: >> **** File "_etc_weewx_skins_Seasons_NOAA_NOAA__Y__m_txt_tmpl.py", line >> 431, in respond* >> *Sep 17 19:55:17 weewx-test weewx[23751] ERROR weewx.cheetahgenerator: >> **** NameMapper.NotFound: cannot find 'count' while searching for >> 'day.wind.count.raw'* >> *Sep 17 19:55:17 weewx-test weewx[23751] ERROR weewx.cheetahgenerator: >> Generate failed with exception '<class 'NameMapper.NotFound'>'* >> *Sep 17 19:55:17 weewx-test weewx[23751] ERROR weewx.cheetahgenerator: >> **** Ignoring template /etc/weewx/skins/Seasons/NOAA/NOAA-%Y.txt.tmpl* >> *Sep 17 19:55:17 weewx-test weewx[23751] ERROR weewx.cheetahgenerator: >> **** Reason: cannot find 'count' while searching for 'month.wind.count.raw'* >> *Sep 17 19:55:17 weewx-test weewx[23751] ERROR weewx.cheetahgenerator: >> **** Traceback (most recent call last):* >> *Sep 17 19:55:17 weewx-test weewx[23751] ERROR weewx.cheetahgenerator: >> **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 322, in >> generate* >> *Sep 17 19:55:17 weewx-test weewx[23751] ERROR weewx.cheetahgenerator: >> **** unicode_string = compiled_template.respond()* >> *Sep 17 19:55:17 weewx-test weewx[23751] ERROR weewx.cheetahgenerator: >> **** File "_etc_weewx_skins_Seasons_NOAA_NOAA__Y_txt_tmpl.py", line 862, >> in respond* >> *Sep 17 19:55:17 weewx-test weewx[23751] ERROR weewx.cheetahgenerator: >> **** NameMapper.NotFound: cannot find 'count' while searching for >> 'month.wind.count.raw'* >> *Sep 17 19:55:17 weewx-test weewx[23751] ERROR weewx.cheetahgenerator: >> Generate failed with exception '<class 'NameMapper.NotFound'>'* >> *Sep 17 19:55:17 weewx-test weewx[23751] ERROR weewx.cheetahgenerator: >> **** Ignoring template /etc/weewx/skins/Seasons/rss.xml.tmpl* >> *Sep 17 19:55:17 weewx-test weewx[23751] ERROR weewx.cheetahgenerator: >> **** Reason: cannot find 'max' while searching for 'day.wind.max'* >> *Sep 17 19:55:17 weewx-test weewx[23751] ERROR weewx.cheetahgenerator: >> **** Traceback (most recent call last):* >> *Sep 17 19:55:17 weewx-test weewx[23751] ERROR weewx.cheetahgenerator: >> **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 322, in >> generate* >> *Sep 17 19:55:17 weewx-test weewx[23751] ERROR weewx.cheetahgenerator: >> **** unicode_string = compiled_template.respond()* >> *Sep 17 19:55:17 weewx-test weewx[23751] ERROR weewx.cheetahgenerator: >> **** File "_etc_weewx_skins_Seasons_rss_xml_tmpl.py", line 268, in >> respond* >> *Sep 17 19:55:17 weewx-test weewx[23751] ERROR weewx.cheetahgenerator: >> **** NameMapper.NotFound: cannot find 'max' while searching for >> 'day.wind.max'* >> *Sep 17 19:55:17 weewx-test weewx[23751] INFO weewx.cheetahgenerator: >> Generated 5 files for report SeasonsReport in 0.66 seconds* >> *Sep 17 19:55:18 weewx-test weewx[23751] ERROR weewx.reportengine: Caught >> unrecoverable exception in generator 'weewx.imagegenerator.ImageGenerator'* >> *Sep 17 19:55:18 weewx-test weewx[23751] ERROR weewx.reportengine: >> **** no such table: archive_day_wind* >> *Sep 17 19:55:18 weewx-test weewx[23751] ERROR weewx.reportengine: >> **** Traceback (most recent call last):* >> *Sep 17 19:55:18 weewx-test weewx[23751] ERROR weewx.reportengine: >> **** File "/usr/share/weewx/weedb/sqlite.py", line 29, in guarded_fn* >> *Sep 17 19:55:18 weewx-test weewx[23751] ERROR weewx.reportengine: >> **** return fn(*args, **kwargs)* >> *Sep 17 19:55:18 weewx-test weewx[23751] ERROR weewx.reportengine: >> **** File "/usr/share/weewx/weedb/sqlite.py", line 211, in execute* >> *Sep 17 19:55:18 weewx-test weewx[23751] ERROR weewx.reportengine: >> **** return sqlite3.Cursor.execute(self, *args, **kwargs)* >> *Sep 17 19:55:18 weewx-test weewx[23751] ERROR weewx.reportengine: >> **** sqlite3.OperationalError: no such table: archive_day_wind* >> *Sep 17 19:55:18 weewx-test weewx[23751] ERROR weewx.reportengine: >> ***** >> *Sep 17 19:55:18 weewx-test weewx[23751] ERROR weewx.reportengine: >> **** During handling of the above exception, another exception occurred:* >> *Sep 17 19:55:18 weewx-test weewx[23751] ERROR weewx.reportengine: >> ***** >> *Sep 17 19:55:18 weewx-test weewx[23751] ERROR weewx.reportengine: >> **** Traceback (most recent call last):* >> *Sep 17 19:55:18 weewx-test weewx[23751] ERROR weewx.reportengine: >> **** File "/usr/share/weewx/weewx/reportengine.py", line 197, in run* >> *Sep 17 19:55:18 weewx-test weewx[23751] ERROR weewx.reportengine: >> **** obj.start()* >> *Sep 17 19:55:18 weewx-test weewx[23751] ERROR weewx.reportengine: >> **** File "/usr/share/weewx/weewx/reportengine.py", line 280, in start* >> *Sep 17 19:55:18 weewx-test weewx[23751] ERROR weewx.reportengine: >> **** self.run()* >> *Sep 17 19:55:18 weewx-test weewx[23751] ERROR weewx.reportengine: >> **** File "/usr/share/weewx/weewx/imagegenerator.py", line 41, in run* >> *Sep 17 19:55:18 weewx-test weewx[23751] ERROR weewx.reportengine: >> **** self.genImages(self.gen_ts)* >> *Sep 17 19:55:18 weewx-test weewx[23751] ERROR weewx.reportengine: >> **** File "/usr/share/weewx/weewx/imagegenerator.py", line 180, in >> genImages* >> *Sep 17 19:55:18 weewx-test weewx[23751] ERROR weewx.reportengine: >> **** aggregate_interval=aggregate_interval)* >> *Sep 17 19:55:18 weewx-test weewx[23751] ERROR weewx.reportengine: >> **** File "/usr/share/weewx/weewx/xtypes.py", line 86, in get_series* >> *Sep 17 19:55:18 weewx-test weewx[23751] ERROR weewx.reportengine: >> **** aggregate_interval)* >> *Sep 17 19:55:18 weewx-test weewx[23751] ERROR weewx.reportengine: >> **** File "/usr/share/weewx/weewx/xtypes.py", line 628, in get_series* >> *Sep 17 19:55:18 weewx-test weewx[23751] ERROR weewx.reportengine: >> **** aggregate_interval)* >> *Sep 17 19:55:18 weewx-test weewx[23751] ERROR weewx.reportengine: >> **** File "/usr/share/weewx/weewx/xtypes.py", line 140, in get_series* >> *Sep 17 19:55:18 weewx-test weewx[23751] ERROR weewx.reportengine: >> **** agg_vt = get_aggregate(obs_type, stamp, do_aggregate, >> db_manager)* >> *Sep 17 19:55:18 weewx-test weewx[23751] ERROR weewx.reportengine: >> **** File "/usr/share/weewx/weewx/xtypes.py", line 102, in >> get_aggregate* >> *Sep 17 19:55:18 weewx-test weewx[23751] ERROR weewx.reportengine: >> **** **option_dict)* >> *Sep 17 19:55:18 weewx-test weewx[23751] ERROR weewx.reportengine: >> **** File "/usr/share/weewx/weewx/xtypes.py", line 796, in >> get_aggregate* >> *Sep 17 19:55:18 weewx-test weewx[23751] ERROR weewx.reportengine: >> **** row = db_manager.getSql(sql, timespan)* >> *Sep 17 19:55:18 weewx-test weewx[23751] ERROR weewx.reportengine: >> **** File "/usr/share/weewx/weewx/manager.py", line 426, in getSql* >> *Sep 17 19:55:18 weewx-test weewx[23751] ERROR weewx.reportengine: >> **** _cursor.execute(sql, sqlargs)* >> *Sep 17 19:55:18 weewx-test weewx[23751] ERROR weewx.reportengine: >> **** File "/usr/share/weewx/weedb/sqlite.py", line 37, in guarded_fn* >> *Sep 17 19:55:18 weewx-test weewx[23751] ERROR weewx.reportengine: >> **** raise weedb.NoTableError(e)* >> *Sep 17 19:55:18 weewx-test weewx[23751] ERROR weewx.reportengine: >> **** weedb.NoTableError: no such table: archive_day_wind* >> *Sep 17 19:55:18 weewx-test weewx[23751] ERROR weewx.reportengine: >> **** Generator terminated* >> >> Any ideas? >> >> -- >> 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/8cddf9c5-ac26-4bbf-bc3b-e21d0bc5e513n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/weewx-user/8cddf9c5-ac26-4bbf-bc3b-e21d0bc5e513n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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/b7ef9186-9713-46eb-a4ba-53b9b645e8b9n%40googlegroups.com.
