[weewx-user] New Router, New Fiber and 4.1 Weewx

2020-09-01 Thread John S
Weewx 4.1.1 running on ubuntu 18.04 with a Vantage PRO station. INFO __main__: Initializing weewx version 4.1.1 Using Python 2.7.17 (default, Jul 20 2020, 15:37:01) #012[GCC 7.5.0] Platform Linux-4.15.0-112-generic-x86_64-with-Ubuntu-18.04-bionic weewx.drivers.vantage: Driver version is

[weewx-user] Upgrading to the weewx_extended schema

2020-09-01 Thread wwwd...@gmail.com
out of the way - this will also give us a backup just in case - cd /var/lib/weewx - sudo mv weewx.sdb weewx.sdb-20200901 4. Dump the database using the above sqlite3 module: - echo -e ".load libsqlite3_mod_impexp\nselect export_sql('weewx-import.sql','

[weewx-user] Re: Migrating/Importing WD data in MySql DB to WeeWx MySql DB

2020-09-01 Thread gjr80
Didn’t take your post as a complaint, sorry if I came across in a manner that gave that impression. Just wanted to point out that development of the WD module was based on a very small sample of data rather than from some written specification. If the problem was a malformed data file that cause

[weewx-user] Re: Migrating/Importing WD data in MySql DB to WeeWx MySql DB

2020-09-01 Thread Andrew M
Please don't take what i have written as a complaint. I appreciate all the hard work it took in the creation of WeeWx and all the contributors to the forum. I have not looked at the content of those files it choked on to see if it has good data in it. Let me first do that. I will reply back onc

[weewx-user] Re: Migrating/Importing WD data in MySql DB to WeeWx MySql DB

2020-09-01 Thread gjr80
If you to provide some details on problems the handful of files experienced I am happy to look at wee_import to see if any changes can be made to improve its handling of such files. The WD import module of wee_import was developed based on a handful of WD log files found on the internet, so it

[weewx-user] Re: Migrating/Importing WD data in MySql DB to WeeWx MySql DB

2020-09-01 Thread Andrew M
After many, many hours the wee-import processed all but a handful of files. Have several that choked on the import. Ended up with 3,873,678 records. Next I need to validate that the data imported to look for any potential bad data. On Friday, August 21, 2020 at 7:31:36 PM UTC-4 Andrew M wrote

Re: [weewx-user] weewx upgrade from python2 to python3

2020-09-01 Thread bgra...@umw.edu
Thanks to everyone for the help. Bob On Tuesday, September 1, 2020 at 2:50:51 PM UTC-4 wwwd...@gmail.com wrote: > I just went through the same thing, as was mentioned above make sure all > of your plugins have been updated to the latest version. I had a few > plugins that I no longer run as the

Re: [weewx-user] weewx upgrade from python2 to python3

2020-09-01 Thread wwwd...@gmail.com
I just went through the same thing, as was mentioned above make sure all of your plugins have been updated to the latest version. I had a few plugins that I no longer run as they hadn't been upgraded and after a look at the code the work to upgrade them was more than I was willing to tackle. We

Re: [weewx-user] weewx upgrade from python2 to python3

2020-09-01 Thread Tom Keffer
Same issue, except this time, it's cmon. Your version has not been ported to Python 3. Fortunately, a newer version is available which has. On Tue, Sep 1, 2020 at 11:28 AM bgra...@umw.edu wrote: > Hello, > Seeing the discussion of python3, I thought I would do the switch myself > but ran into so

Re: [weewx-user] weewx upgrade from python2 to python3

2020-09-01 Thread bgra...@umw.edu
Hello, Seeing the discussion of python3, I thought I would do the switch myself but ran into some errors. See below: +++ /var/log/weewx.log: Sep 1 11:51:21 n4mrv weewx[3283] INFO __main__: Initializing weewx version 4.1.1 Sep 1 11:51:21 n4mrv weewx[3283] INFO __main

Re: [weewx-user] weewx upgrade from python2 to python3

2020-09-01 Thread Tom Keffer
But PID 727 is the old instance, which still ran opsgenie. We want to see what happens without opsgenie. Try it again. This time, follow the directions in the Wiki article Help! Posting to weewx-user , except for step #6, start weewx

Re: [weewx-user] weewx upgrade from python2 to python3

2020-09-01 Thread 'Season Ticket' via weewx-user
I've removed Opsgenie from the service list. however I still get nothing in the logs via the daemon. if you notice the time stamps at the end of each log are the same *"Sep 01 09:14:20 raspberrypi python3[727]: weewx[727] CRITICAL __main__: Exiting. " *- in both cases. On Tuesday,

