Sorry, had a typo. Version 3.9.1**
On Wednesday, March 13, 2019 at 11:09:09 PM UTC-5, Jack wrote: > > Hello Weewx Community, > > I've been running weewx since the 3.7 builds and just upgraded to 3.9.2. > Since the 3.8 builds (don't remember which one), I've noticed that every > once in awhile reports stop getting generated and then will begin working > some time later. Upon closer inspection, in /var/log/syslog I see the > following when the reports aren't being generated: > Mar 13 23:04:15 raspberrypi weewx[1019]: manager: Added record 2019-03-13 > 23:04:00 CDT (1552536240) to database 'weewx.sdb' > Mar 13 23:04:15 raspberrypi weewx[1019]: manager: Added record 2019-03-13 > 23:04:00 CDT (1552536240) to daily summary in 'weewx.sdb' > Mar 13 23:04:53 raspberrypi weewx[1019]: cheetahgenerator: Generate failed > with exception '<type 'exceptions.TypeError'>' > Mar 13 23:04:53 raspberrypi weewx[1019]: cheetahgenerator: **** Ignoring > template /etc/weewx/skins/Standard/index.html.tmpl > Mar 13 23:04:53 raspberrypi weewx[1019]: cheetahgenerator: **** Reason: > cannot concatenate 'str' and 'NoneType' objects > Mar 13 23:04:53 raspberrypi weewx[1019]: **** Traceback (most recent call > last): > Mar 13 23:04:53 raspberrypi weewx[1019]: **** File > "/usr/share/weewx/weewx/cheetahgenerator.py", line 332, in generate > Mar 13 23:04:53 raspberrypi weewx[1019]: **** > fd.write(str(compiled_template)) > Mar 13 23:04:53 raspberrypi weewx[1019]: **** File > "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in > __str__ > Mar 13 23:04:53 raspberrypi weewx[1019]: **** rc = getattr(self, > mainMethName)() > Mar 13 23:04:53 raspberrypi weewx[1019]: **** File > "_etc_weewx_skins_Standard_index_html_tmpl.py", line 1831, in respond > Mar 13 23:04:53 raspberrypi weewx[1019]: **** TypeError: cannot > concatenate 'str' and 'NoneType' objects > Mar 13 23:04:56 raspberrypi weewx[1019]: cheetahgenerator: Generated 13 > files for report StandardReport in 39.35 seconds > Mar 13 23:05:08 raspberrypi weewx[1019]: imagegenerator: Generated 12 > images for StandardReport in 11.28 seconds > Mar 13 23:05:08 raspberrypi weewx[1019]: copygenerator: copied 13 files to > /var/weewx/reports > > This log continues to cycle over and over and over and will eventually > recover. > > Unfortunately, I am not deep in python so a bit lost on how to further > debug. > > Have any thoughts on what might be going on? > > Thank you! > > -- 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.
