Re: [weewx-user] Re: problem with ftp anc post http error 403

2021-11-24 Thread Massimiliano Scarzella
Ok. Thanks a lot Il giorno giovedì 25 novembre 2021 alle 02:35:04 UTC+1 gjr80 ha scritto: > Just to wrap up this aspect of this thread I have released v0.1.2 of the > WeeWX-Saratoga extension. Details are on the WeeWX-Saratoga extension > GitHub release page

Re: [weewx-user] Re: problem with ftp anc post http error 403

2021-11-24 Thread gjr80
Just to wrap up this aspect of this thread I have released v0.1.2 of the WeeWX-Saratoga extension. Details are on the WeeWX-Saratoga extension GitHub release page . Key changes are that v0.1.2 will tolerate pyehem not being installed and the tem

Re: [weewx-user] Re: problem with ftp anc post http error 403

2021-11-22 Thread Massimiliano Scarzella
thanks Gary, I wrote the same problem also in your page on github and now I have found a temporary solution by blocking the variables in WEEWXtags.php.tmpl. But in the future I would like to read the pressure through a working Bmp085 already connected to the GPIO with the pressure data. I awai

Re: [weewx-user] Re: problem with ftp anc post http error 403

2021-11-22 Thread gjr80
The air density and wet bulb errors are due to the respective (weewx-saratoga extension) xtypes being unable to calculate air density and wet bulb due to the station not providing WeeWX field pressure (a common issue among SDR driven console based systems as the pressure sensor is typically in

Re: [weewx-user] Re: problem with ftp anc post http error 403

2021-11-22 Thread Massimiliano Scarzella
OK thank you very much. the author is gir80: https://github.com/gjr80/weewx-saratoga I send a message to the respective page Il giorno lunedì 22 novembre 2021 alle 20:29:39 UTC+1 tke...@gmail.com ha scritto: > PHP? There is no PHP code anywhere in WeeWX. You'll have to ask the author > of WEE

Re: [weewx-user] Re: problem with ftp anc post http error 403

2021-11-22 Thread Tom Keffer
PHP? There is no PHP code anywhere in WeeWX. You'll have to ask the author of WEEWXtags.php. On Mon, Nov 22, 2021 at 8:26 AM Massimiliano Scarzella wrote: > the generated WEEWXtags.php file has this error: Parse error: syntax > error, unexpected 'air_density' (T_STRING) in > /membri/sassarimeteo

Re: [weewx-user] Re: problem with ftp anc post http error 403

2021-11-22 Thread Massimiliano Scarzella
the generated WEEWXtags.php file has this error: Parse error: syntax error, unexpected 'air_density' (T_STRING) in /membri/sassarimeteo/weather/WEEWXtags.php on line 779. inside it is generated as follows: $ airdensity = '?' air_density '?'; // air density And $ wetbulb = '?' wet_bulb '?'; why do

Re: [weewx-user] Re: problem with ftp anc post http error 403

2021-11-22 Thread Massimiliano Scarzella
ok solved. i found the problem. Il giorno lunedì 22 novembre 2021 alle 14:33:37 UTC+1 Massimiliano Scarzella ha scritto: > now i have this error: can you help me please? > > pi@raspberrypi:~ $ sudo tail -f /var/log/syslog > Nov 22 14:29:21 raspberrypi weewx[3943] DEBUG user.sdr: lines=[] > Nov

Re: [weewx-user] Re: problem with ftp anc post http error 403

2021-11-22 Thread Massimiliano Scarzella
now i have this error: can you help me please? pi@raspberrypi:~ $ sudo tail -f /var/log/syslog Nov 22 14:29:21 raspberrypi weewx[3943] DEBUG user.sdr: lines=[] Nov 22 14:29:24 raspberrypi weewx[3943] DEBUG user.sdr: lines=[] Nov 22 14:29:27 raspberrypi weewx[3943] DEBUG user.sdr: lines=[] Nov 22

Re: [weewx-user] Re: problem with ftp anc post http error 403

2021-11-20 Thread Massimiliano Scarzella
: [weewx-user] Re: problem with ftp anc post http error 403 On Saturday, November 20, 2021 at 12:46:25 AM UTC-8 scarz...@gmail.com wrote: I changed authorization to clientraw.php 777 Making any file mode 777 on an Internet facing computer is a very bad idea. Please don't do that. You could make i

Re: [weewx-user] Re: problem with ftp anc post http error 403

2021-11-20 Thread vince
On Saturday, November 20, 2021 at 12:46:25 AM UTC-8 scarz...@gmail.com wrote: > I changed authorization to clientraw.php 777 > > Making any file mode 777 on an Internet facing computer is a very bad idea. Please don't do that. You could make it 755 or even 555 to be very safe. -- You receive

Re: [weewx-user] Re: problem with ftp anc post http error 403

2021-11-20 Thread Massimiliano Scarzella
here it is, [[FTP]] # FTP'ing the results to a webserver is treated as just another report, # albeit one with an unusual report generator! skin = Ftp # If you wish to use FTP, set "enable" to "true", then # fill out the next four lines. # Use quotes around passwords to guard against parsing error

Re: [weewx-user] Re: problem with ftp anc post http error 403

2021-11-20 Thread Tom Keffer
When you added ftp_encoding = latin-1 Did you put it in the same [[FTP]] section you already have? When you're done, the results should look like this: [StdReport] ... options for other reports [[FTP]] skin = Ftp enable = true user = your user name passw

Re: [weewx-user] Re: problem with ftp anc post http error 403

2021-11-20 Thread Massimiliano Scarzella
I changed authorization to clientraw.php 777 Il giorno sabato 20 novembre 2021 alle 09:40:12 UTC+1 Massimiliano Scarzella ha scritto: > second thing: altervista is a free hosting so I don't know if I can have > the log. I can send you the logs of the check-fetch-times.php file which is > as fo

Re: [weewx-user] Re: problem with ftp anc post http error 403

2021-11-20 Thread Massimiliano Scarzella
second thing: altervista is a free hosting so I don't know if I can have the log. I can send you the logs of the check-fetch-times.php file which is as follows: _ check-fetch-times.php Version 1.43

Re: [weewx-user] Re: problem with ftp anc post http error 403

2021-11-20 Thread Massimiliano Scarzella
ok, one thing at a time: I replaced the ftpupload.py file as required and added [[FTP]] # (Other options as before) ftp_encoding = latin-1 to weew.conf but it gave me the same initial error. then I edited the ftpupload.py file with log.debug ("Attempting connection to% s", self.server) ftp_serv

Re: [weewx-user] Re: problem with ftp anc post http error 403

2021-11-19 Thread Massimiliano Scarzella
I did as you told me but now I have the same mistake again. I replaced the file and added to the weew.conf file in the ftp section. before the change it worked Il giorno venerdì 19 novembre 2021 alle 22:10:03 UTC+1 tke...@gmail.com ha scritto: > Massimiliano, > > I've fixed this in commit fd6d9

Re: [weewx-user] Re: problem with ftp anc post http error 403

2021-11-19 Thread vince
yes - same thing I was saying. Tell us the configuration and show us the logs from the webserver. On Friday, November 19, 2021 at 2:05:19 PM UTC-8 gjr80 wrote: > Hang, before we go down too many rabbit holes why don't we look at a few > basics on the web server and see if there are any clues th

Re: [weewx-user] Re: problem with ftp anc post http error 403

2021-11-19 Thread gjr80
Hang, before we go down too many rabbit holes why don't we look at a few basics on the web server and see if there are any clues there. post-clientraw.php is a very basic script that accepts a file via HTTP POST and saves it to the web server. 403 is suggestive of a permissions error; what perm

Re: [weewx-user] Re: problem with ftp anc post http error 403

2021-11-19 Thread vince
On Friday, November 19, 2021 at 12:09:34 PM UTC-8 scarz...@gmail.com wrote: > Thanks Vince. I don't know of the Http post so I can't fix it. I can tell > you that by clicking on the post_clientraw.php file the answer is 405 > Method Not Allowed, that is 405 - Method Not Allowed for GET or HEAD

Re: [weewx-user] Re: problem with ftp anc post http error 403

2021-11-19 Thread Tom Keffer
Massimiliano, I've fixed this in commit fd6d9a , which offers a new option "ftp_encoding", where you can specify an alternative encoding. Could you replace your copy of ftplib.py with the new version, which is attache

Re: [weewx-user] Re: problem with ftp anc post http error 403

2021-11-19 Thread Massimiliano Scarzella
Thanks Vince. I don't know of the Http post so I can't fix it. I can tell you that by clicking on the post_clientraw.php file the answer is 405 Method Not Allowed, that is 405 - Method Not Allowed for GET or HEAD request but I can't solve. Il giorno venerdì 19 novembre 2021 alle 19:03:40 UTC+1

Re: [weewx-user] Re: problem with ftp anc post http error 403

2021-11-19 Thread vince
On Friday, November 19, 2021 at 9:20:24 AM UTC-8 scarz...@gmail.com wrote: > > Perfect, the ftp upload problem was SOLVED using Tom's solution and the > ephemeris problem SOLVED with Gary's solution, thanks to both. Only this > problem remains in the log: Nov 19 18:05:05 raspberrypi weewx [1197]

[weewx-user] Re: problem with ftp anc post http error 403

2021-11-16 Thread gjr80
I'm sorry I have not been able to look at this since my earlier post. Looking through the error trace in your first post it appears the error occurs when connecting to your FTP server but before you login to the server with your credentials. I am no great FTP expert, but before we go down any r

[weewx-user] Re: problem with ftp anc post http error 403

2021-11-16 Thread Greg from Oz
Probably in this file: /home/weewx/skins/Ftp/skin.conf or /home/weewx/weewx.conf On Wednesday, 17 November 2021 at 07:14:11 UTC+11 scarz...@gmail.com wrote: > thanks for your reply, but after several attempts i could not find out the > files with this error. I am not practical enough. Can you

[weewx-user] Re: problem with ftp anc post http error 403

2021-11-16 Thread Massimiliano Scarzella
thanks for your reply, but after several attempts i could not find out the files with this error. I am not practical enough. Can you tell me how to find these errors? thanks a lot Il giorno venerdì 12 novembre 2021 alle 10:10:52 UTC+1 gjr80 ha scritto: > Bit of a punt but do you have the è (e

[weewx-user] Re: problem with ftp anc post http error 403

2021-11-12 Thread gjr80
Bit of a punt but do you have the è (e grave - lowercase e with grave accent) character anywhere in the Ftp skin.conf or the [StdReport] [[FTP]] stanza in weewx.conf or in the name/path of any of the files being ftp’d? That will likely be the source of the utf-8 error. Gary On Friday, 12 Novem