[weewx-user] Re: users guide for python3 installation

2020-02-20 Thread david glenn
well that settles that. I am so sorry I used up so much of your time and experience. I'll go look into a 'plan B'. Thanks again to all who tried to help. Indirectly, I learned a lot about Linux and Raspbian. Mike On Sunday, February 2, 2020 at 9:52:51 AM UTC-5, david glenn wrote: > > I am

Re: [weewx-user] Re: users guide for python3 installation

2020-02-20 Thread vince
On Thursday, February 20, 2020 at 8:22:43 AM UTC-8, Thomas Keffer wrote: > > WeatherLink Live is not supported by weewx. At least, not yet. See Issue > #412 . > > > I added a comment to the issue above, but FWIW it looks like this one would be a slam

Re: [weewx-user] Re: users guide for python3 installation

2020-02-20 Thread vince
On Thursday, February 20, 2020 at 8:22:43 AM UTC-8, Thomas Keffer wrote: > > WeatherLink Live is not supported by weewx. At least, not yet. See Issue > #412 . > > > David - this thread is a good example of why we need complete+clear problem

Re: [weewx-user] Re: users guide for python3 installation

2020-02-20 Thread Thomas Keffer
WeatherLink Live is not supported by weewx. At least, not yet. See Issue #412 . On Thu, Feb 20, 2020 at 8:16 AM david glenn wrote: > Andrew, you misunderstand what I am trying to do. I have weewx on a RPI > and I'm using Raspbian as the OS. I am at

[weewx-user] Re: users guide for python3 installation

2020-02-20 Thread david glenn
Andrew, you misunderstand what I am trying to do. I have weewx on a RPI and I'm using Raspbian as the OS. I am at the point that weewx is not accepting the IP address of the WeatherLink LIVE on my network. I dug into the Davis knowledge base and it clearly states that the port to use is

[weewx-user] Re: users guide for python3 installation

2020-02-20 Thread Andrew Milner
weewx is designed for unix/linux systems, so in my opinion you should be running on a native linux/usinx system rather than some variety of linux running on windows 10. run on an RPI and get to know the delights of linux/raspbian/whatever. Collect the data in the sqlite database. Generate a

[weewx-user] Re: users guide for python3 installation

2020-02-20 Thread david glenn
It may not be relevant but I am using the WeatherLink LIVE device to receive the sensor data and transfer it to my network. On Sunday, February 2, 2020 at 9:52:51 AM UTC-5, david glenn wrote: > > I am new to weewx and have very basic linux and python skills. I'd like > to run weewx on windows

[weewx-user] Re: users guide for python3 installation

2020-02-20 Thread david glenn
To answer Glenn's question I have tried : cd /home/weewx sudo ./bin/weewxd weewx.conf and nothing was returned. In weewx.config there is the statement: WEEWX_ROOT = /home/weewx if that is of any value I have attached the Vantage portion of weewx.config. It is a plain text document.

Re: [weewx-user] Re: users guide for python3 installation

2020-02-19 Thread Glenn McKechnie
Unless you've configured weewx to run as a non root user, I'd suggest it's because it hasn't the permissions to run the driver. Your screenshot shows that user pi is starting it. Try the following... cd /home/weewx sudo ./bin/weewxd weewx.conf On 20/02/2020, rich T wrote: > > Mike > > Can you

[weewx-user] Re: users guide for python3 installation

2020-02-19 Thread rich T
Mike Can you post the Vantage Section of your weewx.conf? On Wednesday, February 19, 2020 at 8:32:39 PM UTC-5, david glenn wrote: > attached is a screen shot showing how I launched weewx and then the error > messages associated with the new IP, 192.168.0.115. > > I use 'Advanced IP scanner'

[weewx-user] Re: users guide for python3 installation

2020-02-19 Thread vince
On Wednesday, February 19, 2020 at 2:19:05 PM UTC-8, david glenn wrote: > > I changed the IP to the RPi's and it seemed successful. A screen shot is > attached. Hopefully it demonstrates the proper information. > > If I 'run' the program > > sudo ./bin/weewxd weewx.conf > > there is nothing

[weewx-user] Re: users guide for python3 installation

2020-02-18 Thread vince
On Tuesday, February 18, 2020 at 6:17:32 PM UTC-8, david glenn wrote: > > Yeah!!! I re-installed Raspbian and installed the configobj and all > worked. Now I am confronted by the weewx setup. I have a Davis Vantage > Pro wireless using WeatherLink. I can see the IP address of the Davis >

[weewx-user] Re: users guide for python3 installation

2020-02-18 Thread david glenn
Yeah!!! I re-installed Raspbian and installed the configobj and all worked. Now I am confronted by the weewx setup. I have a Davis Vantage Pro wireless using WeatherLink. I can see the IP address of the Davis Instrument and I entered that into the weewx input matrix. However, when I

