Re: [weewx-user] Re: Weewx not working after update

2016-11-27 Thread David Johns
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

Re: [weewx-user] Re: Weewx not working after update

2016-11-27 Thread David Johns
Hi, /etc/init.d/weewx #! /bin/sh # Author: Tom Keffer # Startup script for Debian derivatives # # the skeleton script in debian 6 does not work properly in package scripts. # the return/exit codes cause {pre|post}{inst|rm} to fail regardless of the # script completion status.

Re: [weewx-user] Re: Weewx not working after update

2016-11-27 Thread mwall
david, please post /etc/init.d/weewx and /etc/default/weewx m -- 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 weewx-user+unsubscr...@googlegroups.com. For more

Re: [weewx-user] Re: Weewx not working after update

2016-11-27 Thread David Johns
Hi, I've done that but I am still getting this:- Nov 27 19:49:55 localhost weewx[29712]: engine: Initializing weewx version 3.6.2 Nov 27 19:49:55 localhost weewx[29712]: engine: Using Python 2.7.6 (default, Jun 22 2015, 17:58:13) #012[GCC 4.8.2] Nov 27 19:49:56 localhost weewx[29712]: engine:

Re: [weewx-user] Re: Weewx not working after update

2016-11-27 Thread mwall
On Sunday, November 27, 2016 at 1:55:16 PM UTC-5, David Johns wrote: > > Hi, > > Ok. There is no such directory as etc/defaults on this version of ubuntu. > So I have added the LD_LIBRARY_PATH to the weewx file in /etc/init.d/ > > It still did not work starting weewx in the usual way (service

Re: [weewx-user] Re: Weewx not working after update

2016-11-27 Thread David Johns
Hi, Ok. There is no such directory as etc/defaults on this version of ubuntu. So I have added the LD_LIBRARY_PATH to the weewx file in /etc/init.d/ It still did not work starting weewx in the usual way (service weewx start) and threw up the original errors. However, I tried the way you said

Re: [weewx-user] Re: Weewx not working after update

2016-11-27 Thread mwall
On Sunday, November 27, 2016 at 1:12:04 PM UTC-5, David Johns wrote: > > Hi, > > I tried those two lines didn't work and have thrown thias up:- > good! the LD_LIBRARY_PATH works. be sure to put LD_LIBRARY_PATH=/opt/owfs/lib into the file /etc/default/weewx now you have a problem reading a

Re: [weewx-user] Re: Weewx not working after update

2016-11-27 Thread David Johns
Hi, I tried those two lines didn't work and have thrown thias up:- Nov 27 18:05:35 localhost weewx[27915]: engine: Initializing weewx version 3.6.2 Nov 27 18:05:35 localhost weewx[27915]: engine: Using Python 2.7.6 (default, Jun 22 2015, 17:58:13) #012[GCC 4.8.2] Nov 27 18:05:35 localhost

Re: [weewx-user] Re: Weewx not working after update

2016-11-27 Thread mwall
On Sunday, November 27, 2016 at 12:41:38 PM UTC-5, David Johns wrote: > > With regards to the rest, I don't understand where to put LD_LIBRARY_PATH > and also the weewxd > first try these two lines at the command prompt: export LD_LIBRARY_PATH=/opt/owfs/lib weewxd /etc/weewx/weewx.conf the

Re: [weewx-user] Re: Weewx not working after update

2016-11-27 Thread David Johns
Hi owfs was installed in /opt/owfs as I believe that is the default when it was installed by compiling. With regards to the rest, I don't understand where to put LD_LIBRARY_PATH and also the weewxd Weewx is being run as a service. ie sudo service weewx start There is no RC script as far as

[weewx-user] Re: Weewx not working after update

2016-11-27 Thread mwall
On Sunday, November 27, 2016 at 12:13:25 PM UTC-5, David Johns wrote: > Nov 27 12:31:15 localhost weewx[23212]: File >> "/usr/lib/python2.7/dist-packages/ow/*init*.py", line 33, in >> Nov 27 12:31:15 localhost weewx[23212]: from ow import _OW >> Nov 27 12:31:15 localhost weewx[23212]: