Re: [weewx-user] Broken installation after upgrade to v5.0.2

2024-02-29 Thread fLsh
Yeah I even had problems creating the venv environment with 3.9 and that worked in the past with other software on 3.7. But I have a Debian Package installation and don't want to lose all my changes so I am hoping that I will get it to work with python 3.7 and new driver version. Or is venv a

Re: [weewx-user] Broken installation after upgrade to v5.0.2

2024-02-29 Thread fLsh
Hi vince, no not really, it is an up to date Raspberry Pi which was running 4.10.2 and Python 3.7 without issues. Problems started with weewx 5. First I did the update to 5.0.1 and it worked as well. Then I saw that there is another update to 5.0.2 and also changed weatherlink_live driver to

[weewx-user] Trying to get rtl_433 to feed data to weewx

2024-02-29 Thread Charlie T
OK Noob progresswhen I start weewx with the command: *sudo systemctl start weewx *and then monitor with a *top* command I can see that weewx is running rtl_433. But the .html file is not updating. (When I run in simulator mode the .html file IS updating). So it seems that *both *programs

Re: [weewx-user] Re: Saratoga extension unhappy with Feb 29th

2024-02-29 Thread Al Barnes
Thanks Gary! Now working fine after updating to 0.1.9. Al gjr80 wrote: Was fixed in release 0.1.9 . Gary On Friday 1 March 2024 at 10:48:13 UTC+10 vanilla...@gmail.com wrote: I just noticed that today my logs are filled with

[weewx-user] Re: Saratoga extension unhappy with Feb 29th

2024-02-29 Thread gjr80
Was fixed in release 0.1.9 . Gary On Friday 1 March 2024 at 10:48:13 UTC+10 vanilla...@gmail.com wrote: > I just noticed that today my logs are filled with messages every cycle > complaining about the date: > > ValueError: day is

[weewx-user] Saratoga extension unhappy with Feb 29th

2024-02-29 Thread Al Barnes
I just noticed that today my logs are filled with messages every cycle complaining about the date: ValueError: day is out of range for month Full log attached Al -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group

Re: [weewx-user] Problem with WeeWX5 "driver" directory

2024-02-29 Thread Tom Keffer
Yes, I do want it. I am unable to reproduce the problem. It's possible the problem is with how the extension has been packaged. On Thu, Feb 29, 2024 at 1:43 PM Remy LAVABRE wrote: > I do not think that the problem come from awekaswx.py. > The install try to put it in

Re: [weewx-user] Problem with WeeWX5 "driver" directory

2024-02-29 Thread Remy LAVABRE
I do not think that the problem come from awekaswx.py. The install try to put it in etc/weewx/bin/user/awekaswx.py which does not exist as I am under virtuel python environnement ! The problem is independant of what is in awekaswx.py... no ? You want it anyway ? Le jeu. 29 févr. 2024, 22:29,

Re: [weewx-user] Problem with WeeWX5 "driver" directory

2024-02-29 Thread Tom Keffer
You sent it for the "Unrecognized type" error, not the "No such file" error. Could you send me the entire file AWEKAS.zip and I will try it on my end? -tk On Thu, Feb 29, 2024 at 1:19 PM Remy LAVABRE wrote: > Sorry Tom but I’ve already send you the return of the terminal : > > (weewx-venv)

Re: [weewx-user] Problem with WeeWX5 "driver" directory

2024-02-29 Thread Remy Lavabre
Sorry.. US version : (weewx-venv) remy@remy-virtual-machine:~/weewx-data$ weectl extension install AWEKAS.zip Using configuration file /home/remy/weewx-data/weewx.conf Install extension 'AWEKAS.zip' (y/n)? y Extracting from zip archive AWEKAS.zip Traceback (most recent call last): File

Re: [weewx-user] Problem with WeeWX5 "driver" directory