[weewx-user] Re: users guide for python3 installation

2020-02-17 Thread david glenn
I'm re-installing Raspbian. That was my thought at this point, too. Thanks for all your help. Hopefully I'll have a "YEAH" on my next post. On Sunday, February 2, 2020 at 9:52:51 AM UTC-5, david glenn wrote: > > I am new to weewx and have very basic linux and python skills. I'd like > to

[weewx-user] Re: users guide for python3 installation

2020-02-17 Thread vince
On Monday, February 17, 2020 at 11:19:58 AM UTC-8, david glenn wrote: > the attached screen shot is the same result. From the very beginning of > this process I have had the ''0 upgraded, ..., 0 to remove *and 27 not > upgraded*" and there has always been an " Err >

Re: [weewx-user] Re: users guide for python3 installation

2020-02-17 Thread John Kline
Well, you don’t say what results you got from running any commands other than the pyton-objconfig. For that install, I see you are getting a verification error. As such, run these two commands: $ sudo apt-key update $ sudo apt-get update If that doesn’t work, please state if there is any good

Re: [weewx-user] Re: users guide for python3 installation

2020-02-17 Thread salinois
hi, maybe the issue is in the file /etc/apt/source.list I don't know see the mine: deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi # Uncomment line below then 'apt-get update' to enable 'apt-get source' #deb-src http://raspbian.raspberrypi.org/raspbian/ buster

[weewx-user] Re: users guide for python3 installation

2020-02-17 Thread vince
On Monday, February 17, 2020 at 9:01:42 AM UTC-8, david glenn wrote: > > I have tried the commands that John and Vince suggested in this thread > with no success. I suspect there is a flaw in my RPI. I tried to download > 'SCROT' to make a screen shot and it would not install. So I have

Re: [weewx-user] Re: users guide for python3 installation

2020-02-17 Thread Thomas Keffer
Well, did you follow the suggestion and do *sudo apt-get update?* Your apt configuration is out of date. Configobj version 5.0 is the current version. -tk On Mon, Feb 17, 2020 at 9:01 AM david glenn wrote: > I have tried the commands that John and Vince suggested in this thread > with no

[weewx-user] Re: users guide for python3 installation

2020-02-15 Thread vince
On Friday, February 14, 2020 at 5:36:17 PM UTC-8, david glenn wrote: > > I am using python 2.7. I tried the sudo apt-get install python-configobj > resulting in an error: > > Err http://mirrordirector.raspbian.org/raspbian/ weezy/main > python-configobj all 4.7.7+ds-4 > 404 not found > Failed

Re: [weewx-user] Re: users guide for python3 installation

2020-02-14 Thread John Kline
I see now why I sent you the command to install python3’s configobj. The subject is python3 installation. Back to python 2... You should always update before you install. Let’s try to get things into better shape. Run the following commands in order: sudo apt-get update sudo apt-get upgrade

[weewx-user] Re: users guide for python3 installation

2020-02-14 Thread david glenn
I am using python 2.7. I tried the sudo apt-get install python-configobj resulting in an error: Err http://mirrordirector.raspbian.org/raspbian/ weezy/main python-configobj all 4.7.7+ds-4 404 not found Failed to fetch

Re: [weewx-user] Re: users guide for python3 installation

2020-02-14 Thread John Kline
Oops. That is correct. For python2, sudo apt-get install python-configobj > On Feb 14, 2020, at 3:21 PM, vince wrote: > >  >> On Friday, February 14, 2020 at 3:15:45 PM UTC-8, John Kline wrote: >> Try: >> sudo apt-get install python3-configobj >> > > That's not going to work with weewx

Re: [weewx-user] Re: users guide for python3 installation

2020-02-14 Thread vince
On Friday, February 14, 2020 at 3:15:45 PM UTC-8, John Kline wrote: > > Try: > sudo apt-get install python3-configobj > > That's not going to work with weewx 3.9.2 which requires python2 (see my other reply from a minute ago) -- You received this message because you are subscribed to the Google

[weewx-user] Re: users guide for python3 installation

2020-02-14 Thread vince
On Friday, February 14, 2020 at 2:49:44 PM UTC-8, david glenn wrote: > > I found my error and the setup.py was in the tar download. > Unfortunately, ./setup.py build fails to import configobj > I have been unable to download the module using: > > sudo apt-get install configobj > or > pip

Re: [weewx-user] Re: users guide for python3 installation

2020-02-14 Thread John Kline
Try: sudo apt-get install python3-configobj > On Feb 14, 2020, at 2:49 PM, david glenn wrote: > >  > I found my error and the setup.py was in the tar download. Unfortunately, > ./setup.py build fails to import configobj > I have been unable to download the module using: > > sudo apt-get

[weewx-user] Re: users guide for python3 installation

