I recently moved my Weewx to a Pi3 (from Pi2) and a new sdcard after issues 
on the old one.
OS is dietpi (Debian 11)
The reinstall went mostly fine but the cheetahgenerator is having problems 
processing the weekly tmpl page of my site and I'm having difficulty 
finding the offending line.
The error is :

May 16 14:50:17 WeatherStation python3[347]: weewx[347] ERROR 
weewx.cheetahgenerator: Evaluation of template 
/etc/weewx/skins/Sofaskin/week.html.tmpl failed with exception '<class 
'TypeError'>'
May 16 14:50:17 WeatherStation python3[347]: weewx[347] ERROR 
weewx.cheetahgenerator: **** Ignoring template 
/etc/weewx/skins/Sofaskin/week.html.tmpl
May 16 14:50:17 WeatherStation python3[347]: weewx[347] ERROR 
weewx.cheetahgenerator: **** Reason: '<' not supported between instances of 
'AggTypeBinder' and 'int'
May 16 14:50:17 WeatherStation python3[347]: weewx[347] ERROR 
weewx.cheetahgenerator: ****  Traceback (most recent call last):
May 16 14:50:17 WeatherStation python3[347]: weewx[347] ERROR 
weewx.cheetahgenerator: ****    File 
"/usr/share/weewx/weewx/cheetahgenerator.py", line 348, in generate
May 16 14:50:17 WeatherStation python3[347]: weewx[347] ERROR 
weewx.cheetahgenerator: ****      unicode_string = 
compiled_template.respond()
May 16 14:50:17 WeatherStation python3[347]: weewx[347] ERROR 
weewx.cheetahgenerator: ****    File 
"cheetah__etc_weewx_skins_Sofaskin_week_html_tmpl_1652707218_3933926_51403.py", 
line 611, in respond
May 16 14:50:17 WeatherStation python3[347]: weewx[347] ERROR 
weewx.cheetahgenerator: ****  TypeError: '<' not supported between 
instances of 'AggTypeBinder' and 'int'

The week.html.tmpl file it references isnt 611 lines long so i dont know 
where to look.
The (temporary?) py file it references  is somewhere i cannot find -. 
"cheetah__etc_weewx_skins_Sofaskin_week_html_tmpl_1652707218_3933926_51403.py"

This was working previously on the old install using python 2.
Has anyone any suggestion on how to tackle this?


-- 
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/74db6b27-898b-4ca3-8ef6-45d9ac9d2830n%40googlegroups.com.

Reply via email to