Hi,

after many tests, I finally see lightning strikes in the database 
lightning.sdb.

Now i want to use this data in the reports. But if I use the tag 
"$lightning_strikes" or  "$day.lightning_strikes.raw" I receive an error:

log:

Aug 17 13:55:23 raspberrypi weewx[7005]: cheetahgenerator: **** Ignoring 
template /home/weewx/skins/ss/gauge-data.txt.tmpl
Aug 17 13:55:23 raspberrypi weewx[7005]: cheetahgenerator: **** Reason: 
cannot find 'lightning_strikes'
Aug 17 13:55:23 raspberrypi weewx[7005]: ****  Traceback (most recent call 
last):
Aug 17 13:55:23 raspberrypi weewx[7005]: ****    File 
"/home/weewx/bin/weewx/cheetahgenerator.py", line 300, in generate
Aug 17 13:55:23 raspberrypi weewx[7005]: ****      print >> _file, text
Aug 17 13:55:23 raspberrypi weewx[7005]: ****    File 
"/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in 
__str__
Aug 17 13:55:23 raspberrypi weewx[7005]: ****      rc = getattr(self, 
mainMethName)()
Aug 17 13:55:23 raspberrypi weewx[7005]: ****    File 
"cheetah__home_weewx_skins_ss_gauge_data_txt_tmpl_1471434921_84_37593.py", 
line 622, in respond
Aug 17 13:55:23 raspberrypi weewx[7005]: ****  NotFound: cannot find 
'lightning_strikes'

How can I use the data stored in the database to display them in a report ? 
Thanks

Reply via email to