See this thread. https://groups.google.com/g/weewx-user/c/aBWSIwicKkk/m/x2EJlPkzEAAJ
On Fri, Feb 11, 2022 at 1:26 PM 'hctp...@googlemail.com' via weewx-user < weewx-user@googlegroups.com> wrote: > Hi, > I just updated to 4.6.2-1 and got this error. > Any idea where to search? My skin is heavy modified so no standard skin. > But any point what could be wrong and where to search would be helpful. > All worked with 4.5.2....? > > Thanks in advance. > > Regards, > > Christian > > Feb 11 19:42:17 weewx weewx[1479771] ERROR weewx.cheetahgenerator: > Evaluation of template /etc/weewx/skins/Responsive/index.html.tmpl failed > with exception '<class 'TypeError'>' > Feb 11 19:42:17 weewx weewx[1479771] ERROR weewx.cheetahgenerator: **** > Ignoring template /etc/weewx/skins/Responsive/index.html.tmpl > Feb 11 19:42:17 weewx weewx[1479771] ERROR weewx.cheetahgenerator: **** > Reason: %x format: an integer is required, not dict > Feb 11 19:42:17 weewx weewx[1479771] ERROR weewx.cheetahgenerator: **** > Traceback (most recent call last): > Feb 11 19:42:17 weewx weewx[1479771] ERROR weewx.cheetahgenerator: **** > File "/usr/share/weewx/weewx/cheetahgenerator.py", line 344, in generate > Feb 11 19:42:17 weewx weewx[1479771] ERROR weewx.cheetahgenerator: **** > unicode_string = compiled_template.respond() > Feb 11 19:42:17 weewx weewx[1479771] ERROR weewx.cheetahgenerator: **** > File "_etc_weewx_skins_Responsive_index_html_tmpl.py", line 3394, in > respond > Feb 11 19:42:17 weewx weewx[1479771] ERROR weewx.cheetahgenerator: **** > File "/usr/share/weewx/weewx/cheetahgenerator.py", line 819, in filter > Feb 11 19:42:17 weewx weewx[1479771] ERROR weewx.cheetahgenerator: **** > filtered = six.text_type(val) > Feb 11 19:42:17 weewx weewx[1479771] ERROR weewx.cheetahgenerator: **** > File "/usr/share/weewx/weewx/units.py", line 1005, in __str__ > Feb 11 19:42:17 weewx weewx[1479771] ERROR weewx.cheetahgenerator: **** > s = self.toString() > Feb 11 19:42:17 weewx weewx[1479771] ERROR weewx.cheetahgenerator: **** > File "/usr/share/weewx/weewx/units.py", line 998, in toString > Feb 11 19:42:17 weewx weewx[1479771] ERROR weewx.cheetahgenerator: **** > s = self.formatter.toString(self.value_t, self.context, > addLabel=addLabel, > Feb 11 19:42:17 weewx weewx[1479771] ERROR weewx.cheetahgenerator: **** > File "/usr/share/weewx/weewx/units.py", line 688, in toString > Feb 11 19:42:17 weewx weewx[1479771] ERROR weewx.cheetahgenerator: **** > s = self._to_string(val_t, context, addLabel, useThisFormat, > None_string, localize) > Feb 11 19:42:17 weewx weewx[1479771] ERROR weewx.cheetahgenerator: **** > File "/usr/share/weewx/weewx/units.py", line 748, in _to_string > Feb 11 19:42:17 weewx weewx[1479771] ERROR weewx.cheetahgenerator: **** > val_str = self.delta_secs_to_string(val_t[0], format_string) > Feb 11 19:42:17 weewx weewx[1479771] ERROR weewx.cheetahgenerator: **** > File "/usr/share/weewx/weewx/units.py", line 796, in delta_secs_to_string > Feb 11 19:42:17 weewx weewx[1479771] ERROR weewx.cheetahgenerator: **** > ans = locale.format_string(label_format, etime_dict) > Feb 11 19:42:17 weewx weewx[1479771] ERROR weewx.cheetahgenerator: **** > File "/usr/lib/python3.9/locale.py", line 223, in format_string > Feb 11 19:42:17 weewx weewx[1479771] ERROR weewx.cheetahgenerator: **** > new_val.append(_format(perc.group(), val, grouping, monetary)) > Feb 11 19:42:17 weewx weewx[1479771] ERROR weewx.cheetahgenerator: **** > File "/usr/lib/python3.9/locale.py", line 187, in _format > Feb 11 19:42:17 weewx weewx[1479771] ERROR weewx.cheetahgenerator: **** > formatted = percent % value > Feb 11 19:42:17 weewx weewx[1479771] ERROR weewx.cheetahgenerator: **** > TypeError: %x format: an integer is required, not dict > > -- > 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 weewx-user+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/13d8c5f5-683a-4cd9-a917-dd94a0b8432an%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/13d8c5f5-683a-4cd9-a917-dd94a0b8432an%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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEBnid2cjERzUR%3DpbB5-CPhmqG9D5z%3Dxoj%2B-ZJRHLx51pg%40mail.gmail.com.