Yep, that fixed it.
Now to fix the startup issue that's appeared...

On Thursday, January 7, 2021 at 10:07:02 PM UTC+10 Russell Cutcliffe wrote:

> Sorry, logfile snippet at https://pastebin.com/fxrcgSLg
>
> Russell C
>
> On Thursday, January 7, 2021 at 10:00:29 PM UTC+10 Russell Cutcliffe wrote:
>
>> Hi, I just upgraded to Weewx 4.3.0 via apt upgrade in 
>> Ubuntu 20.04.1, and now Weewx isn't starting.
>>
>> Syslog gives this:
>> $ sudo weewxd --config /etc/weewx/weewx.conf
>> Daily summaries at V2.0. Patching to V3.0
>> Traceback (most recent call last):0:00 AEST (1605535200)
>>   File "/usr/share/weewx/weewxd", line 261, in <module>
>>     main()
>>   File "/usr/share/weewx/weewxd", line 148, in main
>>     engine = weewx.engine.StdEngine(config_dict)
>>   File "/usr/share/weewx/weewx/engine.py", line 93, in __init__
>>     self.loadServices(config_dict)
>>   File "/usr/share/weewx/weewx/engine.py", line 161, in loadServices
>>     obj = weeutil.weeutil.get_object(svc)(self, config_dict)
>>   File "/usr/share/weewx/weewx/wxservices.py", line 38, in __init__
>>     self.db_manager = 
>> engine.db_binder.get_manager(data_binding=data_binding, initialize=True)
>>   File "/usr/share/weewx/weewx/manager.py", line 534, in get_manager
>>     self.manager_cache[data_binding] = open_manager(manager_dict, 
>> initialize)
>>   File "/usr/share/weewx/weewx/manager.py", line 682, in open_manager
>>     return manager_cls.open_with_create(manager_dict['database_dict'],
>>   File "/usr/share/weewx/weewx/manager.py", line 164, in open_with_create
>>     dbmanager = cls(connection, table_name=table_name, schema=schema)
>>   File "/usr/share/weewx/weewx/manager.py", line 831, in __init__
>>     self.patch_sums()
>>   File "/usr/share/weewx/weewx/manager.py", line 1255, in patch_sums
>>     self.recalculate_weights(start_d=datetime.date(2020,6,1))
>>   File "/usr/share/weewx/weewx/manager.py", line 1182, in 
>> recalculate_weights
>>     self._do_tranche(mark_d, end_of_tranche_d, weight_fn, progress_fn)
>>   File "/usr/share/weewx/weewx/manager.py", line 1215, in _do_tranche
>>     weight = weight_fn(self, rec)
>>   File "/usr/share/weewx/weewx/manager.py", line 1365, in _calc_weight
>>     raise IntervalError(
>> weewx.manager.IntervalError: Non-positive value for record field 
>> 'interval': 0
>>
>> I'm using the interceptor driver (with indifferent results of late) but 
>> it was running, at least before the upgrade.
>> Hopefully I'm missing something simple..
>> 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/788fbb4f-ff6e-4f52-90f3-77a30b47086fn%40googlegroups.com.

Reply via email to