Hullo again
Weewx works for local access but fails on ftp upload as unable to see the 
png file needed although it does exist.
Maybe ftp upload python file corrupted?
No sure where those files live to check.

Attached snap of syslog re Ftp section.

cheers
Ian

-- 
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 [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/weewx-user/e9a731c4-3a5c-409d-a109-b3cf5051a9b3n%40googlegroups.com.
Nov 15 16:50:29 Rpi3 weewxd[411]: DEBUG weeutil.ftpupload: Attempting 
connection to ftp.conti.net.nz
Nov 15 16:50:29 Rpi3 weewxd[411]: DEBUG weeutil.ftpupload: FTP encoding not 
supported, ignoring.
Nov 15 16:50:30 Rpi3 weewxd[411]: DEBUG weeutil.ftpupload: Connected to 
ftp.conti.net.nz
Nov 15 16:50:30 Rpi3 weewxd[411]: DEBUG weeutil.ftpupload: 0 ./monthET.png 
9eae01d765536434784b2d2bf32f71614dda5d28570bb303d293ab46cb6a8044
Nov 15 16:50:30 Rpi3 weewxd[411]: ERROR weeutil.ftpupload: Failed uploading 
/var/www/html/weewx/monthET.png to server ftp.conti.net.nz. Reason: '553 Can't 
open that file: No such file or directory'
Nov 15 16:50:30 Rpi3 weewxd[411]: ERROR weewx.reportengine: ftpgenerator: (2): 
caught exception '<class 'ftplib.error_perm'>': 553 Can't open that file: No 
such file or directory
Nov 15 16:50:30 Rpi3 weewxd[411]: ERROR weewx.reportengine:         ****  
Traceback (most recent call last):
Nov 15 16:50:30 Rpi3 weewxd[411]: ERROR weewx.reportengine:         ****    
File "/usr/share/weewx/weewx/reportengine.py", line 519, in run
Nov 15 16:50:30 Rpi3 weewxd[411]: ERROR weewx.reportengine:         ****      n 
= ftp_data.run()
Nov 15 16:50:30 Rpi3 weewxd[411]: ERROR weewx.reportengine:         ****    
File "/usr/share/weewx/weeutil/ftpupload.py", line 208, in run
Nov 15 16:50:30 Rpi3 weewxd[411]: ERROR weewx.reportengine:         ****      
ftp_server.storbinary(stor_cmd, fd)
Nov 15 16:50:30 Rpi3 weewxd[411]: ERROR weewx.reportengine:         ****    
File "/usr/lib/python3.7/ftplib.py", line 504, in storbinary
Nov 15 16:50:30 Rpi3 weewxd[411]: ERROR weewx.reportengine:         ****      
with self.transfercmd(cmd, rest) as conn:
Nov 15 16:50:30 Rpi3 weewxd[411]: ERROR weewx.reportengine:         ****    
File "/usr/lib/python3.7/ftplib.py", line 399, in transfercmd
Nov 15 16:50:30 Rpi3 weewxd[411]: ERROR weewx.reportengine:         ****      
return self.ntransfercmd(cmd, rest)[0]
Nov 15 16:50:30 Rpi3 weewxd[411]: ERROR weewx.reportengine:         ****    
File "/usr/lib/python3.7/ftplib.py", line 365, in ntransfercmd
Nov 15 16:50:30 Rpi3 weewxd[411]: ERROR weewx.reportengine:         ****      
resp = self.sendcmd(cmd)
Nov 15 16:50:30 Rpi3 weewxd[411]: ERROR weewx.reportengine:         ****    
File "/usr/lib/python3.7/ftplib.py", line 273, in sendcmd
Nov 15 16:50:30 Rpi3 weewxd[411]: ERROR weewx.reportengine:         ****      
return self.getresp()
Nov 15 16:50:30 Rpi3 weewxd[411]: ERROR weewx.reportengine:         ****    
File "/usr/lib/python3.7/ftplib.py", line 246, in getresp
Nov 15 16:50:30 Rpi3 weewxd[411]: ERROR weewx.reportengine:         ****      
raise error_perm(resp)
Nov 15 16:50:30 Rpi3 weewxd[411]: ERROR weewx.reportengine:         ****  
ftplib.error_perm: 553 Can't open that file: No such file or directory
Nov 15 16:50:30 Rpi3 weewxd[411]: ERROR weewx.reportengine: ftpgenerator: 
Upload failed

Reply via email to