Re: [weewx-development] V5.0 release candidate available

2023-12-22 Thread Vince Skahan
It worked with the --config switch specified ? If so, let me know (email is fine) and I can try to dig deeper tomorrow On Friday, December 22, 2023 at 5:43:56 PM UTC-8 Tom Keffer wrote: > Hmm, "weectl report run" works perfectly on my system, using Python 3.11. > > It's not clear from your s

Re: [weewx-development] V5.0 release candidate available

2023-12-22 Thread Tom Keffer
Hmm, "weectl report run" works perfectly on my system, using Python 3.11. It's not clear from your stack trace what raised the exception. Can you dig deeper? -tk On Fri, Dec 22, 2023 at 5:30 PM Vince Skahan wrote: > I hand-edited the diff into > weewx-venv/lib/python3.11/site-packages/weecfg/e

Re: [weewx-development] V5.0 release candidate available

2023-12-22 Thread Greg Troxel
Tom Keffer writes: > Hmmm, that didn't work. If you list "wheel" as a dependency, pip isn't > smart enough to install it first before attempting the others. So, you get > the same error. Is it the case that new enough pip installs it? I just did $ virtualenv-3.11 FOO created virtual envi

Re: [weewx-development] V5.0 release candidate available

2023-12-22 Thread Vince Skahan
I hand-edited the diff into weewx-venv/lib/python3.11/site-packages/weecfg/extension.py which worked for installing the extensions, but I get a similar message trying to run reports manually You might try this on a current fully patched up version to see if it works with all the updates yo

Re: [weewx-development] V5.0 release candidate available

2023-12-22 Thread Tom Keffer
Thanks for spotting that, Vince! Fixed in commit 256cac5 . On Fri, Dec 22, 2023 at 4:31 PM Vince Skahan wrote: > Tom - your xaggs extension isn't installing. I see the identical issue > with one of my custom exten

Re: [weewx-development] V5.0 release candidate available

2023-12-22 Thread Vince Skahan
Tom - your xaggs extension isn't installing. I see the identical issue with one of my custom extensions too. (weewx-venv) vagrant@deb12:~/adds$ weectl extension install --config=/home/vagrant/weewx-data/simulator.conf weewx-xaggs-master/ Using configuration file /home/vagrant/weewx-data/simulat

Re: [weewx-development] V5.0 release candidate available

2023-12-22 Thread Tom Keffer
After a bit more investigation, it appears that some systems install python3-wheel when they install python3-pip, some don't. Hence the confusing results. On Fri, Dec 22, 2023 at 2:33 PM Tom Keffer wrote: > Hmmm, that didn't work. If you list "wheel" as a dependency, pip isn't > smart enough to

Re: [weewx-development] V5.0 release candidate available

2023-12-22 Thread Tom Keffer
Hmmm, that didn't work. If you list "wheel" as a dependency, pip isn't smart enough to install it first before attempting the others. So, you get the same error. I'm reluctant to create yet another step in the install process. On Fri, Dec 22, 2023 at 2:24 PM Greg wrote: > Yes having install wh

Re: [weewx-development] V5.0 release candidate available

2023-12-22 Thread Greg
Yes having install wheel first removes all my errors. I think it should be installed by default to save any questions from people like me who don't really know how this all works and what depends on what. :) Because I was already running the beta V5 I just renamed my venv and recreated it so my

Re: [weewx-development] Re: PostgreSQL support, which branch to target?

2023-12-22 Thread Tom Keffer
I wish I knew more about SQL programming, but, alas, I know just enough to get by. I'd be very grateful for opinions from a true expert. On Fri, Dec 22, 2023 at 12:35 PM Raoul Snyman wrote: > Actually, the columns names are fine for me, it was the expression inside > the SUM function which was t

Re: [weewx-development] Re: PostgreSQL support, which branch to target?

2023-12-22 Thread Raoul Snyman
Actually, the columns names are fine for me, it was the expression inside the SUM function which was throwing me off. I set up a test database in SQLite and ran those queries, and it looks like they are actually just doing a count (boolean true becomes 1, sum of a bunch of 1s is a count). I'm g

Re: [weewx-development] V5.0 release candidate available

