Hi all,
Everything was running just fine until 6 days ago and now this happens...
Apr 21 08:40:15 metoffice weewx[16823] INFO weewx.restx: MQTT: Published
record 2021-04-21 08:40:15 AEST (1618958415)
Apr 21 08:40:15 metoffice /weewxd: AqiService: ValueError AQI
calculation for pm2_5 on 1618958400 failed: AQI could not be calculated
for the observations
Apr 21 08:40:15 metoffice /weewxd: AqiService: not storing record for
dateTime 1618958400
Apr 21 08:40:15 metoffice weewx[16823] INFO weewx.manager: Added record
2021-04-21 08:40:00 AEST (1618958400) to database 'weewx.sdb'
Apr 21 08:40:15 metoffice weewx[16823] INFO weewx.manager: Added record
2021-04-21 08:40:00 AEST (1618958400) to daily summary in 'weewx.sdb'
Apr 21 08:40:15 metoffice weewx[16823] INFO weewx.restx: MQTT: Published
record 2021-04-21 08:40:00 AEST (1618958400)
Apr 21 08:40:15 metoffice weewx[16823] INFO weewx.cheetahgenerator:
Generated 8 files for report SeasonsReport in 0.56 seconds
Apr 21 08:40:16 metoffice weewx[16823] INFO weewx.imagegenerator:
Generated 15 images for report SeasonsReport in 0.33 seconds
Apr 21 08:40:16 metoffice weewx[16823] INFO weewx.reportengine: Copied 0
files to /var/www/html/weewx
Apr 21 08:40:16 metoffice weewx[16823] INFO weewx.cheetahgenerator:
Generated 6 files for report SmartphoneReport in 0.02 seconds
Apr 21 08:40:16 metoffice weewx[16823] INFO weewx.imagegenerator:
Generated 6 images for report SmartphoneReport in 0.09 seconds
Apr 21 08:40:16 metoffice weewx[16823] INFO weewx.reportengine: Copied 0
files to /var/www/html/weewx/smartphone
Apr 21 08:40:16 metoffice weewx[16823] ERROR weewx.cheetahgenerator:
Generate failed with exception '<class 'TypeError'>'
Apr 21 08:40:16 metoffice weewx[16823] ERROR weewx.cheetahgenerator:
**** Ignoring template /etc/weewx/skins/Belchertown/index.html.tmpl
Apr 21 08:40:16 metoffice weewx[16823] ERROR weewx.cheetahgenerator:
**** Reason: '<=' not supported between instances of 'NoneType' and 'int'
Apr 21 08:40:16 metoffice weewx[16823] ERROR weewx.cheetahgenerator:
**** Traceback (most recent call last):
Apr 21 08:40:16 metoffice weewx[16823] ERROR weewx.cheetahgenerator:
**** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 326, in
generate
Apr 21 08:40:16 metoffice weewx[16823] ERROR weewx.cheetahgenerator:
**** unicode_string = compiled_template.respond()
Apr 21 08:40:16 metoffice weewx[16823] ERROR weewx.cheetahgenerator:
**** File "_etc_weewx_skins_Belchertown_index_html_tmpl.py", line
1269, in respond
Apr 21 08:40:16 metoffice weewx[16823] ERROR weewx.cheetahgenerator:
**** File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line
1708, in _handleCheetahInclude
Apr 21 08:40:16 metoffice weewx[16823] ERROR weewx.cheetahgenerator:
**** self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
Apr 21 08:40:16 metoffice weewx[16823] ERROR weewx.cheetahgenerator:
**** File
"_etc_weewx_skins_Belchertown_index_hook_after_station_info_inc.py",
line 124, in respond
Apr 21 08:40:16 metoffice weewx[16823] ERROR weewx.cheetahgenerator:
**** TypeError: '<=' not supported between instances of 'NoneType' and
'int'
Apr 21 08:40:16 metoffice weewx[16823] INFO weewx.cheetahgenerator:
Generated 10 files for report Belchertown in 0.69 seconds
Apr 21 08:40:16 metoffice weewx[16823] INFO weewx.reportengine: Copied 2
files to /var/www/html/weewx/belchertown
Apr 21 08:40:19 metoffice weewx[16823] INFO weewx.reportengine: Copied 0
files to /var/www/html/weewx/ss
Apr 21 08:40:19 metoffice weewx[16823] INFO weewx.cheetahgenerator:
Generated 2 files for report SteelSeries in 0.03 seconds
Apr 21 08:40:19 metoffice weewx[16823] INFO weewx.imagegenerator:
Generated 11 images for report SteelSeries in 0.25 seconds
AQI values are coming in and being stored in the aqi.db so I'm a bit
lost as to why this should suddenly happen.
The end result is that my pm2.5 graphs in the Belchertown skin is not
drawn.
any help appreciated!
thanks
Tim
http://metoffice.skybase.net/weewx/belchertown/