Re: [weewx-development] Re: New alpha version

2019-10-10 Thread Andy Little
guess I got behind on versions. Oct 10 06:29:27 weewx-01 weewx[21763] INFO weewx.engine: Initializing weewx version 4.0.0a9 Oct 10 06:29:27 weewx-01 weewx[21763] INFO weewx.engine: Using Python 3.7.3 (default, Apr 3 2019, 05:39:12) #012[GCC 8.3.0] Oct 10 06:29:27 weewx-01 weewx[21763] INFO weewx.

Re: [weewx-development] Re: New alpha version

2019-10-10 Thread Thomas Keffer
Thanks for your report. That bug was fixed 25 August in commit bfa3b5d . Try the newer alpha version 4.0.0a9 . -tk On Thu, Oct 10, 2019 at 6:17 AM Andy wrote: > root

[weewx-development] Re: New alpha version

2019-08-30 Thread Vince Skahan
On Friday, August 30, 2019 at 1:37:38 PM UTC-7, Pat wrote: > > I notice weewxd has a shebang for python3 and runs without an issue when > using ./ ... Does setup.py need to be updated? > > From /home/weewx/bin/weewxd > > #!/usr/bin/python3 > > > Pat, I think things get altered based on which versi

[weewx-development] Re: New alpha version

2019-08-30 Thread Pat
I notice weewxd has a shebang for python3 and runs without an issue when using ./ ... Does setup.py need to be updated? >From /home/weewx/bin/weewxd #!/usr/bin/python3 On Friday, August 30, 2019 at 2:17:33 PM UTC-4, Pat wrote: > > I was right, it was a newbie moment. I tried ./setup build, bu

[weewx-development] Re: New alpha version

2019-08-30 Thread Pat
I was right, it was a newbie moment. I tried ./setup build, but running python3 setup.py build worked. Perhaps something to keep in mind for future end user documentation? Mind you, I'm used to an apt package being available. I've only installed from setup.py a few times, which is why I tried t

[weewx-development] Re: New alpha version

2019-08-30 Thread Pat
I think I'm having a bit of a "newbie" moment. I created a new Ubuntu 18.04.3 virtual machine. Ran apt-get update; apt-get upgrade -y; reboot. Upon reboot I tried to run the setup.py from the alpha package and I get this error. /usr/bin/env: ‘python’: No such file or directory I know it's be

Re: [weewx-development] Re: New alpha version

2019-08-27 Thread Thomas Keffer
I assume you were trying a systemctl "reload"? If so, I'm not surprised that it wouldn't work with a live thread. I never use it, preferring to kill, then restart. If not, perhaps you could describe what you were doing? systemctl works perfectly on my system. On Tue, Aug 27, 2019 at 2:26 PM And

Re: [weewx-development] Re: New alpha version