2023-12-22 Thread Vince Skahan
Works for me on deb12 vagrant and pi5 deb12 based raspios On Friday, December 22, 2023 at 11:42:48 AM UTC-8 Tom Keffer wrote: > I was able to install both paho-mqtt and ephem (NB: these days, it's just > "ephem", not "pyephem") without warnings on Debian 12 by installing "wheel" > first: > > *p

Re: [weewx-development] V5.0 release candidate available

2023-12-22 Thread Tom Keffer
I was able to install both paho-mqtt and ephem (NB: these days, it's just "ephem", not "pyephem") without warnings on Debian 12 by installing "wheel" first: *python3 -m pip install wheel* *python3 -m pip install ephem* *python3 -m pip install paho-mqtt* Does this work for others? If so, we can pu

Re: [weewx-development] V5.0 release candidate available

2023-12-22 Thread Greg
Oops...I meant python version is 3.11 not pip. Pip is at the latest version. So I guess I install this way pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517'? I am running debian 12 by the way. Anyone else seen these messages? On Saturday 23 Decem

[weewx-development] Re: V5.0 release candidate available

2023-12-22 Thread Vince Skahan
yes On Friday, December 22, 2023 at 10:57:42 AM UTC-8 Claudio wrote: does it work on Raspberry 5 and Debian version: 12 (bookworm)? -- You received this message because you are subscribed to the Google Groups "weewx-development" group. To unsubscribe from this group and stop receiving emails f

[weewx-development] Re: V5.0 release candidate available

2023-12-22 Thread Claudio
does it work on Raspberry 5 and Debian version: 12 (bookworm)? Claudio Il giorno venerdì 22 dicembre 2023 alle 00:07:40 UTC+1 Tom Keffer ha scritto: > Celebrate the solstice (coming up in 4 hours) and the start of Winter with > a WeeWX release candidate! > > *Changes since b17* > We gave up on a

Re: [weewx-development] V5.0 release candidate available

2023-12-22 Thread Claudio
does it work on Raspberry 5 and Debian version: 12 (bookworm)? Claudio Il giorno venerdì 22 dicembre 2023 alle 19:12:47 UTC+1 Vince Skahan ha scritto: > I set up a couple instances via weewx-multi following > https://github.com/weewx/weewx/wiki/weewx-multi and it looks like the > generated weew

Re: [weewx-development] V5.0 release candidate available

2023-12-22 Thread Vince Skahan
I set up a couple instances via weewx-multi following https://github.com/weewx/weewx/wiki/weewx-multi and it looks like the generated weewx@.service file needs a little tweak. My pip installation generated a weewx@.service file that had ExecStart pointing to weewx.conf, but it should point to %

Re: [weewx-development] V5.0 release candidate available

2023-12-22 Thread Vince Skahan
On Friday, December 22, 2023 at 5:09:15 AM UTC-8 Tom Keffer wrote: 3. Greg, I would guess that your problems are due to using a very old version of pip. You're at 3.11, but the current version is 23.3. See the wiki article *Troubleshooting pip installs

Re: [weewx-development] V5.0 release candidate available

2023-12-22 Thread Steeple Ian
Can confirm that worked, Thanks, Ian On Friday, December 22, 2023 at 4:27:17 PM UTC Steeple Ian wrote: > Thanks Matthew, I have a fork of gw1000 so I can do it directly from there. > > Ian > > On Friday, December 22, 2023 at 4:20:36 PM UTC matthew wall wrote: > >> I guess the second last line is

Re: [weewx-development] V5.0 release candidate available

2023-12-22 Thread Steeple Ian
Quick question Matthew, did you mean replace the whole line? On Friday, December 22, 2023 at 4:27:17 PM UTC Steeple Ian wrote: > Thanks Matthew, I have a fork of gw1000 so I can do it directly from there. > > Ian > > On Friday, December 22, 2023 at 4:20:36 PM UTC matthew wall wrote: > >> I guess

Re: [weewx-development] V5.0 release candidate available

2023-12-22 Thread Steeple Ian
Thanks Matthew, I have a fork of gw1000 so I can do it directly from there. Ian On Friday, December 22, 2023 at 4:20:36 PM UTC matthew wall wrote: > I guess the second last line is the key one. Being trying to dig my way > out of this one without success. I never had a problem with any of the

Re: [weewx-development] V5.0 release candidate available

2023-12-22 Thread matthew wall
I guess the second last line is the key one. Being trying to dig my way out of this one without success. I never had a problem with any of the other recent builds of version 5. Any help would be appreciated, hi ian, we just discovered this as well. the 'StrictVersion' parser does not hand

Re: [weewx-development] V5.0 release candidate available

2023-12-22 Thread Steeple Ian
Installed the release candidate using pip. All working fine using simulator driver. Then tried to install Gary's weewx-gw1000.py driver and repeatedly get this error: - (weewx-venv) Ian@bookworm:~$ weectl extension install https://github.com/gjr80/weewx-gw1000/releases/download/v0.6.0b2/gw1000-

Re: [weewx-development] V5.0 release candidate available

2023-12-22 Thread matthew wall
On Friday, December 22, 2023 at 8:31:47 AM UTC-5 Paul R Anderson wrote: On startup __init__.py now logs this: Dec 21 06:47:19 hall-9000 weewxd[4484]: INFO weewx: Adding 'user' directory '/home/panders/weewx-data/bin' First time I saw it I thought wait that directory should exist, it's where my

Re: [weewx-development] V5.0 release candidate available

2023-12-22 Thread Paul R Anderson
Extremely nitpicky, this could be just me :) On startup __init__.py now logs this: Dec 21 06:47:19 hall-9000 weewxd[4484]: INFO weewx: Adding 'user' directory '/home/panders/weewx-data/bin' First time I saw it I thought wait that directory should exist, it's where my extensions live, hope they're

Re: [weewx-development] Re: PostgreSQL support, which branch to target?

2023-12-22 Thread Tom Keffer
Typically, this is used to calculate the number of days of precipitation greater than some amount during a time span, using the daily summaries. The parameter %(val)s is the value. In retrospect, the choice of column names in the daily summaries may not have been a good one. The values "sum" in th

Re: [weewx-development] V5.0 release candidate available

2023-12-22 Thread Tom Keffer
Thanks, all! Keep them coming. 1. The syslog comment is annoying, but harmless. We've changed the weewx unit service file to specify StandardError of journal+console. Commit 940eff4 . 2. Missing Vantage records. I've

Re: [weewx-development] V5.0 release candidate available

2023-12-22 Thread Greg
I installed weewx using the pip method and followed the instructions. I did a pip list before installing to get the list of what other dependencies I am using. When I installed paho-mqtt and pyephem I got these errors: Installing collected packages: paho-mqtt DEPRECATION: paho-mqtt is being in