2024-02-29 Thread Remy LAVABRE
Sorry Tom but I’ve already send you the return of the terminal : (weewx-venv) remy@remy-virtual-machine:~/weewx-data$ extension weectl installer AWEKAS.zip Utilisation du fichier de configuration /home/remy/weewx-data/weewx.conf Installer l'extension « AWEKAS.zip » (o/n) ? oui Extraction de

Re: [weewx-user] Broken installation after upgrade to v5.0.2

2024-02-29 Thread Tom Keffer
Not sure what's going on there, but it may have something to do with attempting to install as root. Try installing as an unprivileged user, say "pi". $ *su - pi* $ *whoami* pi $ *cd* $ *python3.9 -m venv weewx-venv* $ *source weewx-venv/bin/activate* $ *python3.9 -m pip install weewx* $ *weectl

Re: [weewx-user] Broken installation after upgrade to v5.0.2

2024-02-29 Thread vince
That's very odd. Are you running a very unusual or very ancient os on your pi ? I don't think I've ever seen lsb_release 'fail' but I recall some os didn't have that command years ago What do the following commands return when you run them from the shell ? - lsb_release -a - cat

Re: [weewx-user] leap year and span

2024-02-29 Thread Tom Keffer
I am not surprised that $year_delta=1 does not work on leap day. There is no 29 February 2023. This is issue #436 . On Thu, Feb 29, 2024 at 9:45 AM František Slimařík wrote: > Hi Tom, > > actually I found another for cycle which caused the issue.

Re: [weewx-user] Broken installation after upgrade to v5.0.2

2024-02-29 Thread fLsh
Author of the driver suggested to use Python 3.9 which I installed and now I get a different error: Feb 29 19:57:12 loxberry systemd[1]: Started WeeWX. Feb 29 19:57:12 loxberry weewxd[30842]: Traceback (most recent call last): Feb 29 19:57:12 loxberry weewxd[30842]: File

Re: [weewx-user] Problem with WeeWX5 "driver" directory

2024-02-29 Thread Tom Keffer
When you run "weectl extension install", what shows up on the terminal? It should tell you which configuration file it is using. That will tell us what it expects WEEWX_ROOT to be. On Thu, Feb 29, 2024 at 10:13 AM Remy LAVABRE wrote: > Sorry Tom, I don’t understand what you want exactly... > >

Re: [weewx-user] Problem with WeeWX5 "driver" directory

2024-02-29 Thread Remy LAVABRE
Sorry Tom, I don’t understand what you want exactly... Le jeu. 29 févr. 2024, 17:45, Tom Keffer a écrit : > How about the transcript? What did you see when you ran weectl? > > On Thu, Feb 29, 2024 at 8:05 AM Remy Lavabre > wrote: > >> Feb 29 17:03:12 remy-virtual-machine weectl[3059]: INFO

Re: [weewx-user] leap year and span

2024-02-29 Thread František Slimařík
Hi Tom, actually I found another for cycle which caused the issue. When I changed delta from "$year_delta=1" into "$day_delta=365" it works again. Interesting it worked without any issue till yesterday :) ##for $A in $span($year_delta=1).months $A.dateTime.format("%OB

Re: [weewx-user] Problem with WeeWX5 "driver" directory

2024-02-29 Thread Tom Keffer
How about the transcript? What did you see when you ran weectl? On Thu, Feb 29, 2024 at 8:05 AM Remy Lavabre wrote: > Feb 29 17:03:12 remy-virtual-machine weectl[3059]: INFO weectllib: > Initializing weectl version 5.0.2 > Feb 29 17:03:12 remy-virtual-machine weectl[3059]: INFO weectllib:

Re: [weewx-user] Problem with WeeWX5 "driver" directory

2024-02-29 Thread Remy Lavabre
Feb 29 17:03:12 remy-virtual-machine weectl[3059]: INFO weectllib: Initializing weectl version 5.0.2 Feb 29 17:03:12 remy-virtual-machine weectl[3059]: INFO weectllib: Command line: /home/remy/weewx-venv/bin/weectl extension install AWEKAS.zip Feb 29 17:03:12 remy-virtual-machine weectl[3059]:

