Is it a line like this that's causing the issue? Not necessarily that line in particular, but as an example. Just thinking from my small programming background and seeing the comment on "float".
$day.rain.sum.nolabel("%.2f",0.0) -- 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/89e2f17f-e7aa-4fc0-a7cb-ba923400b293%40googlegroups.com.