This will be due to some errant behaviour in one of the WeeWX-Saratoga SLEs 
that most likely has some of the characteristics of the since.py issue. I 
will need to work through and fix and will update WeeWX-Saratoga in due 
course.

Gary

On Monday, 7 February 2022 at 11:39:08 UTC+10 [email protected] wrote:

> Are you using the extension "since"?
>
> Take a look at this thread 
> <https://groups.google.com/g/weewx-user/c/BKNK5yDo_1w> and see if it 
> helps. 
>
>
> On Sun, Feb 6, 2022 at 5:25 PM Al <[email protected]> wrote:
>
>> Immediately after upgrading to weewx 4.6.0 I am getting the following 
>> errors:
>>
>> Feb 06 17:00:27 p4-1 weewxd[17341]: weewx[17341] ERROR 
>> weewx.cheetahgenerator: Evaluation of template 
>> /opt/weewx/skins/WEEWXtags/WEEWXtags.php.tmpl failed with exception 
>> '<class 'KeyError'>'
>> Feb 06 17:00:27 p4-1 weewxd[17341]: weewx[17341] ERROR 
>> weewx.cheetahgenerator: **** Ignoring template 
>> /opt/weewx/skins/WEEWXtags/WEEWXtags.php.tmpl
>> Feb 06 17:00:27 p4-1 weewxd[17341]: weewx[17341] ERROR 
>> weewx.cheetahgenerator: **** Reason: 'trend'
>> Feb 06 17:00:27 p4-1 weewxd[17341]: weewx[17341] ERROR 
>> weewx.cheetahgenerator: ****  Traceback (most recent call last):
>> Feb 06 17:00:27 p4-1 weewxd[17341]: weewx[17341] ERROR 
>> weewx.cheetahgenerator: ****    File 
>> "/opt/weewx/bin/weewx/cheetahgenerator.py", line 344, in generate
>> Feb 06 17:00:27 p4-1 weewxd[17341]: weewx[17341] ERROR 
>> weewx.cheetahgenerator: ****      unicode_string = 
>> compiled_template.respond()
>> Feb 06 17:00:27 p4-1 weewxd[17341]: weewx[17341] ERROR 
>> weewx.cheetahgenerator: ****    File 
>> "_opt_weewx_skins_WEEWXtags_WEEWXtags_php_tmpl.py", line 669, in respond
>> Feb 06 17:00:27 p4-1 weewxd[17341]: weewx[17341] ERROR 
>> weewx.cheetahgenerator: ****    File "/opt/weewx/bin/weewx/tags.py", 
>> line 65, in trend
>> Feb 06 17:00:27 p4-1 weewxd[17341]: weewx[17341] ERROR 
>> weewx.cheetahgenerator: ****      time_grace = 
>> to_int(self.option_dict['trend'].get('time_grace', 300))
>> Feb 06 17:00:27 p4-1 weewxd[17341]: weewx[17341] ERROR 
>> weewx.cheetahgenerator: ****  KeyError: 'trend'
>> Feb 06 17:00:27 p4-1 weewxd[17341]: weewx[17341] INFO 
>> weewx.cheetahgenerator: Generated 0 files for report WEEWXtagsReport in 
>> 3.30 seconds
>> Feb 06 17:00:27 p4-1 weewxd[17341]: weewx[17341] ERROR weewx.restx: 
>> Wunderground-PWS: Failed to publish record 2022-02-06 17:00:00 PST 
>> (1644195600): Failed upload after 3 tries
>>
>> WEEWXtags.php.tmpl is the latest version (0.1.2, 25 November 2021)
>>
>> Any ideas as to a fix?
>>
>> Thanks,
>>
>> Al
>>
>> -- 
>> 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/a869600c-4d50-ecd9-3834-a2f086d1abd8%40gmail.com
>> .
>>
>

-- 
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/a966ed03-b572-42fc-ac88-b692efbfe0c0n%40googlegroups.com.

Reply via email to