My weewx (ver 4.5.1-1) stopped generating reports at 4:00 AM, with no error messages. I've now set debug=1, and turned off my crontab reboot, to try to collect some data when/if it happens again.
Using Davis WMII, serial port, on RPi4 running Raspbian buster, fully up to date. I removed Python 2 from my machine, and am only allowing Python 3. Using latest version of WMII driver for Python3 from Jay Jaeger. Chris Shaker On Tuesday, June 8, 2021 at 10:41:48 AM UTC-7 willefg wrote: > This is part of the log I found which seems to address the issue: (I had > Debug = 3 and saw my passwords are visible...) > > _____________________________________ > > Jun 8 19:35:20 raspberrypi weewx[4486] ERROR weewx.cheetahgenerator: > Generate failed with exception '<type 'exceptions.TypeError'>' > Jun 8 19:35:20 raspberrypi weewx[4486] ERROR weewx.cheetahgenerator: **** > Ignoring template /etc/weewx/skins/Seasons/index.html.tmpl > Jun 8 19:35:20 raspberrypi weewx[4486] ERROR weewx.cheetahgenerator: **** > Reason: 'UnknownType' object does not support indexing > Jun 8 19:35:20 raspberrypi weewx[4486] ERROR weewx.cheetahgenerator: > **** Traceback (most recent call last): > Jun 8 19:35:20 raspberrypi weewx[4486] ERROR weewx.cheetahgenerator: > **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 326, in > generate > Jun 8 19:35:20 raspberrypi weewx[4486] ERROR weewx.cheetahgenerator: > **** unicode_string = compiled_template.respond() > Jun 8 19:35:20 raspberrypi weewx[4486] ERROR weewx.cheetahgenerator: > **** File > "cheetah__etc_weewx_skins_Seasons_index_html_tmpl_1623172843_99_16028.py", > line 210, in respond > Jun 8 19:35:20 raspberrypi weewx[4486] ERROR weewx.cheetahgenerator: > **** File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line > 1615, in _handleCheetahInclude > Jun 8 19:35:20 raspberrypi weewx[4486] ERROR weewx.cheetahgenerator: > **** self._CHEETAH__cheetahIncludes[_includeID].respond(trans) > Jun 8 19:35:20 raspberrypi weewx[4486] ERROR weewx.cheetahgenerator: > **** File "_etc_weewx_skins_Seasons_sensors_inc.py", line 413, in respond > Jun 8 19:35:20 raspberrypi weewx[4486] ERROR weewx.cheetahgenerator: > **** File "_etc_weewx_skins_Seasons_sensors_inc.py", line 165, in > __errorCatcher10 > Jun 8 19:35:20 raspberrypi weewx[4486] ERROR weewx.cheetahgenerator: > **** File "<string>", line 1, in <module> > Jun 8 19:35:20 raspberrypi weewx[4486] ERROR weewx.cheetahgenerator: > **** File "/usr/share/weewx/weewx/units.py", line 1197, in raw > Jun 8 19:35:20 raspberrypi weewx[4486] ERROR weewx.cheetahgenerator: > **** return self.value_t[0] > Jun 8 19:35:20 raspberrypi weewx[4486] ERROR weewx.cheetahgenerator: > **** TypeError: 'UnknownType' object does not support indexing > Jun 8 19:35:21 raspberrypi weewx[4486] ERROR weewx.cheetahgenerator: > Generate failed with exception '<type 'exceptions.TypeError'>' > Jun 8 19:35:21 raspberrypi weewx[4486] ERROR weewx.cheetahgenerator: **** > Ignoring template /etc/weewx/skins/Seasons/telemetry.html.tmpl > Jun 8 19:35:21 raspberrypi weewx[4486] ERROR weewx.cheetahgenerator: **** > Reason: 'UnknownType' object does not support indexing > Jun 8 19:35:21 raspberrypi weewx[4486] ERROR weewx.cheetahgenerator: > **** Traceback (most recent call last): > Jun 8 19:35:21 raspberrypi weewx[4486] ERROR weewx.cheetahgenerator: > **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 326, in > generate > Jun 8 19:35:21 raspberrypi weewx[4486] ERROR weewx.cheetahgenerator: > **** unicode_string = compiled_template.respond() > Jun 8 19:35:21 raspberrypi weewx[4486] ERROR weewx.cheetahgenerator: > **** File > "cheetah__etc_weewx_skins_Seasons_telemetry_html_tmpl_1623172845_86_79357.py", > > line 194, in respond > Jun 8 19:35:21 raspberrypi weewx[4486] ERROR weewx.cheetahgenerator: > **** File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line > 1615, in _handleCheetahInclude > Jun 8 19:35:21 raspberrypi weewx[4486] ERROR weewx.cheetahgenerator: > **** self._CHEETAH__cheetahIncludes[_includeID].respond(trans) > Jun 8 19:35:21 raspberrypi weewx[4486] ERROR weewx.cheetahgenerator: > **** File "_etc_weewx_skins_Seasons_sensors_inc.py", line 413, in respond > Jun 8 19:35:21 raspberrypi weewx[4486] ERROR weewx.cheetahgenerator: > **** File "_etc_weewx_skins_Seasons_sensors_inc.py", line 165, in > __errorCatcher10 > Jun 8 19:35:21 raspberrypi weewx[4486] ERROR weewx.cheetahgenerator: > **** File "<string>", line 1, in <module> > Jun 8 19:35:21 raspberrypi weewx[4486] ERROR weewx.cheetahgenerator: > **** File "/usr/share/weewx/weewx/units.py", line 1197, in raw > Jun 8 19:35:21 raspberrypi weewx[4486] ERROR weewx.cheetahgenerator: > **** return self.value_t[0] > Jun 8 19:35:21 raspberrypi weewx[4486] ERROR weewx.cheetahgenerator: > **** TypeError: 'UnknownType' object does not support indexing > > > > > Op dinsdag 8 juni 2021 om 19:22:30 UTC+2 schreef vince: > >> No idea if you don't set debug=1 and show us some logs. >> >> See the FAQ - >> https://github.com/weewx/weewx/wiki/faq-how-to-report-a-problem >> >> On Tuesday, June 8, 2021 at 9:48:09 AM UTC-7 willefg wrote: >> >>> Hi, >>> >>> My WEEWX setup has been running OK for years. However, two days ago it >>> suddenly stopped generating the index.html and telemetry.html pages of the >>> seasons report. All other graphs are updated normally as do the live data >>> files. >>> >>> Do you have any idea what causes this? Could it be corrupt source files? >>> >>> Thanks for your help! >>> >> -- 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/c1fc4006-7a61-41d0-a9f6-a0e478047376n%40googlegroups.com.