Re: [weewx-user] weewx upgrade from python2 to python3

2020-09-01 Thread Tom Keffer
So, the log does say something! The extension 'opsgenie' has not been ported to Python 3. On Tue, Sep 1, 2020 at 6:13 AM 'Season Ticket' via weewx-user < weewx-user@googlegroups.com> wrote: > here are the logs > > pi@raspberrypi:~ $ sudo systemctl status weewx > ● weewx.service - LSB: weewx weath

Re: [weewx-user] weewx upgrade from python2 to python3

2020-09-01 Thread 'Season Ticket' via weewx-user
here are the logs pi@raspberrypi:~ $ sudo systemctl status weewx ● weewx.service - LSB: weewx weather system Loaded: loaded (/etc/init.d/weewx; generated; vendor preset: enabled) Active: active (exited) since Tue 2020-09-01 09:14:20 BST; 4h 57min ago Docs: man:systemd-sysv-generator(8)

Re: [weewx-user] weewx upgrade from python2 to python3

2020-09-01 Thread Tom Keffer
What are the results of the command *sudo systemctl status weewx* Then try it again after trying to start weewxd: *sudo /etc/init.d/weewx start* *sudo systemctl status weewx* On Tue, Sep 1, 2020 at 5:08 AM 'Season Ticket' via weewx-user < weewx-user@googlegroups.com> wrote: > ok thanks I di

Re: [weewx-user] weewx upgrade from python2 to python3

2020-09-01 Thread 'Season Ticket' via weewx-user
ok thanks I didn't know that the recompile would be done automatically. here is the content of /etc/default/weewx pi@raspberrypi:~ $ more /etc/default/weewx WEEWX_PYTHON=/usr/bin/python3 WEEWX_BINDIR=/usr/share/weewx WEEWX_BIN=/usr/bin/weewxd WEEWX_CFG=/etc/weewx/weewx.conf and pi@raspberrypi:~

Re: [weewx-user] weewx upgrade from python2 to python3

2020-09-01 Thread Tom Keffer
You're making things harder than it needs to be! No need to recompile anything. That is done automatically by the interpreter. 1. What is in /etc/default/weewx? 2. In /etc/default/weewx, the variable WEEWX_BIN points to the copy of weewxd to be used. *Make sure it exists*. If it does not, this wi

Re: [weewx-user] Weekly page not showing wind gust max data in table

2020-09-01 Thread Graham Eddy
→ see $span($day_delta=7) for rolling 7 days (vs $week for since start of week) > On 1 Sep 2020, at 7:27 am, Tom Keffer wrote: > > NB: The weekly statistics start Sunday. It is not the same as "last 7 days." -- You received this message because you are subscribed to the Google Groups "weewx-u

[weewx-user] Re: Migration to MySQL - WeeWX with errors in syslog

2020-09-01 Thread gjr80
Thanks! Gary On Tuesday, 1 September 2020 at 20:50:34 UTC+10 uwe.sc...@gmail.com wrote: > Done :-) > > gjr80 schrieb am Montag, 31. August 2020 um 22:31:36 UTC+2: > >> You are correct, though that wiki article was first written quite some >> time ago when the only schema shipped with WeeWX was

Re: [weewx-user] Weekly page not showing wind gust max data in table

2020-09-01 Thread Phil Green
Hello Tom, Thanks for the clarification, I thought the Weekly stats were a rolling 7 days not from Sunday. Thanks for great software & support. Regards Phil On Monday, August 31, 2020 at 10:27:44 PM UTC+1 tke...@gmail.com wrote: > NB: The weekly statistics start *Sunday*. It is not the same a

[weewx-user] Re: Migration to MySQL - WeeWX with errors in syslog

2020-09-01 Thread Uwe S.
Done :-) gjr80 schrieb am Montag, 31. August 2020 um 22:31:36 UTC+2: > You are correct, though that wiki article was first written quite some > time ago when the only schema shipped with WeeWX was ‘wview’. The article > should be updated to highlight there are now two schemas shipped with > We

[weewx-user] Re: randomly stops adding data

2020-09-01 Thread YB322
Just a quick update in case it helps someone. I was reminded that there was a power outage around the same time this started happening. Not one to believe in coincidence, I restored the database from a backup of the day before the power outage, and filled the missing data using wee_import from

Re: [weewx-user] weewx upgrade from python2 to python3

2020-09-01 Thread 'Season Ticket' via weewx-user
thanks for your persistence with this. I reinstalled because I expected that the code would need to be recompiled with python3. I can revert back to python2 by, a) changing the /etc/defaults/weewx to reference python2 and then reinstall again using "sudo dpkg -i python-weewx_4.1.1-1_all.deb"