Re: [weewx-user] FTP upload error

2022-10-25 Thread Tom Keffer
I am unable to debug your FTP because the connection is consistently refused. I'm not sure, but with a server in Germany, but a Russian domain, you may have gotten caught up in the Ukraine conflict. On Tue, Oct 25, 2022 at 11:49 AM vladimir...@gmail.com < vladimir.a.mo...@gmail.com> wrote: >

Re: [weewx-user] FTP upload error

2022-10-25 Thread vladimir...@gmail.com
Oct 25 21:42:02 pogoda-ubuntu weewx[1056] ERROR weeutil.ftpupload: Failed uploading /var/www/html/weewx/weektempin.png to server web.ru. Reason: 'timed out' Oct 25 21:42:22 pogoda-ubuntu weewx[1056] ERROR weewx.reportengine: ftpgenerator: (2): caught exception '': timed out Oct 25 21:42:22

Re: [weewx-user] Re: Wrong rain in daily archive but ok in archive

2022-10-25 Thread Roberto Verrelli
Hi Gary, sorry for late reply,below the output requested pi@raspberrypi:~ $ sudo wee_database --drop-daily Using configuration file /etc/weewx/weewx.conf Using database binding 'wx_binding', which is bound to database 'archive_sqlite' Proceeding will delete all your daily summaries from

Re: [weewx-user] Registering my Station & Rain Year

2022-10-25 Thread Bodo
Yeaph !! Here I am ! I'm Back again. Thank you all for your support. When we met the next time, I pay the beer. Regards Bodo Bodo schrieb am Dienstag, 25. Oktober 2022 um 16:09:23 UTC+2: > Hi Tom. > > That is what I think also now (see text before). > And I try it instantly. !NOW! > > Bodo

Re: [weewx-user] Re: Version 4.9.0 available

2022-10-25 Thread David Schulz
Thanks for the fix. And I deleted it because it does not belong directly to WeewX. But you fixed it here too. https://github.com/roe-dl/weewx-wns tke...@gmail.com schrieb am Dienstag, 25. Oktober 2022 um 15:53:28 UTC+2: > The calling signature of archiveDaySpan() has changed. I didn't think >

Re: [weewx-user] Registering my Station & Rain Year

2022-10-25 Thread Bodo
Hi Tom. That is what I think also now (see text before). And I try it instantly. !NOW! Bodo Bodo schrieb am Dienstag, 25. Oktober 2022 um 16:05:17 UTC+2: > Not shure to understand what you mean, Peter. > > https://bschnare.de/.. ?! > In the moment I have nothing else like http: or

Re: [weewx-user] Registering my Station & Rain Year

2022-10-25 Thread Bodo
Not shure to understand what you mean, Peter. https://bschnare.de/.. ?! In the moment I have nothing else like http: or https: In the moment it iswww.bschnare.de/wp-content/Wetter/index.html Perhaps this the right adress ? --> https://bschnare.de/wp-content/Wetter/index.html Is it

Re: [weewx-user] Registering my Station & Rain Year

2022-10-25 Thread Tom Keffer
I think the problem is that you forgot the http://. So, you want station_url = https://www.bschnare.de/wp-content/Wetter/index.html On Tue, Oct 25, 2022 at 6:19 AM Bodo wrote: > OK. Here it is. And .. that will be the reason, I think : > > ==> Oct 25 10:25:18 raspi3 weewx[16267] DEBUG

Re: [weewx-user] Re: Version 4.9.0 available

2022-10-25 Thread Tom Keffer
The calling signature of archiveDaySpan() has changed. I didn't think anyone would be affected by this, but I was obviously wrong. Go into file /usr/share/weewx/user/wns.cpy and change this yesterdaytimespan = weeutil.weeutil.archiveDaySpan(_time_ts,1,1) to this yesterdaytimespan =

Re: [weewx-user] Calculating average wind direction when aggregate is higher than your archive period.

2022-10-25 Thread James Taylor
Given the update, I have just backed out to sqlite3 (3.34.1) and upgraded to weewx 4.9.1 and I can see I'm getting the same result with the changes. Excellent coding Tom. # python3 -c "import sqlite3; print(sqlite3.sqlite_version)" 3.34.1 obs_lookup is wind Start time is 1665440100 and end

Re: [weewx-user] Registering my Station & Rain Year

2022-10-25 Thread p q
Could you have \ when you should have / ? On Tue, Oct 25, 2022 at 6:19 AM Bodo wrote: > OK. Here it is. And .. that will be the reason, I think : > > ==> Oct 25 10:25:18 raspi3 weewx[16267] DEBUG weewx.restx: > StationRegistry: Failed upload attempt 1: b'FAIL: bad registration info: >

Re: [weewx-user] Registering my Station & Rain Year

2022-10-25 Thread Bodo
OK. Here it is. And .. that will be the reason, I think : ==> Oct 25 10:25:18 raspi3 weewx[16267] DEBUG weewx.restx: StationRegistry: Failed upload attempt 1: b'FAIL: bad registration info: station_url is not a proper URL\n' If this is the reason - What is a proper station-url ? Perhaps

[weewx-user] Re: Version 4.9.0 available

2022-10-25 Thread David Schulz
Hi, I have the following message in syslog after updating to 4.9.0 / 4.9.1. Is it relevant or not? python3 -c "import sqlite3; print(sqlite3.sqlite_version)" 3.37.2 Oct 25 14:58:17 weather weewx[15683] ERROR weewx.restx: Wns: Unexpected exception of type Oct 25 14:58:17 weather weewx[15683]

Re: [weewx-user] Registering my Station & Rain Year

2022-10-25 Thread Tom Keffer
What we need is the contents of your system log, /var/log/syslog. On Tue, Oct 25, 2022 at 2:42 AM Bodo wrote: > Hi Tom. > Thanks for helping me. > How to copy text and lines ? How to open the log-files ? Need some time to > realize this basics. Hope I got the correct lines copied. And I hope

[weewx-user] Re: Version 4.9.0 available

2022-10-25 Thread Tom Keffer
I have just uploaded v4.9.1. For older versions of sqlite, it does the math calculations in Python, instead of SQL. Please give it a try. On Mon, Oct 24, 2022 at 4:13 PM Tom Keffer wrote: > One glitch that could affect new users running older operating systems. > > Older versions of the

Re: [weewx-user] Registering my Station & Rain Year

2022-10-25 Thread Bodo
Hi Tom. Thanks for helping me. How to copy text and lines ? How to open the log-files ? Need some time to realize this basics. Hope I got the correct lines copied. And I hope this 'short-lines' will be enough ;-) Send you 'messages' and 'debug'. tke...@gmail.com schrieb am Montag, 24. Oktober

Re: [weewx-user] Re: Version 4.9.0 available

2022-10-25 Thread Nate Bargmann
* On 2022 24 Oct 19:33 -0500, vince wrote: > Looks like a lot of os are not up to v3.35 or later according to the > command in the other thread... > > *python3 -c "import sqlite3; print(sqlite3.sqlite_version)"* > > >- Debian 10 - nope >- Debian 11 - nope >- Almalinux 9 - nope >

Re: [weewx-user] Re: Version 4.9.0 available

2022-10-25 Thread Raffaello Galli
I had weewx 4,8 installed on a raspberry pi 4 mod B 8GB ram Everything was running smoothly and was working fine, archiving and retrieving correctly from sqlite database After the installation of weewx 4.9 the function wee_reports was not working correctly due to an exception. I have an exception