2020-02-14 Thread david glenn
I found my error and the setup.py was in the tar download. Unfortunately, ./setup.py build fails to import configobj I have been unable to download the module using: sudo apt-get install configobj or pip install configobj in fact I cannot download 'pip' !!! what am I doing wrong? thanks

[weewx-user] Re: users guide for python3 installation

2020-02-14 Thread david glenn
I was able to successfully download and expand the tar file ie. the checksums were correct. However, the next 2 statements stopped me: ./setup.py build sudo ./setup.py install ./setup.py: No such file or directory I tried ~$ python ez_setup.pybut no such file or directory How do I

[weewx-user] Re: users guide for python3 installation

2020-02-13 Thread vince
On Thursday, February 13, 2020 at 5:07:34 PM UTC-8, david glenn wrote: > > I have tried the various download strategies and come up short. The > Debian approach failed to load key files. So I've tried the tarball > approach with the following error: ( I created the 'weewx' file and >

Re: [weewx-user] Re: users guide for python3 installation

2020-02-13 Thread John Kline
What’s the md5 checksum of your weewx-3.9.2.tar.gz file? $ md5sum weewx-3.9.2.tar.gz 320e3413f3af6c3484d3fda3b4431c0b weewx-3.9.2.tar.gz > On Feb 13, 2020, at 5:07 PM, david glenn wrote: > >  > I have tried the various download strategies and come up short. The Debian > approach failed

[weewx-user] Re: users guide for python3 installation

2020-02-13 Thread david glenn
I have tried the various download strategies and come up short. The Debian approach failed to load key files. So I've tried the tarball approach with the following error: ( I created the 'weewx' file and downloaded the tar file into it) pi@raspberry ~/weewx $ tar xvzf weewx-3.9.2.tar.gz

Re: [weewx-user] Re: users guide for python3 installation

2020-02-05 Thread Thomas Keffer
5 years and 2 months on my SD card . Over a year of uptime. On Wed, Feb 5, 2020 at 1:01 PM Chris Thompstone wrote: > With the regard to SD card wear. My install of weewx finally frozen after > about 3/4 years running on an odroid (bit like a

[weewx-user] Re: users guide for python3 installation

2020-02-05 Thread Chris Thompstone
With the regard to SD card wear. My install of weewx finally frozen after about 3/4 years running on an odroid (bit like a Pi), probably mmc card failure. Since I have NAS on site anyway, I bought a new Pi4 and network boot it using NFS off the NAS (store the whole Pi SD card partitions on

[weewx-user] Re: users guide for python3 installation

2020-02-02 Thread Susan Mackay
I run WeeWx on a RPi zero w (plus other weather-related software plus the web server) and it idles along (I've seen some peaks of about 70% CPU but mostly idle between the 5-minute bursts. Even the web access only accounts for a few percent of CPU). The RPi 4 is a nice device (I've just got on

[weewx-user] Re: users guide for python3 installation

2020-02-02 Thread david glenn
thank you all for the encouragement and ideas. The gist of the posts is go with the python 2.7 and version 3 of weewx. That is probably the safest since the only 2 statements I know in python 3 are exit() = exit and print = print(). If I find the model 2 RPi unstable I'll go for the newer

Re: [weewx-user] Re: users guide for python3 installation

2020-02-02 Thread p q
I agree 100%. I'm still running an old version of weewx but I'm going to move to 4 on python3 in the next couple of months. I'm going to do all the testing on a virtual machine to make the transition on my real station as smooth as possible. Anyway, made a new temp sensor for my installation and

[weewx-user] Re: users guide for python3 installation

2020-02-02 Thread vince
On Sunday, February 2, 2020 at 6:52:51 AM UTC-8, david glenn wrote: > > I've read the 'Python 3 strategy' in the users group and it's outside my > skill level. > > To introduce myself, I am a retired research plant physiologist. I built > a raspberry pi weather station and developed the

[weewx-user] Re: users guide for python3 installation

2020-02-02 Thread mwall
hi david, although python 2.7 works just fine, and will continue to work just fine, all new development is done in python3. we will ensure that weewx4 works with both python2 and python3, but at some point there will probably be a version of weewx (weewx5?) that is python3 only. at some

[weewx-user] Re: users guide for python3 installation

2020-02-02 Thread vince
On Sunday, February 2, 2020 at 8:37:40 AM UTC-8, Rich Altmaier wrote: > > I got tired of my RPI freezing every 2 months. > > > Well there are hundreds of pi users here who could have helped you, some with pi that have been up literally years without problems. But sure, throw a $500 computer at

[weewx-user] Re: users guide for python3 installation

2020-02-02 Thread Andrew Milner
None of my 5 RPis - of different models - has ever exhibited freezing at 2 monthly intervals so I suspect you had something else causing your problem(s). On Sunday, 2 February 2020 18:37:40 UTC+2, Rich Altmaier wrote: > > Hi David, perhaps noone will agree with me but I suggest swapping the