Re: [weewx-development] 4.0.0b11: table archive_day_wind is not created anymore

2020-02-10 Thread Thomas Keffer
Hmmm, I thought this was fixed in commit
https://github.com/weewx/weewx/commit/ba096b752493134442b222c5c4fa4b49bcef1d84,
now four months ago. Have you generated the new database using V4.0.0b11,
or an earlier version, which, perhaps, contained the bug?

Also, can you take a look in your weewx.conf and see what type of schema
you have? This will look something like:

[DataBindings]

[[wx_binding]]
...
# The schema defines the structure of the database.
# It is *only* used when the database is created.
schema = schemas.wview_extended.schema



On Mon, Feb 10, 2020 at 10:33 AM Bernhard R.  wrote:

> Hi there,
>
> I guess, I stumbled over a regression somewhere between 4.0.0b6 and
> 4.0.0b11.
>
> if I do
> wee_database /etc/weewx/weewx.conf --drop-daily
> and afterwards
> wee_database /etc/weewx/weewx.conf --rebuild-daily
>
> then table *archive_day_wind* is NOT created anymore when using weewx
> 4.0.0.b11
> also letting weewx create the statistics upon start (after dropping them
> once again) will not create this table either.
>
> However, the table still seems to be referenced by the included default
> skins, resulting in errors upon cheetahgenerator runs.
>
> When I revert to version 4.0.0b6 and repeat the process, the table
> archive_day_wind is created just fine.
>
> Is this intentional (and the skin templates need to be adjusted
> accodingly) or is this a regression?
>
> anyways, Thanks for the great work done so far,
>
> Bernhard :-)
>
> --
> You received this message because you are subscribed to the Google Groups
> "weewx-development" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to weewx-development+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-development/b245c089-33f8-45ac-bf5e-80f3ed62c75e%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-development+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/CAPq0zEDuRiD6w1oX1Un-zrxoe_%2BFvTevCTaksc5FCNrLsQKqiA%40mail.gmail.com.


[weewx-development] 4.0.0b11: table archive_day_wind is not created anymore

2020-02-10 Thread Bernhard R.
Hi there,

I guess, I stumbled over a regression somewhere between 4.0.0b6 and 
4.0.0b11.

if I do 
wee_database /etc/weewx/weewx.conf --drop-daily
and afterwards 
wee_database /etc/weewx/weewx.conf --rebuild-daily

then table *archive_day_wind* is NOT created anymore when using weewx 
4.0.0.b11
also letting weewx create the statistics upon start (after dropping them 
once again) will not create this table either.

However, the table still seems to be referenced by the included default 
skins, resulting in errors upon cheetahgenerator runs.

When I revert to version 4.0.0b6 and repeat the process, the table 
archive_day_wind is created just fine.

Is this intentional (and the skin templates need to be adjusted accodingly) 
or is this a regression?

anyways, Thanks for the great work done so far,

Bernhard :-)

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-development+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/b245c089-33f8-45ac-bf5e-80f3ed62c75e%40googlegroups.com.