Thanks Thomas, That gives me something to go open
I can discount the issue with index.html.tmpl because whilst I have modified it I simply copy it in from my source control so is identical every time. Which leave the final issue, running weewxd from an unpacked tar file. But I just realised that was my making a rookie error and copying and pasting the wrong command from the installation guide, I should of course have been running sudo ./setup.py install. when I got the last error. Which brings me back to where I started. Everything is currently running perfectly but at some point I expect the system to stop and be unable to restart with the error messages at the top of this thread On Sunday, March 8, 2020 at 12:35:58 PM UTC, Thomas Keffer wrote: > > Some comments that might help you debug. > > 1. The error message > > TypeError: '>' not supported between instances of 'NoneType' and 'float' > > > is not to be taken literally. It means that you are comparing two > variables, one of which has Python value None, the other a floating point > number. > > 2. Most likely, there is some comparison in the file > skins/Seasons/index.html.tmpl that is not checking first whether one of the > numbers might be None. I know you say that you have not changed the > templates, but a comparison of this sort must be in there, somewhere. > > 3. The file _home_weewx_skins_Seasons_index_html_tmpl.py is a temporary > file generated by Cheetah from the template index.html.tmpl. You will not > find it in your directory structure, as it is deleted by Cheetah > immediately after use. > > 4. The error > > KeyError: 'unspecified' > > > is because you tried to run weewxd from the unpacked tar file. The type of > weather station has not been specified yet in the tar file, hence the > error. You must do "setup install" first. > > -tk > >> >> -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/5d5d4e92-c435-4ac7-9d88-a6cc2792d363%40googlegroups.com.
