> Replace /usr/share/weewx/weecfg/database.py with this version.
it works without any error. thanks


 

> On Sun, Dec 25, 2022 at 9:44 AM Joachim Puttkammer <[email protected]> 
> wrote:
>
>> Raspi4, Debian Buster, weewx 4.9.1, two instancen
>> Hello,
>> the command ended with an error:
>>
>> sudo wee_database --config=/etc/weewx/dav.conf --update --dry-run
>> Using configuration file /etc/weewx/dav.conf
>> Using database binding 'wx_binding', which is bound to database 
>> 'archive_sqlite'
>> Preparing interval weighting fix...
>> Daily summary tables are at version 4.0
>> Interval weighting fix is not required.
>> Preparing maximum windSpeed fix...
>> This is a dry run: maximum windSpeed will be calculated but not saved.
>> Traceback (most recent call last):
>>   File "/usr/share/weewx/wee_database", line 1168, in <module>
>>     main()
>>   File "/usr/share/weewx/wee_database", line 232, in main
>>     update(config_dict, db_binding, options)
>>   File "/usr/share/weewx/wee_database", line 765, in update
>>     _fix_wind(config_dict, db_binding, options)
>>   File "/usr/share/weewx/wee_database", line 887, in _fix_wind
>>     wind_obj.run()
>>   File "/usr/share/weewx/weecfg/database.py", line 199, in run
>>     self.do_fix()
>>   File "/usr/share/weewx/weecfg/database.py", line 235, in do_fix
>>     for day_span in self.genSummaryDaySpans(tr_start_ts, tr_stop_ts, 
>> 'windSpeed'):
>>   File "/usr/share/weewx/weecfg/database.py", line 102, in 
>> genSummaryDaySpans
>>     yield weeutil.weeutil.archiveDaySpan(_row[0], grace=0)
>> TypeError: archiveDaySpan() got an unexpected keyword argument 'grace'
>>
>> What to do?
>>
>> Merry Christmas
>> Joachim
>>
>> -- 
>> 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/9507a9ee-4027-4e30-9a22-3c02b3218337n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/9507a9ee-4027-4e30-9a22-3c02b3218337n%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/0e7123ac-70ae-4f6b-b7e4-a0fe8ed3676en%40googlegroups.com.

Reply via email to