Many thanks for the continuous develompent of the weewx weather software. Currently I am testing weewx 4.9.1 with python 3.9.2 in a virtual machine. My life system runs weewx 4.4.0 with python 3.7.3.
On the virtual machine, one of my templates generates the following error: TypeError: '<' not supported between instances of 'NoneType' and 'int' Probably the error originates from either of this code: #if $day.wind.vecdir.raw is not None and $day.windSpeed.max.raw is not 0 #if $day.wind.gustdir.raw is not None and $day.wind.max.raw is not 0 Is the error handling different in the 2 python or weewx versions? Or could it come from wind.vecdir which - I believe - is not on the weewx sqlite3 database? How should I correct the code to avoid the error? Any help would be appreciated. Thank you. -- 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/15b78b92-f1c8-49c6-b3e7-946094aee77dn%40googlegroups.com.