Re: [weewx-user] Database Problem

2020-05-28 Thread Michi Kaa
Also a big "thank you" for all the work and the support here. I guess I don't have to ask myself anymore, if there is a difference between weewx.manager.DaySummaryManager and weewx.wxmanager.WXDaySummaryManager Am Donnerstag, 28. Mai 2020 15:36:55 UTC+2 schrieb Tom Keffer: > > Fixed in commit 6

Re: [weewx-user] Database Problem

2020-05-28 Thread Tom Keffer
Fixed in commit 6e84302 . I also fixed the online version at weewx.com. On Thu, May 28, 2020 at 6:31 AM Tom Keffer wrote: > Yes, unfortunately they are typos. They should read > > manager = weewx.manager.DaySummaryMa

Re: [weewx-user] Database Problem

2020-05-28 Thread Tom Keffer
Yes, unfortunately they are typos. They should read manager = weewx.manager.DaySummaryManager. Thanks for pointing this out! -tk On Thu, May 28, 2020 at 1:23 AM Michi Kaa wrote: > Today I moved to user.extensions.schema_extended, but when i ran > --rebuild-daily (or reconfigure, I really can'

Re: [weewx-user] Database Problem

2020-05-28 Thread John Kline
You are missing the bin directory in the path you say you checked. Would you check /usr/share/weewx/bin/weewx/wxmanager.py? The class is there. See: https://github.com/weewx/weewx/blob/master/bin/weewx/manager.py > On May 28, 2020, at 1:23 AM, Michi Kaa wrote: > >  > Today I moved to user

Re: [weewx-user] Database Problem

2020-05-28 Thread Michi Kaa
Today I moved to user.extensions.schema_extended, but when i ran --rebuild-daily (or reconfigure, I really can't remember) I got an error that there is no "weewx.wxmanager.DaySummaryManager". I checked /usr/share/weewx/weewx/wxmanager.py and there is no such class. But there is "weewx.manager.D

Re: [weewx-user] Database Problem

2020-05-27 Thread Tom Keffer
There are now two ways of specifying a database schema. In the old way, the presence of 'wind' was detected by setting the database manager to WXDaySummaryManager. In the new way, it is explicitly mentioned in the schema. Unfortunately, you're mixing the two ways. If you wish to use the old way,

[weewx-user] Database Problem

2020-05-27 Thread Phil Owers
Have just tried to add avg_distance and lightning_strikes to the weewx.sdb. schema by adding import schemas.wview schema_extended = schemas.wview.schema + [('avg_distance', 'REAL'),('lightning_strikes', 'REAL')] in the extension.py file and in the weewx.conf changed schema = schemas.wview_extend