It's a subtle error, but you're mixing the old style way of specifying and
managing a schema with the new way. Try changing the [DataBindings] section
to look like this:
[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.WXDaySummaryManager
# The schema defines the structure of the database.
# It is *only* used when the database is created.
#schema = schemas.wview_extended.schema
schema = user.extensions.schema_extended
Then try rebuilding the daily summaries.
Sorry. We really should have a better error message.
-tk
In
On Sat, Jul 11, 2020 at 5:57 AM Andre <[email protected]> wrote:
> This is the /usr/share/weewx/user/extensions.py
>
> #
> # Copyright (c) 2009-2015 Tom Keffer <[email protected]>
> #
> # See the file LICENSE.txt for your full rights.
> #
>
>
> """User extensions module
>
>
> This module is imported from the main executable, so anything put here
> will be
> executed before anything else happens. This makes it a good place to put
> user
> extensions.
> """
>
>
> import locale
> # This will use the locale specified by the environment variable 'LANG'
> # Other options are possible. See:
> # http://docs.python.org/2/library/locale.html#locale.setlocale
> locale.setlocale(locale.LC_ALL, '')
>
>
> import schemas.wview
> schema_extended = schemas.wview.schema + [('appTemp', 'REAL'), ('windrun',
> 'REAL')]
>
>
>
>
>
>
> Am Samstag, 11. Juli 2020 14:16:43 UTC+2 schrieb Tom Keffer:
>>
>> It looks like you are using a custom schema. May we see it? It should be
>> in /usr/share/weewx/user/extensions.py
>>
>> -tk
>>
>> On Fri, Jul 10, 2020 at 10:57 PM Andre <[email protected]> wrote:
>>
>>> Thanks for reply, Tom.
>>>
>>> Here is my
>>> [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
>>> schema = user.extensions.schema_extended
>>>
>>>
>>> Am Samstag, 11. Juli 2020 03:26:02 UTC+2 schrieb Tom Keffer:
>>>>
>>>> You did not include a log, but on the basis of similar problems, I
>>>> would bet that you used the wrong combination of schema and 'manager' in
>>>> your configuration file, weewx.conf.
>>>>
>>>> Please post the section [DataBindings] in weewx.conf
>>>>
>>>> -tk
>>>>
>>>> On Fri, Jul 10, 2020 at 7:26 AM Andre <[email protected]> wrote:
>>>>
>>>>> Hardware: Davis Vantage Vue
>>>>> Raspberry Pi 4: Install with DEB package
>>>>> WeeWX: 4.1.1
>>>>> Skin: Belchertown 1.2b6
>>>>>
>>>>> Actually, I just wanted to quickly correct a too high value of the
>>>>> rain rate. So I did:
>>>>>
>>>>> 1. wee_database --drop-daily
>>>>> 2. wee_database --rebuild-daily
>>>>> 3. wee_database --update
>>>>>
>>>>> After that the too high rain rate value was corrected, but the
>>>>> "snapshot" area in the Belchertown skin did not work anymore.
>>>>> [image: weewx01.png]
>>>>>
>>>>> So I uninstalled and reinstalled the Belchertown skin. After that
>>>>> everything worked as desired, but now the wind values were missing. Also
>>>>> the NOAA files were completely missing the wind data.
>>>>>
>>>>> I deleted all NOAA files and hoped that the wind data would be
>>>>> generated. Unfortunately without success.
>>>>> http://www.wetter-norderstedt.de/NOAA/NOAA-2020-07.txt
>>>>>
>>>>> Can someone help me to solve the problem?
>>>>>
>>>>> Best regards, Andre
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> 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/eecad34a-41b2-4087-9221-460fffce4ee9o%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/weewx-user/eecad34a-41b2-4087-9221-460fffce4ee9o%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/d559ad6e-6e58-48aa-9efb-81cea691da02o%40googlegroups.com
>>> <https://groups.google.com/d/msgid/weewx-user/d559ad6e-6e58-48aa-9efb-81cea691da02o%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/4feb1c39-961a-4ee5-a34d-151524e92bbco%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/4feb1c39-961a-4ee5-a34d-151524e92bbco%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/CAPq0zEBDVZQU7YNvEP79%2BGARd%3D9vBMf1fBw8RCiBGV3W1nuc3g%40mail.gmail.com.