brewster76 / fuzzy-archer

Graphical gauges and history table generators for Weewx
GNU General Public License v2.0
39 stars 32 forks source link

cannot find 'BootstrapLabels' #20

Closed rakeshngl closed 8 years ago

rakeshngl commented 8 years ago

I got this error in LOG, but the file & image generation seems to be working perfectly. Please check here http://chennai.indianweatherman.com/ Below i've attached the LOG, which shows the error..

Jan  1 20:21:25 raspberrypi weewx[7150]: cheetahgenerator: Generate failed with exception '<class 'NameMapper.NotFound'>'
Jan  1 20:21:25 raspberrypi weewx[7150]: cheetahgenerator: **** Ignoring template /etc/weewx/skins/Bootstrap/history.html.tmpl
Jan  1 20:21:25 raspberrypi weewx[7150]: cheetahgenerator: **** Reason: cannot find 'BootstrapLabels'
Jan  1 20:21:25 raspberrypi weewx[7150]: ****  Traceback (most recent call last):
Jan  1 20:21:25 raspberrypi weewx[7150]: ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 295, in generate
Jan  1 20:21:25 raspberrypi weewx[7150]: ****      print >> _file, text
Jan  1 20:21:25 raspberrypi weewx[7150]: ****    File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in __str__
Jan  1 20:21:25 raspberrypi weewx[7150]: ****      rc = getattr(self, mainMethName)()
Jan  1 20:21:25 raspberrypi weewx[7150]: ****    File "_etc_weewx_skins_Bootstrap_history_html_tmpl.py", line 92, in respond
Jan  1 20:21:25 raspberrypi weewx[7150]: ****  NotFound: cannot find 'BootstrapLabels'

Thanks Rakesh

brewster76 commented 8 years ago

Make sure there is a section called [BootstrapLabels] in skin.conf.

rakeshngl commented 8 years ago

Yes, it's already there. Under that section i've mentioned "title", "location", and "footer".

Here i've attached my "skin.conf" file and "weewx.conf" file, pls check and let me know.

skin.txt weewx.txt

rakeshngl commented 8 years ago

I'm waiting for ur help.

brewster76 commented 8 years ago

I see you've fixed the labels on your website.

rakeshngl commented 8 years ago

There's nothing visible on the website, but still i get the ERROR in log. :-(