[weewx-user] Re: FTP upload fail
So try that as your path and see if it works On Saturday, December 9, 2023 at 1:55:42 PM UTC-8 BORIS wrote: > correction: > /customers/0/1/3/smeds.eu/httpd.www > > lördag 9 december 2023 kl. 22:51:13 UTC+1 skrev BORIS: > >> I get after pwd: >> /customers/0/1/3/smeds,eu/httpd.www >> Regards >> Boris >> >> lördag 9 december 2023 kl. 21:42:47 UTC+1 skrev vince: >> >>> log in via ftp using your username and password >>> type 'pwd' >>> that will tell you their current path >>> >>> It is not generally a good assumption to make that anything is generated >>> automatically. My 'guess' is that you are trying to write to a directory >>> that does not exist. >>> >>> On Saturday, December 9, 2023 at 12:16:20 PM UTC-8 BORIS wrote: >>> I have tried with other paths e.g. thamn that exists on the server without success. I thought that if I declare a new path called "new" it would be generated automaticly. At smeds.eu/thamn I have an old upload from 11 of June 2023. The directory new has not been generated on the server. Checked with WINscp /Boris lördag 9 december 2023 kl. 20:13:58 UTC+1 skrev vince: > ==> error_perm: 550 Requested action not taken. File unavailable > (e.g., file not found, no access). > > From your weewx.com I see 'path = /new' which I suspect is not > correct. Try connecting manually to your site via ftp and typing pwd to > see what the actual pathname it uses on the server side. > > On Saturday, December 9, 2023 at 10:49:55 AM UTC-8 BORIS wrote: > >> Hi, >> I have not used Weewx for some time and installed it again on a >> Ubuntu 14 Laptop. >> I can collect the data from my Klimalogg pro and the files are stored >> correctly. >> Only the FTP transfer is not working to my server at ONE.com >> I have other programs written in Python that can upload files >> correctly to the server. >> >> My weewx.conf file, FTP part: >>[[kl]] >> skin = kl >> HTML_ROOT = /var/www/html/weewx/kl >> >> [[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 errors. >> enable = true >> user = smeds.eu >> password = "**" >> server = ftp.smeds.eu# The ftp server name, e.g, >> www.myserver.org >> path = /new# The destination directory, e.g., /weather >> >> # Set to True for an FTP over TLS (FTPS) connection. Not all >> servers >> # support this. >> secure_ftp = False >> >> # To upload files from something other than what HTML_ROOT is >> set >> # to above, specify a different HTML_ROOT here. >> #HTML_ROOT = /var/www/html/weewx >> >> # Most FTP servers use port 21 >> port = 21 >> >> # Set to 1 to use passive mode, zero for active mode >> passive = 1 >> >> Part of the log looks like this with debug on: >> >> Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] INFO >> weewx.imagegenerator: Generated 11 images for report kl in 1.68 seconds >> Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG >> weewx.reportengine: Running report 'FTP' >> Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG >> weewx.reportengine: Found configuration file >> /etc/weewx/skins/Ftp/skin.conf >> for report 'FTP' >> Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG >> weewx.reportengine: Cannot read localization file >> /etc/weewx/skins/Ftp/lang/en.conf for report 'FTP': Config file not >> found: >> "/etc/weewx/skins/Ftp/lang/en.conf". >> Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG >> weewx.reportengine: Using defaults instead. >> Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG >> weeutil.ftpupload: Attempting connection to ftp.smeds.eu >> Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG >> weeutil.ftpupload: FTP encoding not supported, ignoring. >> Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG >> weeutil.ftpupload: Connected to ftp.smeds.eu >> Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG >> weeutil.ftpupload: 0 ./weektempdew.png >> d253e64a3a43c3e5f585744b6a7f73c6fbbf28a04f014eb0139b9fb587a627ac >> Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR >> weeutil.ftpupload: Failed uploading /var/www/html/weewx/weektempdew.png >> to >> server ftp.smeds.eu. Reason: '550 Requested action not taken. F
[weewx-user] Re: FTP upload fail
correction: /customers/0/1/3/smeds.eu/httpd.www lördag 9 december 2023 kl. 22:51:13 UTC+1 skrev BORIS: > I get after pwd: > /customers/0/1/3/smeds,eu/httpd.www > Regards > Boris > > lördag 9 december 2023 kl. 21:42:47 UTC+1 skrev vince: > >> log in via ftp using your username and password >> type 'pwd' >> that will tell you their current path >> >> It is not generally a good assumption to make that anything is generated >> automatically. My 'guess' is that you are trying to write to a directory >> that does not exist. >> >> On Saturday, December 9, 2023 at 12:16:20 PM UTC-8 BORIS wrote: >> >>> I have tried with other paths e.g. thamn that exists on the server >>> without success. I thought that if I declare a new path called "new" it >>> would be generated automaticly. At smeds.eu/thamn I have an old upload >>> from 11 of June 2023. The directory new has not been generated on the >>> server. Checked with WINscp >>> /Boris >>> >>> lördag 9 december 2023 kl. 20:13:58 UTC+1 skrev vince: >>> ==> error_perm: 550 Requested action not taken. File unavailable (e.g., file not found, no access). From your weewx.com I see 'path = /new' which I suspect is not correct. Try connecting manually to your site via ftp and typing pwd to see what the actual pathname it uses on the server side. On Saturday, December 9, 2023 at 10:49:55 AM UTC-8 BORIS wrote: > Hi, > I have not used Weewx for some time and installed it again on a > Ubuntu 14 Laptop. > I can collect the data from my Klimalogg pro and the files are stored > correctly. > Only the FTP transfer is not working to my server at ONE.com > I have other programs written in Python that can upload files > correctly to the server. > > My weewx.conf file, FTP part: >[[kl]] > skin = kl > HTML_ROOT = /var/www/html/weewx/kl > > [[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 errors. > enable = true > user = smeds.eu > password = "**" > server = ftp.smeds.eu# The ftp server name, e.g, > www.myserver.org > path = /new# The destination directory, e.g., /weather > > # Set to True for an FTP over TLS (FTPS) connection. Not all > servers > # support this. > secure_ftp = False > > # To upload files from something other than what HTML_ROOT is > set > # to above, specify a different HTML_ROOT here. > #HTML_ROOT = /var/www/html/weewx > > # Most FTP servers use port 21 > port = 21 > > # Set to 1 to use passive mode, zero for active mode > passive = 1 > > Part of the log looks like this with debug on: > > Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] INFO > weewx.imagegenerator: Generated 11 images for report kl in 1.68 seconds > Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG > weewx.reportengine: Running report 'FTP' > Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG > weewx.reportengine: Found configuration file > /etc/weewx/skins/Ftp/skin.conf > for report 'FTP' > Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG > weewx.reportengine: Cannot read localization file > /etc/weewx/skins/Ftp/lang/en.conf for report 'FTP': Config file not > found: > "/etc/weewx/skins/Ftp/lang/en.conf". > Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG > weewx.reportengine: Using defaults instead. > Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG > weeutil.ftpupload: Attempting connection to ftp.smeds.eu > Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG > weeutil.ftpupload: FTP encoding not supported, ignoring. > Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG > weeutil.ftpupload: Connected to ftp.smeds.eu > Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG > weeutil.ftpupload: 0 ./weektempdew.png > d253e64a3a43c3e5f585744b6a7f73c6fbbf28a04f014eb0139b9fb587a627ac > Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR > weeutil.ftpupload: Failed uploading /var/www/html/weewx/weektempdew.png > to > server ftp.smeds.eu. Reason: '550 Requested action not taken. File > unavailable (e.g., file not found, no access).' > Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR > weewx.reportengine: ftpgenerator: (0): caught exception ' 'ftplib.error_perm'>': 550 Requested acti
[weewx-user] Re: FTP upload fail
I get after pwd: /customers/0/1/3/smeds,eu/httpd.www Regards Boris lördag 9 december 2023 kl. 21:42:47 UTC+1 skrev vince: > log in via ftp using your username and password > type 'pwd' > that will tell you their current path > > It is not generally a good assumption to make that anything is generated > automatically. My 'guess' is that you are trying to write to a directory > that does not exist. > > On Saturday, December 9, 2023 at 12:16:20 PM UTC-8 BORIS wrote: > >> I have tried with other paths e.g. thamn that exists on the server >> without success. I thought that if I declare a new path called "new" it >> would be generated automaticly. At smeds.eu/thamn I have an old upload >> from 11 of June 2023. The directory new has not been generated on the >> server. Checked with WINscp >> /Boris >> >> lördag 9 december 2023 kl. 20:13:58 UTC+1 skrev vince: >> >>> ==> error_perm: 550 Requested action not taken. File unavailable (e.g., >>> file not found, no access). >>> >>> From your weewx.com I see 'path = /new' which I suspect is not correct. >>> Try connecting manually to your site via ftp and typing pwd to see what >>> the actual pathname it uses on the server side. >>> >>> On Saturday, December 9, 2023 at 10:49:55 AM UTC-8 BORIS wrote: >>> Hi, I have not used Weewx for some time and installed it again on a Ubuntu 14 Laptop. I can collect the data from my Klimalogg pro and the files are stored correctly. Only the FTP transfer is not working to my server at ONE.com I have other programs written in Python that can upload files correctly to the server. My weewx.conf file, FTP part: [[kl]] skin = kl HTML_ROOT = /var/www/html/weewx/kl [[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 errors. enable = true user = smeds.eu password = "**" server = ftp.smeds.eu# The ftp server name, e.g, www.myserver.org path = /new# The destination directory, e.g., /weather # Set to True for an FTP over TLS (FTPS) connection. Not all servers # support this. secure_ftp = False # To upload files from something other than what HTML_ROOT is set # to above, specify a different HTML_ROOT here. #HTML_ROOT = /var/www/html/weewx # Most FTP servers use port 21 port = 21 # Set to 1 to use passive mode, zero for active mode passive = 1 Part of the log looks like this with debug on: Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] INFO weewx.imagegenerator: Generated 11 images for report kl in 1.68 seconds Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weewx.reportengine: Running report 'FTP' Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weewx.reportengine: Found configuration file /etc/weewx/skins/Ftp/skin.conf for report 'FTP' Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weewx.reportengine: Cannot read localization file /etc/weewx/skins/Ftp/lang/en.conf for report 'FTP': Config file not found: "/etc/weewx/skins/Ftp/lang/en.conf". Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weewx.reportengine: Using defaults instead. Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weeutil.ftpupload: Attempting connection to ftp.smeds.eu Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weeutil.ftpupload: FTP encoding not supported, ignoring. Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weeutil.ftpupload: Connected to ftp.smeds.eu Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weeutil.ftpupload: 0 ./weektempdew.png d253e64a3a43c3e5f585744b6a7f73c6fbbf28a04f014eb0139b9fb587a627ac Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weeutil.ftpupload: Failed uploading /var/www/html/weewx/weektempdew.png to server ftp.smeds.eu. Reason: '550 Requested action not taken. File unavailable (e.g., file not found, no access).' Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: ftpgenerator: (0): caught exception '>>> 'ftplib.error_perm'>': 550 Requested action not taken. File unavailable (e.g., file not found, no access). Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: Traceback (most recent call last): Dec 9 18:40:30 boris-TOSH
[weewx-user] Re: FTP upload fail
log in via ftp using your username and password type 'pwd' that will tell you their current path It is not generally a good assumption to make that anything is generated automatically. My 'guess' is that you are trying to write to a directory that does not exist. On Saturday, December 9, 2023 at 12:16:20 PM UTC-8 BORIS wrote: > I have tried with other paths e.g. thamn that exists on the server without > success. I thought that if I declare a new path called "new" it would be > generated automaticly. At smeds.eu/thamn I have an old upload from 11 of > June 2023. The directory new has not been generated on the server. Checked > with WINscp > /Boris > > lördag 9 december 2023 kl. 20:13:58 UTC+1 skrev vince: > >> ==> error_perm: 550 Requested action not taken. File unavailable (e.g., >> file not found, no access). >> >> From your weewx.com I see 'path = /new' which I suspect is not correct. >> Try connecting manually to your site via ftp and typing pwd to see what >> the actual pathname it uses on the server side. >> >> On Saturday, December 9, 2023 at 10:49:55 AM UTC-8 BORIS wrote: >> >>> Hi, >>> I have not used Weewx for some time and installed it again on a Ubuntu >>> 14 Laptop. >>> I can collect the data from my Klimalogg pro and the files are stored >>> correctly. >>> Only the FTP transfer is not working to my server at ONE.com >>> I have other programs written in Python that can upload files correctly >>> to the server. >>> >>> My weewx.conf file, FTP part: >>>[[kl]] >>> skin = kl >>> HTML_ROOT = /var/www/html/weewx/kl >>> >>> [[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 errors. >>> enable = true >>> user = smeds.eu >>> password = "**" >>> server = ftp.smeds.eu# The ftp server name, e.g, >>> www.myserver.org >>> path = /new# The destination directory, e.g., /weather >>> >>> # Set to True for an FTP over TLS (FTPS) connection. Not all >>> servers >>> # support this. >>> secure_ftp = False >>> >>> # To upload files from something other than what HTML_ROOT is set >>> # to above, specify a different HTML_ROOT here. >>> #HTML_ROOT = /var/www/html/weewx >>> >>> # Most FTP servers use port 21 >>> port = 21 >>> >>> # Set to 1 to use passive mode, zero for active mode >>> passive = 1 >>> >>> Part of the log looks like this with debug on: >>> >>> Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] INFO >>> weewx.imagegenerator: Generated 11 images for report kl in 1.68 seconds >>> Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG >>> weewx.reportengine: Running report 'FTP' >>> Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG >>> weewx.reportengine: Found configuration file /etc/weewx/skins/Ftp/skin.conf >>> for report 'FTP' >>> Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG >>> weewx.reportengine: Cannot read localization file >>> /etc/weewx/skins/Ftp/lang/en.conf for report 'FTP': Config file not found: >>> "/etc/weewx/skins/Ftp/lang/en.conf". >>> Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG >>> weewx.reportengine: Using defaults instead. >>> Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weeutil.ftpupload: >>> Attempting connection to ftp.smeds.eu >>> Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weeutil.ftpupload: >>> FTP encoding not supported, ignoring. >>> Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weeutil.ftpupload: >>> Connected to ftp.smeds.eu >>> Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weeutil.ftpupload: >>> 0 ./weektempdew.png >>> d253e64a3a43c3e5f585744b6a7f73c6fbbf28a04f014eb0139b9fb587a627ac >>> Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weeutil.ftpupload: >>> Failed uploading /var/www/html/weewx/weektempdew.png to server >>> ftp.smeds.eu. Reason: '550 Requested action not taken. File unavailable >>> (e.g., file not found, no access).' >>> Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR >>> weewx.reportengine: ftpgenerator: (0): caught exception '>> 'ftplib.error_perm'>': 550 Requested action not taken. File unavailable >>> (e.g., file not found, no access). >>> Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR >>> weewx.reportengine: Traceback (most recent call last): >>> Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR >>> weewx.reportengine: File >>> "/usr/share/weewx/weewx/reportengine.py", line 437, in run >>> Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR >>> weewx.reportengine: n = ftp_data
[weewx-user] Re: FTP upload fail
I have tried with other paths e.g. thamn that exists on the server without success. I thought that if I declare a new path called "new" it would be generated automaticly. At smeds.eu/thamn I have an old upload from 11 of June 2023. The directory new has not been generated on the server. Checked with WINscp /Boris lördag 9 december 2023 kl. 20:13:58 UTC+1 skrev vince: > ==> error_perm: 550 Requested action not taken. File unavailable (e.g., > file not found, no access). > > From your weewx.com I see 'path = /new' which I suspect is not correct. > Try connecting manually to your site via ftp and typing pwd to see what > the actual pathname it uses on the server side. > > On Saturday, December 9, 2023 at 10:49:55 AM UTC-8 BORIS wrote: > >> Hi, >> I have not used Weewx for some time and installed it again on a Ubuntu >> 14 Laptop. >> I can collect the data from my Klimalogg pro and the files are stored >> correctly. >> Only the FTP transfer is not working to my server at ONE.com >> I have other programs written in Python that can upload files correctly >> to the server. >> >> My weewx.conf file, FTP part: >>[[kl]] >> skin = kl >> HTML_ROOT = /var/www/html/weewx/kl >> >> [[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 errors. >> enable = true >> user = smeds.eu >> password = "**" >> server = ftp.smeds.eu# The ftp server name, e.g, >> www.myserver.org >> path = /new# The destination directory, e.g., /weather >> >> # Set to True for an FTP over TLS (FTPS) connection. Not all >> servers >> # support this. >> secure_ftp = False >> >> # To upload files from something other than what HTML_ROOT is set >> # to above, specify a different HTML_ROOT here. >> #HTML_ROOT = /var/www/html/weewx >> >> # Most FTP servers use port 21 >> port = 21 >> >> # Set to 1 to use passive mode, zero for active mode >> passive = 1 >> >> Part of the log looks like this with debug on: >> >> Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] INFO >> weewx.imagegenerator: Generated 11 images for report kl in 1.68 seconds >> Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weewx.reportengine: >> Running report 'FTP' >> Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weewx.reportengine: >> Found configuration file /etc/weewx/skins/Ftp/skin.conf for report 'FTP' >> Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weewx.reportengine: >> Cannot read localization file /etc/weewx/skins/Ftp/lang/en.conf for report >> 'FTP': Config file not found: "/etc/weewx/skins/Ftp/lang/en.conf". >> Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weewx.reportengine: >> Using defaults instead. >> Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weeutil.ftpupload: >> Attempting connection to ftp.smeds.eu >> Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weeutil.ftpupload: >> FTP encoding not supported, ignoring. >> Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weeutil.ftpupload: >> Connected to ftp.smeds.eu >> Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weeutil.ftpupload: >> 0 ./weektempdew.png >> d253e64a3a43c3e5f585744b6a7f73c6fbbf28a04f014eb0139b9fb587a627ac >> Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weeutil.ftpupload: >> Failed uploading /var/www/html/weewx/weektempdew.png to server >> ftp.smeds.eu. Reason: '550 Requested action not taken. File unavailable >> (e.g., file not found, no access).' >> Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: >> ftpgenerator: (0): caught exception '': 550 >> Requested action not taken. File unavailable (e.g., file not found, no >> access). >> Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: >> Traceback (most recent call last): >> Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: >> File "/usr/share/weewx/weewx/reportengine.py", line 437, in >> run >> Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: >> n = ftp_data.run() >> Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: >> File "/usr/share/weewx/weeutil/ftpupload.py", line 220, in >> run >> Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: >> ftp_server.storbinary(stor_cmd, fd) >> Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: >> File "/usr/lib/python2.7/ftplib.py", line 471, in storbinary >> De
[weewx-user] Re: FTP upload fail
==> error_perm: 550 Requested action not taken. File unavailable (e.g., file not found, no access). >From your weewx.com I see 'path = /new' which I suspect is not correct. Try connecting manually to your site via ftp and typing pwd to see what the actual pathname it uses on the server side. On Saturday, December 9, 2023 at 10:49:55 AM UTC-8 BORIS wrote: > Hi, > I have not used Weewx for some time and installed it again on a Ubuntu 14 > Laptop. > I can collect the data from my Klimalogg pro and the files are stored > correctly. > Only the FTP transfer is not working to my server at ONE.com > I have other programs written in Python that can upload files correctly to > the server. > > My weewx.conf file, FTP part: >[[kl]] > skin = kl > HTML_ROOT = /var/www/html/weewx/kl > > [[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 errors. > enable = true > user = smeds.eu > password = "**" > server = ftp.smeds.eu# The ftp server name, e.g, > www.myserver.org > path = /new# The destination directory, e.g., /weather > > # Set to True for an FTP over TLS (FTPS) connection. Not all > servers > # support this. > secure_ftp = False > > # To upload files from something other than what HTML_ROOT is set > # to above, specify a different HTML_ROOT here. > #HTML_ROOT = /var/www/html/weewx > > # Most FTP servers use port 21 > port = 21 > > # Set to 1 to use passive mode, zero for active mode > passive = 1 > > Part of the log looks like this with debug on: > > Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] INFO weewx.imagegenerator: > Generated 11 images for report kl in 1.68 seconds > Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weewx.reportengine: > Running report 'FTP' > Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weewx.reportengine: > Found configuration file /etc/weewx/skins/Ftp/skin.conf for report 'FTP' > Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weewx.reportengine: > Cannot read localization file /etc/weewx/skins/Ftp/lang/en.conf for report > 'FTP': Config file not found: "/etc/weewx/skins/Ftp/lang/en.conf". > Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weewx.reportengine: > Using defaults instead. > Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weeutil.ftpupload: > Attempting connection to ftp.smeds.eu > Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weeutil.ftpupload: > FTP encoding not supported, ignoring. > Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weeutil.ftpupload: > Connected to ftp.smeds.eu > Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weeutil.ftpupload: 0 > ./weektempdew.png > d253e64a3a43c3e5f585744b6a7f73c6fbbf28a04f014eb0139b9fb587a627ac > Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weeutil.ftpupload: > Failed uploading /var/www/html/weewx/weektempdew.png to server > ftp.smeds.eu. Reason: '550 Requested action not taken. File unavailable > (e.g., file not found, no access).' > Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: > ftpgenerator: (0): caught exception '': 550 > Requested action not taken. File unavailable (e.g., file not found, no > access). > Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: > Traceback (most recent call last): > Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: > File "/usr/share/weewx/weewx/reportengine.py", line 437, in > run > Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: > n = ftp_data.run() > Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: > File "/usr/share/weewx/weeutil/ftpupload.py", line 220, in > run > Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: > ftp_server.storbinary(stor_cmd, fd) > Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: > File "/usr/lib/python2.7/ftplib.py", line 471, in storbinary > Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: > conn = self.transfercmd(cmd, rest) > Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: > File "/usr/lib/python2.7/ftplib.py", line 376, in > transfercmd > Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: > return self.ntransfercmd(cmd, rest)[0] > Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR
[weewx-user] FTP upload fail
Hi, I have not used Weewx for some time and installed it again on a Ubuntu 14 Laptop. I can collect the data from my Klimalogg pro and the files are stored correctly. Only the FTP transfer is not working to my server at ONE.com I have other programs written in Python that can upload files correctly to the server. My weewx.conf file, FTP part: [[kl]] skin = kl HTML_ROOT = /var/www/html/weewx/kl [[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 errors. enable = true user = smeds.eu password = "**" server = ftp.smeds.eu# The ftp server name, e.g, www.myserver.org path = /new# The destination directory, e.g., /weather # Set to True for an FTP over TLS (FTPS) connection. Not all servers # support this. secure_ftp = False # To upload files from something other than what HTML_ROOT is set # to above, specify a different HTML_ROOT here. #HTML_ROOT = /var/www/html/weewx # Most FTP servers use port 21 port = 21 # Set to 1 to use passive mode, zero for active mode passive = 1 Part of the log looks like this with debug on: Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] INFO weewx.imagegenerator: Generated 11 images for report kl in 1.68 seconds Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weewx.reportengine: Running report 'FTP' Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weewx.reportengine: Found configuration file /etc/weewx/skins/Ftp/skin.conf for report 'FTP' Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weewx.reportengine: Cannot read localization file /etc/weewx/skins/Ftp/lang/en.conf for report 'FTP': Config file not found: "/etc/weewx/skins/Ftp/lang/en.conf". Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weewx.reportengine: Using defaults instead. Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weeutil.ftpupload: Attempting connection to ftp.smeds.eu Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weeutil.ftpupload: FTP encoding not supported, ignoring. Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weeutil.ftpupload: Connected to ftp.smeds.eu Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weeutil.ftpupload: 0 ./weektempdew.png d253e64a3a43c3e5f585744b6a7f73c6fbbf28a04f014eb0139b9fb587a627ac Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weeutil.ftpupload: Failed uploading /var/www/html/weewx/weektempdew.png to server ftp.smeds.eu. Reason: '550 Requested action not taken. File unavailable (e.g., file not found, no access).' Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: ftpgenerator: (0): caught exception '': 550 Requested action not taken. File unavailable (e.g., file not found, no access). Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: Traceback (most recent call last): Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: File "/usr/share/weewx/weewx/reportengine.py", line 437, in run Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: n = ftp_data.run() Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: File "/usr/share/weewx/weeutil/ftpupload.py", line 220, in run Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: ftp_server.storbinary(stor_cmd, fd) Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: File "/usr/lib/python2.7/ftplib.py", line 471, in storbinary Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: conn = self.transfercmd(cmd, rest) Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: File "/usr/lib/python2.7/ftplib.py", line 376, in transfercmd Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: return self.ntransfercmd(cmd, rest)[0] Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: File "/usr/lib/python2.7/ftplib.py", line 339, in ntransfercmd Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: resp = self.sendcmd(cmd) Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: File "/usr/lib/python2.7/ftplib.py", line 249, in sendcmd Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: return self.getresp() Dec 9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine:
[weewx-user] Re: Fine Offset WH1080 Transmitter Spare or New WS?
Clas Ohlson transmiter works on 868mhz , Maplin N96FY works on 433mhz. maybe this spare part of climet wetather station clone of wh1080 works on you in 868mhz https://www.climemet.com/collections/climemet-spares-accessories/products/cm2016-th-replacement-thermo-hygro-sensor-for-cm2016 Στις Σάββατο 9 Δεκεμβρίου 2023 στις 4:22:27 μ.μ. UTC+2, ο χρήστης Jimi Lawson έγραψε: > That's a pity, I was under the impression the time signal came from the > console not the transmitter , but reading the manual seems to indicate > otherwise. > I bought spare outdoor sensors when Maplin were closing down so have 2 of > everything, the only thing I didn't buy was the outdoor transmitter ! > SInce I replaced the transmitter I managed to repair the original outdoor > transmitter, unfortunately then the console USB connection failed, so I > had no way of getting the data from the console to my PC. > I ended up using a USB SDR dongle, and a RPi 3B (both of which I had) > running WEEWX to pick up the outdoor transmitter signal Pressure and indoor > humidity/temp come from a BME280 connected to the PI, seems to work well so > far. > Jimi > > On Saturday 9 December 2023 at 13:40:14 UTC Cancunia wrote: > >> Thanks for the link, unfortunately my Clas O. version needs the DCF from >> the transmitter, none of the Maplin units had this feature AFAIK. There was >> a time when Maplin sold the transmitters separately but I didn't buy one >> due to the DCF issue. >> >> Maybe it's time for a new station.. >> >> On Saturday 9 December 2023 at 12:09:35 UTC Jimi Lawson wrote: >> >>> Further to the above, IIRC the only difference between the 1080 &1081 is >>> that the 1080 console has a radio controlled clock >>> Jimi >>> >>> On Saturday 9 December 2023 at 11:55:01 UTC Jimi Lawson wrote: >>> My Maplin N96FY (WH1081) transmitter failed this year after 11 years service I took a chance and bought one of these from Aliexpress https://www.aliexpress.com/item/101882199.html?spm=a2g0o.order_list.order_list_main.5.19ce1802N94q7L works perfectly. I don't know if it's compatible with the WH1080 but worth investigating/searching on Aliexpress Jimi On Saturday 9 December 2023 at 09:39:47 UTC Cancunia wrote: > My Clas Ohlson branded WH1080 transmitter has finally given up. I've > had a quick search around and can't see any spares other than a Chinese > source on eBay so I'm wondering if it's time for a new station. > Does anyone have suggestions for a good value weather station that's > available in the UK? > > Thanks > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/caa4fe67-1bb1-4976-9f8f-3aaf9adc62cfn%40googlegroups.com.
[weewx-user] Re: Fine Offset WH1080 Transmitter Spare or New WS?
That's a pity, I was under the impression the time signal came from the console not the transmitter , but reading the manual seems to indicate otherwise. I bought spare outdoor sensors when Maplin were closing down so have 2 of everything, the only thing I didn't buy was the outdoor transmitter ! SInce I replaced the transmitter I managed to repair the original outdoor transmitter, unfortunately then the console USB connection failed, so I had no way of getting the data from the console to my PC. I ended up using a USB SDR dongle, and a RPi 3B (both of which I had) running WEEWX to pick up the outdoor transmitter signal Pressure and indoor humidity/temp come from a BME280 connected to the PI, seems to work well so far. Jimi On Saturday 9 December 2023 at 13:40:14 UTC Cancunia wrote: > Thanks for the link, unfortunately my Clas O. version needs the DCF from > the transmitter, none of the Maplin units had this feature AFAIK. There was > a time when Maplin sold the transmitters separately but I didn't buy one > due to the DCF issue. > > Maybe it's time for a new station.. > > On Saturday 9 December 2023 at 12:09:35 UTC Jimi Lawson wrote: > >> Further to the above, IIRC the only difference between the 1080 &1081 is >> that the 1080 console has a radio controlled clock >> Jimi >> >> On Saturday 9 December 2023 at 11:55:01 UTC Jimi Lawson wrote: >> >>> My Maplin N96FY (WH1081) transmitter failed this year after 11 years >>> service I took a chance and bought one of these from Aliexpress >>> https://www.aliexpress.com/item/101882199.html?spm=a2g0o.order_list.order_list_main.5.19ce1802N94q7L >>> >>> works perfectly. I don't know if it's compatible with the WH1080 but worth >>> investigating/searching on Aliexpress >>> Jimi >>> On Saturday 9 December 2023 at 09:39:47 UTC Cancunia wrote: >>> My Clas Ohlson branded WH1080 transmitter has finally given up. I've had a quick search around and can't see any spares other than a Chinese source on eBay so I'm wondering if it's time for a new station. Does anyone have suggestions for a good value weather station that's available in the UK? Thanks >>> -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/7e68131c-9286-4a2a-b1b4-fa4b9ef04613n%40googlegroups.com.
[weewx-user] Re: Fine Offset WH1080 Transmitter Spare or New WS?
Thanks for the link, unfortunately my Clas O. version needs the DCF from the transmitter, none of the Maplin units had this feature AFAIK. There was a time when Maplin sold the transmitters separately but I didn't buy one due to the DCF issue. Maybe it's time for a new station.. On Saturday 9 December 2023 at 12:09:35 UTC Jimi Lawson wrote: > Further to the above, IIRC the only difference between the 1080 &1081 is > that the 1080 console has a radio controlled clock > Jimi > > On Saturday 9 December 2023 at 11:55:01 UTC Jimi Lawson wrote: > >> My Maplin N96FY (WH1081) transmitter failed this year after 11 years >> service I took a chance and bought one of these from Aliexpress >> https://www.aliexpress.com/item/101882199.html?spm=a2g0o.order_list.order_list_main.5.19ce1802N94q7L >> >> works perfectly. I don't know if it's compatible with the WH1080 but worth >> investigating/searching on Aliexpress >> Jimi >> On Saturday 9 December 2023 at 09:39:47 UTC Cancunia wrote: >> >>> My Clas Ohlson branded WH1080 transmitter has finally given up. I've had >>> a quick search around and can't see any spares other than a Chinese source >>> on eBay so I'm wondering if it's time for a new station. >>> Does anyone have suggestions for a good value weather station that's >>> available in the UK? >>> >>> Thanks >>> >> -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/d64bc248-2f24-4e64-a9d7-e2aef86837f9n%40googlegroups.com.
[weewx-user] Re: Fine Offset WH1080 Transmitter Spare or New WS?
Further to the above, IIRC the only difference between the 1080 &1081 is that the 1080 console has a radio controlled clock Jimi On Saturday 9 December 2023 at 11:55:01 UTC Jimi Lawson wrote: > My Maplin N96FY (WH1081) transmitter failed this year after 11 years > service I took a chance and bought one of these from Aliexpress > https://www.aliexpress.com/item/101882199.html?spm=a2g0o.order_list.order_list_main.5.19ce1802N94q7L > > works perfectly. I don't know if it's compatible with the WH1080 but worth > investigating/searching on Aliexpress > Jimi > On Saturday 9 December 2023 at 09:39:47 UTC Cancunia wrote: > >> My Clas Ohlson branded WH1080 transmitter has finally given up. I've had >> a quick search around and can't see any spares other than a Chinese source >> on eBay so I'm wondering if it's time for a new station. >> Does anyone have suggestions for a good value weather station that's >> available in the UK? >> >> Thanks >> > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/683eee7d-26a1-4aa4-a661-d576a1786bdcn%40googlegroups.com.
[weewx-user] Re: Fine Offset WH1080 Transmitter Spare or New WS?
My Maplin N96FY (WH1081) transmitter failed this year after 11 years service I took a chance and bought one of these from Aliexpress https://www.aliexpress.com/item/101882199.html?spm=a2g0o.order_list.order_list_main.5.19ce1802N94q7L works perfectly. I don't know if it's compatible with the WH1080 but worth investigating/searching on Aliexpress Jimi On Saturday 9 December 2023 at 09:39:47 UTC Cancunia wrote: > My Clas Ohlson branded WH1080 transmitter has finally given up. I've had a > quick search around and can't see any spares other than a Chinese source on > eBay so I'm wondering if it's time for a new station. > Does anyone have suggestions for a good value weather station that's > available in the UK? > > Thanks > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/c59bc88e-b899-472b-8318-290ca97e4260n%40googlegroups.com.
[weewx-user] Fine Offset WH1080 Transmitter Spare or New WS?
My Clas Ohlson branded WH1080 transmitter has finally given up. I've had a quick search around and can't see any spares other than a Chinese source on eBay so I'm wondering if it's time for a new station. Does anyone have suggestions for a good value weather station that's available in the UK? Thanks -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/c7d520e0-f905-4c3d-a05e-c7b699c65cedn%40googlegroups.com.