Weewx working fine for months after upgrade to latest version and Seasons 
skin then all of a sudden on Thur (12/12) at 7am the index.html file 
stopped updating. However the pngs are being updated and are current (so in 
reality when uploaded to the website are showing correct date - it's just 
the time and date that are incorrect.)

Raspberry Pi - Running Jessie
Weewx v3.9.2
Skin Seasons

Now I see the index.temp.html appear briefly on the pi but then disappear. 
Here are the relevant part of the logs I believe. Note that this error 
didn't occur at the 06:55 page generation.

Dec 12 06:55:50 localhost weewx[217]: ftpgenerator: ftp'd 22 files in 1.39 
>> seconds
>
> Dec 12 07:00:23 localhost weewx[217]: manager: Added record 2019-12-12 
>> 07:00:00 GMT (1576134000) to database 'weewx.sdb'
>
> Dec 12 07:00:23 localhost rsyslogd-2007: action 'action 17' suspended, 
>> next retry is Thu Dec 12 07:01:53 2019 [try http://www.rsyslog.com/e/2007 ]
>
> Dec 12 07:00:23 localhost weewx[217]: manager: Added record 2019-12-12 
>> 07:00:00 GMT (1576134000) to daily summary in 'weewx.sdb'
>
> Dec 12 07:00:24 localhost weewx[217]: restx: Wunderground-PWS: Published 
>> record 2019-12-12 07:00:00 GMT (1576134000)
>
> Dec 12 07:00:38 localhost weewx[217]: ****  Traceback (most recent call 
>> last):
>
> Dec 12 07:00:38 localhost weewx[217]: ****    File 
>> "/usr/share/weewx/weewx/cheetahgenerator.py", line 332, in generate
>
> Dec 12 07:00:38 localhost weewx[217]: ****      
>> fd.write(str(compiled_template))
>
> Dec 12 07:00:38 localhost weewx[217]: ****    File 
>> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in 
>> __str__
>
> Dec 12 07:00:38 localhost weewx[217]: ****      rc = getattr(self, 
>> mainMethName)()
>
> Dec 12 07:00:38 localhost weewx[217]: ****    File 
>> "_etc_weewx_skins_Seasons_index_html_tmpl.py", line 217, in respond
>
> Dec 12 07:00:38 localhost weewx[217]: ****    File 
>> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1615, in 
>> _handleCheetahInclude
>
> Dec 12 07:00:38 localhost weewx[217]: ****      
>> self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
>
> Dec 12 07:00:38 localhost weewx[217]: ****    File 
>> "_etc_weewx_skins_Seasons_sensors_inc.py", line 411, in respond
>
> Dec 12 07:00:39 localhost weewx[217]: ****    File 
>> "_etc_weewx_skins_Seasons_sensors_inc.py", line 193, in __errorCatcher14
>
> Dec 12 07:00:39 localhost weewx[217]: ****    File "<string>", line 1, in 
>> <module>
>
> Dec 12 07:00:39 localhost weewx[217]: ****    File 
>> "/usr/share/weewx/weewx/units.py", line 967, in raw
>
> Dec 12 07:00:39 localhost weewx[217]: ****      return 
>> self._raw_value_tuple[0]
>
> Dec 12 07:00:39 localhost weewx[217]: ****    File 
>> "/usr/share/weewx/weewx/units.py", line 991, in _raw_value_tuple
>
> Dec 12 07:00:39 localhost weewx[217]: ****      vtx = 
>> self.converter.convert(self.value_t)
>
> Dec 12 07:00:39 localhost weewx[217]: ****    File 
>> "/usr/share/weewx/weewx/units.py", line 778, in convert
>
> Dec 12 07:00:39 localhost weewx[217]: ****      if val_t[1] is None and 
>> val_t[2] is None:
>
> Dec 12 07:00:39 localhost weewx[217]: ****  TypeError: 'UnknownType' 
>> object does not support indexing
>
> Dec 12 07:00:39 localhost weewx[217]: ****  Traceback (most recent call 
>> last):
>
> Dec 12 07:00:39 localhost weewx[217]: ****    File 
>> "/usr/share/weewx/weewx/cheetahgenerator.py", line 332, in generate
>
> Dec 12 07:00:39 localhost weewx[217]: ****      
>> fd.write(str(compiled_template))
>
> Dec 12 07:00:39 localhost weewx[217]: ****    File 
>> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in 
>> __str__
>
> Dec 12 07:00:39 localhost weewx[217]: ****      rc = getattr(self, 
>> mainMethName)()
>
> Dec 12 07:00:39 localhost weewx[217]: ****    File 
>> "_etc_weewx_skins_Seasons_telemetry_html_tmpl.py", line 194, in respond
>
> Dec 12 07:00:39 localhost weewx[217]: ****    File 
>> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1615, in 
>> _handleCheetahInclude
>
> Dec 12 07:00:39 localhost weewx[217]: ****      
>> self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
>
> Dec 12 07:00:39 localhost weewx[217]: ****    File 
>> "_etc_weewx_skins_Seasons_sensors_inc.py", line 411, in respond
>
> Dec 12 07:00:39 localhost weewx[217]: ****    File 
>> "_etc_weewx_skins_Seasons_sensors_inc.py", line 193, in __errorCatcher14
>
> Dec 12 07:00:39 localhost weewx[217]: ****    File "<string>", line 1, in 
>> <module>
>
> Dec 12 07:00:39 localhost weewx[217]: ****    File 
>> "/usr/share/weewx/weewx/units.py", line 967, in raw
>
> Dec 12 07:00:39 localhost weewx[217]: ****      return 
>> self._raw_value_tuple[0]
>
> Dec 12 07:00:39 localhost weewx[217]: ****    File 
>> "/usr/share/weewx/weewx/units.py", line 991, in _raw_value_tuple
>
> Dec 12 07:00:39 localhost weewx[217]: ****      vtx = 
>> self.converter.convert(self.value_t)
>
> Dec 12 07:00:39 localhost weewx[217]: ****    File 
>> "/usr/share/weewx/weewx/units.py", line 778, in convert
>
> Dec 12 07:00:39 localhost weewx[217]: ****      if val_t[1] is None and 
>> val_t[2] is None:
>
> Dec 12 07:00:39 localhost weewx[217]: ****  TypeError: 'UnknownType' 
>> object does not support indexing
>
> Dec 12 07:00:42 localhost weewx[217]: cheetahgenerator: Generated 6 files 
>> for report SeasonsReport in 18.03 seconds
>
>

Any one any ideas what is causing this or how to debug any further?
(Please note that from my googling the line *Dec 12 07:00:23 localhost 
rsyslogd-2007: action 'action 17' suspended, next retry is Thu Dec 12 
07:01:53 2019 [try http://www.rsyslog.com/e/2007 * I think is related to 
log rotation and was happening before this incident started)

TIA
Neil


 

-- 
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/66784fcb-7364-4844-9f80-df55d7d0a29a%40googlegroups.com.

Reply via email to