I've not been able to find the exact issue I have been experiencing, though it seems some error messages ay be quite generic and therefore not wildly helpful.
I'm running weewx 3.82 on a raspberry Pi against an Irox branded TE923, using the standard skin though somewhat modified to my taste. It all works remarkably well, having taken over years of data from weatherview, probably similar to many users of weewx. The site is here: https://www.tinslave.co.uk/weather/ All works really well, even if the anemometer does under-read, until the weather station console drops a connection with one of the sensors, which happens from time to time, especially in wet weather. When that happens, the five minute wee_report run fails, and the weather page is not refreshed, with the series of error messages as per the truncated weewx.log file attached. If I press the little button on the weather station console to re-establish the sensor connection, after a few minutes the report generation continues as normal, with a gap in the missing sensor data showing in the graphs. What I would prefer to happen under weewx is that the graphs continue to be generated, even with the gaps in the sensor detail. It "feels" as though there might be some setting or tweak that could allow wee_report to run even with missing sensor data, but my python skills are inadequate. Another option may be to send a command back to the console to start the process to re-establish the sensor connection, if that is possible, and run a watch process for when wee_report fails, but that seems overkill. Does anyone have any suggestions? -- 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]. For more options, visit https://groups.google.com/d/optout.
Dec 15 12:10:20 home weewx[2058]: manager: Added record 2018-12-15 12:10:00 GMT (1544875800) to database 'weewx.sdb' Dec 15 12:10:20 home weewx[2058]: manager: Added record 2018-12-15 12:10:00 GMT (1544875800) to daily summary in 'weewx.sdb' Dec 15 12:10:22 home weewx[2058]: cheetahgenerator: Generate failed with exception '<type 'exceptions.TypeError'>' Dec 15 12:10:22 home weewx[2058]: cheetahgenerator: **** Ignoring template /etc/weewx/skins/Standard/index.html.tmpl Dec 15 12:10:22 home weewx[2058]: cheetahgenerator: **** Reason: unsupported operand type(s) for *: 'NoneType' and 'float' Dec 15 12:10:22 home weewx[2058]: **** Traceback (most recent call last): Dec 15 12:10:22 home weewx[2058]: **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 330, in generate Dec 15 12:10:22 home weewx[2058]: **** print >> _file, compiled_template Dec 15 12:10:22 home weewx[2058]: **** File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in __str__ Dec 15 12:10:22 home weewx[2058]: **** rc = getattr(self, mainMethName)() Dec 15 12:10:22 home weewx[2058]: **** File "_etc_weewx_skins_Standard_index_html_tmpl.py", line 894, in respond Dec 15 12:10:22 home weewx[2058]: **** TypeError: unsupported operand type(s) for *: 'NoneType' and 'float' Dec 15 12:10:22 home weewx[2058]: cheetahgenerator: Generated 10 files for report StandardReport in 1.72 seconds Dec 15 12:10:23 home weewx[2058]: imagegenerator: Generated 8 images for StandardReport in 1.01 seconds Dec 15 12:10:23 home weewx[2058]: copygenerator: copied 0 files to /var/www/weather Dec 15 12:10:35 home weewx[2058]: ftpgenerator: ftp'd 18 files in 12.18 seconds ------------------------------ Dec 15 12:15:24 home weewx[2058]: manager: Added record 2018-12-15 12:15:00 GMT (1544876100) to database 'weewx.sdb' Dec 15 12:15:24 home weewx[2058]: manager: Added record 2018-12-15 12:15:00 GMT (1544876100) to daily summary in 'weewx.sdb' Dec 15 12:15:26 home weewx[2058]: cheetahgenerator: Generate failed with exception '<type 'exceptions.TypeError'>' Dec 15 12:15:26 home weewx[2058]: cheetahgenerator: **** Ignoring template /etc/weewx/skins/Standard/index.html.tmpl Dec 15 12:15:26 home weewx[2058]: cheetahgenerator: **** Reason: unsupported operand type(s) for *: 'NoneType' and 'float' Dec 15 12:15:26 home weewx[2058]: **** Traceback (most recent call last): Dec 15 12:15:26 home weewx[2058]: **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 330, in generate Dec 15 12:15:26 home weewx[2058]: **** print >> _file, compiled_template Dec 15 12:15:26 home weewx[2058]: **** File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in __str__ Dec 15 12:15:26 home weewx[2058]: **** rc = getattr(self, mainMethName)() Dec 15 12:15:26 home weewx[2058]: **** File "_etc_weewx_skins_Standard_index_html_tmpl.py", line 894, in respond Dec 15 12:15:26 home weewx[2058]: **** TypeError: unsupported operand type(s) for *: 'NoneType' and 'float' Dec 15 12:15:26 home weewx[2058]: cheetahgenerator: Generated 10 files for report StandardReport in 1.80 seconds Dec 15 12:15:27 home weewx[2058]: imagegenerator: Generated 8 images for StandardReport in 1.02 seconds Dec 15 12:15:27 home weewx[2058]: copygenerator: copied 0 files to /var/www/weather Dec 15 12:15:39 home weewx[2058]: ftpgenerator: ftp'd 18 files in 12.18 seconds