Re: [weewx-user] Problem with WeeWX5 "driver" directory

2024-02-29 Thread Tom Keffer
It should be trying to install in the WEEWX_ROOT directory, which is generally the directory that weewx.conf is in. To diagnose, we need to see more of the log. It will tell you what WEEWX_ROOT is. Also, it would be useful to see the full transcript when you ran weectl extension install, not just

Re: [weewx-user] Problem with WeeWX5 "driver" directory

2024-02-29 Thread Remy Lavabre
Ok thanks Tom, thanks Gary. 1/ Sorry for all these inconveniences, especially since the name in capital letters was a big stupidity on my part... But by getting so angry, we end up no longer seeing the obvious... 2/ These few stupidities having been resolved, there is a new problem arriving...

Re: [weewx-user] Problem with WeeWX5 "driver" directory

2024-02-29 Thread Tom Keffer
On Thu, Feb 29, 2024 at 12:01 AM Remy Lavabre wrote: > Hello Tom, > in your doc ( > https://github.com/weewx/weewx/wiki/Weewx-Driver-Development-Tips), you > say : > > > > *A basic skeleton for your file might look like the one below.from setup > import ExtensionInstaller* > Wow. That's the

Re: [weewx-user] Broken installation after upgrade to v5.0.2

2024-02-29 Thread Tom Keffer
I think the problem is in the typing suggestions used by the driver. They can be tricky to get right. For example, in file mappers.py, line 137, reads def map_table(self) -> Dict[str, Union[str, list[str]]]: when it should probably be def map_table(self) -> Dict[str, Union[str,

Re: [weewx-user] leap year and span

2024-02-29 Thread Tom Keffer
I just tried this and it worked fine: 28. February 2023;33.4 1. March 2023;36.1 2. March 2023;38.0 3. March 2023;37.1 ... 26. February 2024;37.3 27. February 2024;38.5 28. February 2024;41.3 On Wed, Feb 28, 2024 at 8:57 PM František Slimařík wrote: > Yes, right > > #for $i in

Re: [weewx-user] Problem with WeeWX5 "driver" directory

2024-02-29 Thread gjr80
Where is awekas.zip? is it in ~/weewx-data ? Previously you named your extension package AWEKAS.zip not awekas.zip, did you change names or are you still using AWEKAS.zip? If so you need weectl extension install AWEKAS.zip not weectl extension install awekas.zip. Gary On Thursday 29 February

Re: [weewx-user] Problem with WeeWX5 "driver" directory

2024-02-29 Thread Remy Lavabre
Yesss ! Thank's Gary!!! We progress... :-))) BUT... :-((( Now with *from weecfg.extension import ExtensionInstaller or from setup import ExtensionInstaller the error* in install.py, the error is : (weewx-venv) remy@remy-virtual-machine:~/weewx-data$ weectl extension install awekas.zip Using

Re: [weewx-user] Problem with WeeWX5 "driver" directory

2024-02-29 Thread gjr80
On Thursday 29 February 2024 at 17:50:33 UTC+10 remy.l...@gmail.com wrote: *with* : unzip -l AWEKAS.zip *we have* : (weewx-venv) remy@remy-virtual-machine:~/weewx-data$ unzip -l AWEKAS.zip Archive: AWEKAS.zip Length DateTimeName - -- - 0

Re: [weewx-user] Problem with WeeWX5 "driver" directory

2024-02-29 Thread Remy Lavabre
Hello Tom, in your doc (https://github.com/weewx/weewx/wiki/Weewx-Driver-Development-Tips), you say : *A basic skeleton for your file might look like the one below.from setup import ExtensionInstaller...* Le jeudi 29 février 2024 à 08:50:33 UTC+1, Remy LAVABRE a écrit : > *with* : unzip