2019-08-27 Thread Andy
Un-commenting this line got the reload working with an ERROR ExecReload=/bin/kill -HUP $MAINPID Aug 27 14:21:00 weewx-01 systemd[1]: Reloading weewx weather system. Aug 27 14:21:00 weewx-01 weewx[7063]/INFO weewx.engine: Received signal HUP. Initiating restart. Aug 27 14:21:00 weewx-01 weewx[70

Re: [weewx-development] Re: New alpha version

2019-08-27 Thread Andy
My attempts to use this with python2 and python3 have resulted in: Aug 27 06:47:14 weewx-01 weewx[1243]/INFO weewx.engine: Starting up weewx version 4.0.0a7 Aug 27 06:47:14 weewx-01 weewx[1243]/INFO weewx.engine: Starting main packet loop. Aug 27 06:

Re: [weewx-development] Re: New alpha version

2019-08-27 Thread Thomas Keffer
Thanks, again. I had no idea that Cheetah and ephem had been ported to Python 3, although it seems only this summer in the very recent Debian 10 release. Updated the setup.py install instructions to reflect. Commit aa43108

Re: [weewx-development] Re: New alpha version

2019-08-27 Thread Andy
and this is needed: apt install python3-ephem On Tuesday, August 27, 2019 at 10:27:06 AM UTC-7, Andy wrote: > > seems error free at this point after: > > apt install python3-configobj python3-pil python3-cheetah > -- You received this message because you are subscribed to the Google Groups "wee

Re: [weewx-development] Re: New alpha version

2019-08-27 Thread Andy
seems error free at this point after: apt install python3-configobj python3-pil python3-cheetah -- You received this message because you are subscribed to the Google Groups "weewx-development" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-devel

Re: [weewx-development] Re: New alpha version

2019-08-27 Thread Andy
That seems better on the sdr side. seem to be missing some modules, would prefer to use apt over pip to get these. Aug 27 10:15:26 weewx-01 weewx[4188]/INFO weewx.manager: Added record 2019-08-27 10:15:00 PDT (1566926100) to database 'weewx.sdb' Aug 27 10:15:26 weewx-01 weewx[4188]/INFO weewx.m

Re: [weewx-development] Re: New alpha version

2019-08-27 Thread Thomas Keffer
Andy, Can you give this version of sdr.py a try under Python 3? It's been ported. -tk On Mon, Aug 26, 2019 at 7:40 PM Andy wrote: > Aug 26 19:37:18 weewx-01 weewx[17727]/INFO weewx.engine: Initializing > weewx version

Re: [weewx-development] Re: New alpha version

2019-08-26 Thread Andy
Aug 26 19:37:18 weewx-01 weewx[17727]/INFO weewx.engine: Initializing weewx version 4.0.0a7 Aug 26 19:37:18 weewx-01 weewx[17727]/INFO weewx.engine: Using Python 3.7.3 (default, Apr 3 2019, 05:39:12) #012[GCC 8.3.0] Aug 26 19:37:18 weewx-01 weewx[17727]/INFO weewx.engine: Platform Linux-4.19.0-

Re: [weewx-development] Re: New alpha version

2019-08-26 Thread Thomas Keffer
Thanks, Andy. Looks like Matthew has not done the Python 3 port. I'll submit a PR to him. -tk On Mon, Aug 26, 2019 at 6:15 PM Andy wrote: > root@weewx-01:/home/weewx# python3 ./bin/weewxd /home/weewx/weewx.conf > Traceback (most recent call last): > File "./bin/weewxd", line 64, in > wee

Re: [weewx-development] Re: New alpha version

2019-08-26 Thread Andy
root@weewx-01:/home/weewx# python3 ./bin/weewxd /home/weewx/weewx.conf Traceback (most recent call last): File "./bin/weewxd", line 64, in weewx.engine.main(options, args) File "/home/weewx/bin/weewx/engine.py", line 884, in main engine = engine_class(config_dict) File "/home/weewx/b

Re: [weewx-development] Re: New alpha version

2019-08-26 Thread Thomas Keffer
Stop your weewx daemon, then just run it right out of the directory. *cd /home/weewx* *python3 ./bin/weewxd weewx.conf* -tk On Mon, Aug 26, 2019 at 6:09 PM Andy wrote: > I will but have to figure out how, virt env? > > On Monday, August 26, 2019 at 5:39:56 PM UTC-7, Tom Keffer wrote: >> >> T

Re: [weewx-development] Re: New alpha version

2019-08-26 Thread Andy
I will but have to figure out how, virt env? On Monday, August 26, 2019 at 5:39:56 PM UTC-7, Tom Keffer wrote: > > Thanks, Andy. Did you try it under python3? > > On Mon, Aug 26, 2019 at 5:13 PM Andy > > wrote: > >> >> >> On Saturday, August 24, 2019 at 5:53:39 AM UTC-7, Tom Keffer wrote: >>> >>>

[weewx-development] Re: New alpha version

2019-08-26 Thread Andy
> > > On Saturday, August 24, 2019 at 5:53:39 AM UTC-7, Tom Keffer wrote: >> >> Test, test, test! Especially on devices other than Vantage. >> >> -tk >> > > OK this is running with the sdr driver, vmware esxi 6.7 > > root@weewx-01:/home/weewx# uname -a && cat /etc/debian_version > Linux weewx-01

Re: [weewx-development] Re: New alpha version

2019-08-26 Thread Thomas Keffer
Thanks, Andy. Did you try it under python3? On Mon, Aug 26, 2019 at 5:13 PM Andy wrote: > > > On Saturday, August 24, 2019 at 5:53:39 AM UTC-7, Tom Keffer wrote: >> >> Test, test, test! Especially on devices other than Vantage. >> >> -tk >> > > OK this is running with the sdr driver, vmware esxi

[weewx-development] Re: New alpha version

2019-08-26 Thread Andy
On Saturday, August 24, 2019 at 5:53:39 AM UTC-7, Tom Keffer wrote: > > Test, test, test! Especially on devices other than Vantage. > > -tk > OK this is running with the sdr driver, vmware esxi 6.7 root@weewx-01:/home/weewx# uname -a && cat /etc/debian_version Linux weewx-01 4.19.0-5-amd64 #1

[weewx-development] Re: New alpha version

2019-08-25 Thread Vince Skahan
On Saturday, August 24, 2019 at 5:53:39 AM UTC-7, Tom Keffer wrote: > > Test, test, test! Especially on devices other than Vantage. > > > I got the WeatherFlowUDP driver to work using python3 and have sent the tiny patches required to its author. -- You received this message because you are subs

Re: [weewx-development] Re: New alpha version

2019-08-25 Thread Vince Skahan
On Saturday, August 24, 2019 at 6:58:46 PM UTC-7, Tom Keffer wrote: > > Well... *somebody* can research it, but it won't be me. :-) > > I'll just go with space delimiters. No slashes. > >> >> Sounds good. Whoever is the logwatch guru probably needs to check that stuff in utils versus the new logg

Re: [weewx-development] Re: New alpha version

2019-08-24 Thread Thomas Keffer
Well... *somebody* can research it, but it won't be me. :-) I'll just go with space delimiters. No slashes. On Sat, Aug 24, 2019 at 6:21 PM mwall wrote: > > > On Saturday, August 24, 2019 at 8:15:19 PM UTC-4, Vince Skahan wrote: >> >> >> The log format surprised me a bit: >> >> Aug 24 16:00:18

[weewx-development] Re: New alpha version

2019-08-24 Thread mwall
On Saturday, August 24, 2019 at 8:15:19 PM UTC-4, Vince Skahan wrote: > > > The log format surprised me a bit: > > Aug 24 16:00:18 pi4 weewx[17512]/INFO weewx.imagegenerator: Generated 28 > images for SeasonsReport in 1.46 seconds > Aug 24 16:00:18 pi4 weewx[17512]/INFO weewx.reportengine: copyg

Re: [weewx-development] Re: New alpha version

2019-08-24 Thread Thomas Keffer
Why not just filter on the process name? On Sat, Aug 24, 2019 at 5:31 PM Vince Skahan wrote: > Yes I saw the nice commentary in logger.py about customization which is > great. > > WEEWX-INFO is just an example trying to show that it came from weewx and > it's info severity. I used to do things

Re: [weewx-development] Re: New alpha version

2019-08-24 Thread Vince Skahan
Yes I saw the nice commentary in logger.py about customization which is great. WEEWX-INFO is just an example trying to show that it came from weewx and it's info severity. I used to do things like that with 'logger -t' from bash so I could later poster the logs readily. Makes it easy to grep or re

Re: [weewx-development] Re: New alpha version

2019-08-24 Thread Thomas Keffer
You can change the log format to anything you want with a [Logging] section in weewx.conf, but I'm open to getting the default right. What is the significance of [WEEWX.INFO]? That INFO is part of some sort of WEEWX domain? -tk On Sat, Aug 24, 2019 at 5:15 PM Vince Skahan wrote: > On Saturday,

[weewx-development] Re: New alpha version

2019-08-24 Thread Vince Skahan
On Saturday, August 24, 2019 at 5:53:39 AM UTC-7, Tom Keffer wrote: > > I've posted a new alpha version of WeeWX V4. Find it at > http://weewx.com/downloads/development_versions/ > > > Installs and runs fine in Simulator on Raspbian current (debian 10.0) using both python2 and python3 The