Looks like you switched to Python 3 from Python 2.7 and the driver isn't compatible, based on the error message.
On Fri, Apr 9, 2021 at 6:56 AM Chris Thompstone <chris.thompst...@gmail.com> wrote: > Hi Guys, > I have been trying to upgrade to version 4 since my Pi decided to throw a > strop. > Anyway, it's been fairly hardwork. > > I have this message continuous in the logs: > DEBUG weewx.drivers.ultimeter: Decode failed for '----': invalid literal > for int() with base 16: '----' > just coming every 1s or so. > > I also have some other issue which I can't seem to find: > ERROR weewx.cheetahgenerator: Generate failed with exception '<class > 'TypeError'>' > Apr 9 14:45:16 weewx weewx[868] ERROR weewx.cheetahgenerator: **** > Ignoring template /home/weewx/skins/Standard/index.html.tmpl > Apr 9 14:45:16 weewx weewx[868] ERROR weewx.cheetahgenerator: **** > Reason: '>' not supported between instances of 'NoneType' and 'float' > Apr 9 14:45:16 weewx weewx[868] ERROR weewx.cheetahgenerator: **** > Traceback (most recent call last): > Apr 9 14:45:16 weewx weewx[868] ERROR weewx.cheetahgenerator: **** > File "/home/weewx/bin/weewx/cheetahgenerator.py", line 326, in generate > Apr 9 14:45:16 weewx weewx[868] ERROR weewx.cheetahgenerator: **** > unicode_string = compiled_template.respond() > Apr 9 14:45:16 weewx weewx[868] ERROR weewx.cheetahgenerator: **** > File "_home_weewx_skins_Standard_index_html_tmpl.py", line 1378, in respond > Apr 9 14:45:16 weewx weewx[868] ERROR weewx.cheetahgenerator: **** > TypeError: '>' not supported between instances of 'NoneType' and 'float' > > My wind vein has blown off the roof, so wind direction and speed are > probably both None. > Whether this is something to do with it I don't know, but I can't get the > index template generated. > Thanks > Chris > > -- > 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/dd2cd2fd-515b-47b3-a8c5-cb1692508eb8n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/dd2cd2fd-515b-47b3-a8c5-cb1692508eb8n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Peter Quinn (415)794-2264 -- 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/CAA1SM23cWPZgnBZWwfMd-HytFUrnwO2vps%2BsQRR9zThFs5Sj0A%40mail.gmail.com.