Please show us the FTP section of weewx.conf with your username and 
password xxxxxx'd out

A socket.gaierror usually is the hostname does not resolve to an ip 
address, meaning you have a possible typo error in weewx.conf

On Monday, December 28, 2020 at 2:25:16 PM UTC-8 Thomas Hackler wrote:

> this is the error message from the log file, maybe somebody see the reason 
> for the problem:
>
> Dec 28 23:15:42 raspberrypi weewx[7606] DEBUG weewx.reportengine: Running 
> report 'FTP'
> Dec 28 23:15:42 raspberrypi weewx[7606] DEBUG weewx.reportengine: Found 
> configuration file /etc/weewx/skins/Ftp/skin.conf for report 'FTP'
> Dec 28 23:15:42 raspberrypi weewx[7606] DEBUG weeutil.ftpupload: 
> Attempting connection to ftp://xxxxyyyyzzzzz.eu
> Dec 28 23:15:42 raspberrypi weewx[7606] ERROR weewx.reportengine: 
> ftpgenerator: (0): caught exception '<class 'socket.gaierror'>': [Errno -2] 
> Der Name oder der Dienst ist nicht bekannt
> Dec 28 23:15:42 raspberrypi weewx[7606] ERROR weewx.reportengine:         
> ****  Traceback (most recent call last):
> Dec 28 23:15:42 raspberrypi weewx[7606] ERROR weewx.reportengine:         
> ****    File "/usr/share/weewx/weewx/reportengine.py", line 331, in run
> Dec 28 23:15:42 raspberrypi weewx[7606] ERROR weewx.reportengine:         
> ****      n = ftp_data.run()
> Dec 28 23:15:42 raspberrypi weewx[7606] ERROR weewx.reportengine:         
> ****    File "/usr/share/weewx/weeutil/ftpupload.py", line 127, in run
> Dec 28 23:15:42 raspberrypi weewx[7606] ERROR weewx.reportengine:         
> ****      ftp_server.connect(self.server, self.port)
> Dec 28 23:15:42 raspberrypi weewx[7606] ERROR weewx.reportengine:         
> ****    File "/usr/lib/python2.7/ftplib.py", line 135, in connect
> Dec 28 23:15:42 raspberrypi weewx[7606] ERROR weewx.reportengine:         
> ****      self.sock = socket.create_connection((self.host, self.port), 
> self.timeout)
> Dec 28 23:15:42 raspberrypi weewx[7606] ERROR weewx.reportengine:         
> ****    File "/usr/lib/python2.7/socket.py", line 557, in create_connection
> Dec 28 23:15:42 raspberrypi weewx[7606] ERROR weewx.reportengine:         
> ****      for res in getaddrinfo(host, port, 0, SOCK_STREAM):
> Dec 28 23:15:42 raspberrypi weewx[7606] ERROR weewx.reportengine:         
> ****  gaierror: [Errno -2] Der Name oder der Dienst ist nicht bekannt
> Dec 28 23:15:42 raspberrypi weewx[7606] DEBUG weeutil.ftpupload: 
> Attempting connection to ftp://grabowski2000.selfhost.eu
> Dec 28 23:15:42 raspberrypi weewx[7606] ERROR weewx.reportengine: 
> ftpgenerator: (1): caught exception '<class 'socket.gaierror'>': [Errno -2] 
> Der Name oder der Dienst ist nicht bekannt
> Dec 28 23:15:42 raspberrypi weewx[7606] ERROR weewx.reportengine:         
> ****  Traceback (most recent call last):
>
> vince schrieb am Montag, 28. Dezember 2020 um 22:40:53 UTC+1:
>
>> On Monday, December 28, 2020 at 1:28:20 PM UTC-8 Thomas Hackler wrote:
>>
>>> the ftp command is not working, this was my problem, I get -*bash: ftp: 
>>> command 
>>> not found* 
>>>
>>>
>> I am assuming you are on a raspberry pi.
>> If so, you need to install ftp via "sudo apt-get install ftp"
>>  
>>
>>> it is not easy for windows people as linux beginner to start with 
>>> weewx.....
>>>
>>
>> Please invest some time in learning linux.  It will help.
>>
>> https://www.edx.org/course/introduction-to-linux is a free course that 
>> over 600,000 people have taken. You can enroll for free and learn at your 
>> own pace.  There is no need to pay for the certificate.
>>
>>

-- 
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/5237bdc7-1db4-45b5-bc23-171a2b886634n%40googlegroups.com.

Reply via email to