2020-09-21, 07:40
So looks like there is some issue with the ftp/sockets lib...you'll have to ask the OSMC people...I'd guess it's some sort of system python packaging issue...
Code:
2020-09-21 15:22:56.239 T:3367997664 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <class 'socket.gaierror'> Error Contents: [Errno -2] Name or service not known Traceback (most recent call last): File "/home/osmc/.kodi/addons/weather.ozweather/default.py", line 327, in <module> getForecast() File "/home/osmc/.kodi/addons/weather.ozweather/default.py", line 309, in getForecast forecast(locationUrlPath, radar) File "/home/osmc/.kodi/addons/weather.ozweather/default.py", line 226, in forecast buildImages(radarCode, updateRadarBackgrounds, backgroundsPath, overlayLoopPath) File "/home/osmc/.kodi/addons/weather.ozweather/resources/lib/bom.py", line 201, in buildImages ftp = ftplib.FTP("ftp.bom.gov.au") File "/usr/lib/python2.7/ftplib.py", line 120, in __init__ self.connect(host) File "/usr/lib/python2.7/ftplib.py", line 135, in connect self.sock = socket.create_connection((self.host, self.port), self.timeout) File "/usr/lib/python2.7/socket.py", line 557, in create_connection for res in getaddrinfo(host, port, 0, SOCK_STREAM): gaierror: [Errno -2] Name or service not known -->End of Python script error report<--