It seems weewx-simple does not (yet) support Python 3. > On Jan 24, 2021, at 12:46 PM, sc.lep...@gmail.com <sc.leprov...@gmail.com> > wrote: > > Hello > > I used the simple template from https://github.com/matthewwall/weewx-simple > > My platform > Debian10 / Python 3 /last Weewx (4.3.0) > > When I activate simple template I ve this error : > > Jan 24 21:20:16 debian-weewx weewx-WMR200[13641] ERROR > weewx.cheetahgenerator: Generate failed with exception '<class 'TypeError'>' > Jan 24 21:20:16 debian-weewx weewx-WMR200[13641] ERROR > weewx.cheetahgenerator: **** Ignoring template > /etc/weewx/skins/simple/index.html.tmpl > Jan 24 21:20:16 debian-weewx weewx-WMR200[13641] ERROR > weewx.cheetahgenerator: **** Reason: '>' not supported between instances of > 'str' and 'int' > Jan 24 21:20:16 debian-weewx weewx-WMR200[13641] ERROR > weewx.cheetahgenerator: **** Traceback (most recent call last): > Jan 24 21:20:16 debian-weewx weewx-WMR200[13641] ERROR > weewx.cheetahgenerator: **** File > "/usr/share/weewx/weewx/cheetahgenerator.py", line 323, in generate > Jan 24 21:20:16 debian-weewx weewx-WMR200[13641] ERROR > weewx.cheetahgenerator: **** unicode_string = compiled_template.respond() > Jan 24 21:20:16 debian-weewx weewx-WMR200[13641] ERROR > weewx.cheetahgenerator: **** File > "cheetah__etc_weewx_skins_simple_index_html_tmpl_1611519616_295277_76818.py", > line 1554, in respond > Jan 24 21:20:16 debian-weewx weewx-WMR200[13641] ERROR > weewx.cheetahgenerator: **** TypeError: '>' not supported between instances > of 'str' and 'int' > Jan 24 21:20:16 debian-weewx weewx-WMR200[13641] INFO weewx.cheetahgenerator: > Generated 0 files for report simple in 0.08 seconds > > Can someone help me ? > > Thanks > Stéphane > -- > 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/c48a3315-cee6-41ae-9218-c7c6a6926b67n%40googlegroups.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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/A2A61D1E-0E00-4470-A971-9676C9C0084A%40johnkline.com.