Thanks M......

That has sorted Weewx from crashing. I also did have the unrecoverable error 
below but I have corrected that by comparing my config with weewx.conf.dist. I 
found I had some old template tags from when I was messing with different 
templates months ago. No idea why they would have caused problems now but I am 
glad I resolved this one.

I also messed up my templates as they had been overwritten in the upgrade but I 
have now corrected these.

I realise I have a problem with my AAG wind instrument and I think I will take 
it down tomorrow and give it a service in an attempt to resolve this.

The remaining problem I have now is that I cannot get either my new HB 
barometer or the EDS0066 pressure sensor to work.


Solved:

Nov 28 02:48:33 localhost weewx[4420]: owfs: Failed to get sensor data for 
windDir (aag_windvane): 
'/uncached/1F.CB6C05000000/main/20.BA8400000000/volt.ALL'
Nov 28 02:50:26 localhost weewx[4420]: manager: added record 2016-11-28 
02:50:00 GMT (1480301400) to database 'weewx'
Nov 28 02:50:26 localhost weewx[4420]: manager: added record 2016-11-28 
02:50:00 GMT (1480301400) to daily summary in 'weewx'
Nov 28 02:50:29 localhost weewx[4420]: restx: Wunderground-PWS: Published 
record 2016-11-28 02:50:00 GMT (1480301400)
Nov 28 02:50:32 localhost weewx[4420]: cheetahgenerator: Generated 14 files for 
report StandardReport in 2.72 seconds
Nov 28 02:50:32 localhost weewx[4420]: genimages: Generated 12 images for 
StandardReport in 0.38 seconds
Nov 28 02:50:32 localhost weewx[4420]: reportengine: copied 9 files to 
/var/www/html/weewx
Nov 28 02:50:32 localhost weewx[4420]: reportengine: Caught unrecoverable 
exception in generator weewx.cheetahgenerator.CheetahGenerator
Nov 28 02:50:32 localhost weewx[4420]:         ****  'skin'
Nov 28 02:50:32 localhost weewx[4420]:         ****  Traceback (most recent 
call last):
Nov 28 02:50:32 localhost weewx[4420]:         ****    File 
"/usr/share/weewx/weewx/reportengine.py", line 238, in run
Nov 28 02:50:32 localhost weewx[4420]:         ****      obj.start()
Nov 28 02:50:32 localhost weewx[4420]:         ****    File 
"/usr/share/weewx/weewx/reportengine.py", line 271, in start
Nov 28 02:50:32 localhost weewx[4420]:         ****      self.run()
Nov 28 02:50:32 localhost weewx[4420]:         ****    File 
"/usr/share/weewx/weewx/cheetahgenerator.py", line 150, in run
Nov 28 02:50:32 localhost weewx[4420]:         ****      ngen = 
self.generate(gen_dict[section_name], self.gen_ts)
Nov 28 02:50:32 localhost weewx[4420]:         ****    File 
"/usr/share/weewx/weewx/cheetahgenerator.py", line 219, in generate
Nov 28 02:50:32 localhost weewx[4420]:         ****      ngen += 
self.generate(section[subsection], gen_ts)
Nov 28 02:50:32 localhost weewx[4420]:         ****    File 
"/usr/share/weewx/weewx/cheetahgenerator.py", line 219, in generate
Nov 28 02:50:32 localhost weewx[4420]:         ****      ngen += 
self.generate(section[subsection], gen_ts)
Nov 28 02:50:32 localhost weewx[4420]:         ****    File 
"/usr/share/weewx/weewx/cheetahgenerator.py", line 234, in generate
Nov 28 02:50:32 localhost weewx[4420]:         **** self.skin_dict['skin']))
Nov 28 02:50:32 localhost weewx[4420]:         ****    File 
"/usr/lib/python2.7/dist-packages/configobj.py", line 567, in __getitem__
Nov 28 02:50:32 localhost weewx[4420]:         ****      val = 
dict.__getitem__(self, key)
Nov 28 02:50:32 localhost weewx[4420]:         ****  KeyError: 'skin'
Nov 28 02:50:32 localhost weewx[4420]:         ****  Generator terminated
Nov 28 02:50:32 localhost weewx[4420]: genimages: Generated 12 images for 
HTMLPages in 0.30 seconds
Nov 28 02:50:32 localhost weewx[4420]: reportengine: Caught unrecoverable 
exception in generator weewx.reportengine.CopyGenerator
Nov 28 02:50:32 localhost weewx[4420]:         ****  'skin'
Nov 28 02:50:32 localhost weewx[4420]:         ****  Traceback (most recent 
call last):
Nov 28 02:50:32 localhost weewx[4420]:         ****    File 
"/usr/share/weewx/weewx/reportengine.py", line 238, in run
Nov 28 02:50:32 localhost weewx[4420]:         ****      obj.start()
Nov 28 02:50:32 localhost weewx[4420]:         ****    File 
"/usr/share/weewx/weewx/reportengine.py", line 271, in start
Nov 28 02:50:32 localhost weewx[4420]:         ****      self.run()
Nov 28 02:50:32 localhost weewx[4420]:         ****    File 
"/usr/share/weewx/weewx/reportengine.py", line 415, in run
Nov 28 02:50:32 localhost weewx[4420]:         **** self.skin_dict['skin']))
Nov 28 02:50:32 localhost weewx[4420]:         ****    File 
"/usr/lib/python2.7/dist-packages/configobj.py", line 567, in __getitem__
Nov 28 02:50:32 localhost weewx[4420]:         ****      val = 
dict.__getitem__(self, key)
Nov 28 02:50:32 localhost weewx[4420]:         ****  KeyError: 'skin'
Nov 28 02:50:32 localhost weewx[4420]:         ****  Generator terminated
Nov 28 02:50:35 localhost weewx[4420]: genimages: Generated 6 images for 
BigImages in 2.83 seconds
Nov 28 02:50:36 localhost weewx[4420]: genimages: Generated 6 images for 
SmallImages in 0.88 seconds
Nov 28 02:50:41 localhost weewx[4420]: restx: StationRegistry: Published record 
2016-11-28 02:50:00 GMT (1480301400)



David




On 27/11/2016 22:16, mwall wrote:
since LD_LIBRARY_PATH is only set, not exported, weewxd never sees it.  you 
probably need to preface the LD_LIBRARY_PATH with an export.  so 
/etc/default/weewx should contain this:

export LD_LIBRARY_PATH=/opt/owfs/lib

and you can remove the LD_LIBRARY_PATH from /etc/init.d/weewx

m
--
You received this message because you are subscribed to a topic in the Google Groups 
"weewx-user" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/weewx-user/mbldmY3J7o4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
[email protected] 
<mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.

--
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.

Reply via email to