I had wind pretty much all night with some gust and still getting the error. Also, I am not understanding 100% how this extension works. I have installed the Stacked Windrose also, it is putting the .png file in the /var/www/html/weewx folder, but when I open my local index.html in Chromium, it does not appear. Can only view when I click on picture. Are the Highcharts and windrose supposed to be incorporated into the html file?
Thanks! On Wednesday, October 14, 2020 at 5:40:26 AM UTC-5 gjr80 wrote: > The stack trace provided indicates that you have one or more archive > records where windSpeed is None, which in turn suggests that during the > corresponding archive periods you did not receive any loop packets > containing windSpeed data. Whilst unusual this is not unheard of and the > highcharts extension should be able to handle such situations. I will need > to make some modification to the extension, on first glance it looks > straightforward so hopefully I will release a fix in a day or so, if it's > more complex it might take longer. Will post back here. > > Gary > > > On Wednesday, 14 October 2020 13:47:30 UTC+10, James Fritz wrote: >> >> ``Oct 13 22:45:23 raspberryWeather weewx[20059] ERROR weewx.reportengine: >> Caught unrecoverable exception in generator >> 'weewx.cheetahgenerator.CheetahGenerator' >> Oct 13 22:45:23 raspberryWeather weewx[20059] ERROR weewx.reportengine: >> **** '>' not supported between instances of 'NoneType' and 'float' >> Oct 13 22:45:23 raspberryWeather weewx[20059] ERROR weewx.reportengine: >> **** Traceback (most recent call last): >> Oct 13 22:45:23 raspberryWeather weewx[20059] ERROR weewx.reportengine: >> **** File "/usr/share/weewx/weewx/reportengine.py", line 197, in >> run >> Oct 13 22:45:23 raspberryWeather weewx[20059] ERROR weewx.reportengine: >> **** obj.start() >> Oct 13 22:45:23 raspberryWeather weewx[20059] ERROR weewx.reportengine: >> **** File "/usr/share/weewx/weewx/reportengine.py", line 280, in >> start >> Oct 13 22:45:23 raspberryWeather weewx[20059] ERROR weewx.reportengine: >> **** self.run() >> Oct 13 22:45:23 raspberryWeather weewx[20059] ERROR weewx.reportengine: >> **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 150, >> in run >> Oct 13 22:45:23 raspberryWeather weewx[20059] ERROR weewx.reportengine: >> **** ngen = self.generate(gen_dict[section_name], self.gen_ts) >> Oct 13 22:45:23 raspberryWeather weewx[20059] ERROR weewx.reportengine: >> **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 220, >> in generate >> Oct 13 22:45:23 raspberryWeather weewx[20059] ERROR weewx.reportengine: >> **** ngen += self.generate(section[subsection], gen_ts) >> Oct 13 22:45:23 raspberryWeather weewx[20059] ERROR weewx.reportengine: >> **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 220, >> in generate >> Oct 13 22:45:23 raspberryWeather weewx[20059] ERROR weewx.reportengine: >> **** ngen += self.generate(section[subsection], gen_ts) >> Oct 13 22:45:23 raspberryWeather weewx[20059] ERROR weewx.reportengine: >> **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 309, >> in generate >> Oct 13 22:45:23 raspberryWeather weewx[20059] ERROR weewx.reportengine: >> **** default_binding) >> Oct 13 22:45:23 raspberryWeather weewx[20059] ERROR weewx.reportengine: >> **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 376, >> in _getSearchList >> Oct 13 22:45:23 raspberryWeather weewx[20059] ERROR weewx.reportengine: >> **** searchList += obj.get_extension_list(timespan, db_lookup) >> Oct 13 22:45:23 raspberryWeather weewx[20059] ERROR weewx.reportengine: >> **** File "/usr/share/weewx/user/highchartssearchlist.py", line >> 1243, in get_extension_list >> Oct 13 22:45:23 raspberryWeather weewx[20059] ERROR weewx.reportengine: >> **** period) >> Oct 13 22:45:23 raspberryWeather weewx[20059] ERROR weewx.reportengine: >> **** File "/usr/share/weewx/user/highchartssearchlist.py", line >> 961, in calc_windrose >> Oct 13 22:45:23 raspberryWeather weewx[20059] ERROR weewx.reportengine: >> **** max_speed = max(speed_vec_vt.value) >> Oct 13 22:45:23 raspberryWeather weewx[20059] ERROR weewx.reportengine: >> **** TypeError: '>' not supported between instances of 'NoneType' >> and 'float' >> Oct 13 22:45:23 raspberryWeather weewx[20059] ERROR weewx.reportengine: >> **** Generator terminated``` >> >> -- 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/6dd009c7-3d35-450f-9031-77f71909b70en%40googlegroups.com.
