2023-11-29 20:38:05.119 T:161932 DEBUG : weather.gismeteo [v.0.6.3+matrix.1]: 2023-11-29 20:38:05.119 T:161932 DEBUG : weather.gismeteo [v.0.6.3+matrix.1]: Actions: ['root', 'location'] 2023-11-29 20:38:05.119 T:161932 DEBUG : weather.gismeteo [v.0.6.3+matrix.1]: Called action root with params 2023-11-29 20:38:05.119 T:161932 DEBUG : weather.gismeteo [v.0.6.3+matrix.1]: Cache miss: _ip_locations('ru',){} 2023-11-29 20:38:05.308 T:161932 DEBUG : weather.gismeteo [v.0.6.3+matrix.1]: Request info Method: GET URL: https://services.gismeteo.net/inform-service/inf_chrome/cities/?mode=ip&count=1&nocache=1&lang=ru Headers: {'User-Agent': 'KodifromDebian/19.4 (X11; Linux x86_64) Kodi_Fork_Kodi from Debian/1.0 Ubuntu/22.04 App_Bitness/64 Version/19.4-Debian-package-version:-2:19.4+dfsg1-2', 'Accept-Encoding': 'gzip, deflate, br', 'Accept': '*/*', 'Connection': 'keep-alive'} Response info Status code: 200 Reason: OK Elapsed: 0.1827 sec URL: https://services.gismeteo.net/inform-service/inf_chrome/cities/?mode=ip&count=1&nocache=1&lang=ru Headers: {'Date': 'Wed, 29 Nov 2023 17:38:05 GMT', 'Content-Type': 'text/xml; charset=utf-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Accept-Encoding, Accept-Encoding', 'X-Gismeteo-Timestamp': '1701279485', 'Access-Control-Allow-Origin': '*', 'Access-Control-Allow-Credentials': 'true', 'Access-Control-Allow-Methods': 'GET, PUT, POST, DELETE, PATCH, OPTIONS', 'Access-Control-Allow-Headers': 'DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range,Authorization', 'Access-Control-Max-Age': '1728000', 'X-Gismeteo-TimestampStr': '2023/11/29 17:38:05', 'Access-Control-Expose-Headers': 'X-Gismeteo-TimestampStr, X-Gismeteo-Timestamp', 'x-gm-ver': '3', 'Server': 'gis', 'X-DC': 'nord.ngx-services-nord01', 'X-XSS-Protection': '1; mode=block', 'X-Content-Type-Options': 'nosniff', 'Content-Encoding': 'gzip'} Content: 2023-11-29 20:38:06.310 T:161932 DEBUG : weather.gismeteo [v.0.6.3+matrix.1]: Cache miss: _location_forecast('ru', '4392'){} 2023-11-29 20:38:07.074 T:161932 DEBUG : weather.gismeteo [v.0.6.3+matrix.1]: Request info Method: GET URL: https://services.gismeteo.net/inform-service/inf_chrome/forecast/?city=4392&lang=ru Headers: {'User-Agent': 'KodifromDebian/19.4 (X11; Linux x86_64) Kodi_Fork_Kodi from Debian/1.0 Ubuntu/22.04 App_Bitness/64 Version/19.4-Debian-package-version:-2:19.4+dfsg1-2', 'Accept-Encoding': 'gzip, deflate, br', 'Accept': '*/*', 'Connection': 'keep-alive'} Response info Status code: 200 Reason: OK Elapsed: 0.7623 sec URL: https://services.gismeteo.net/inform-service/inf_chrome/forecast/?city=4392&lang=ru Headers: {'Date': 'Wed, 29 Nov 2023 17:38:07 GMT', 'Content-Type': 'text/xml; charset=utf-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Accept-Encoding, Accept-Encoding', 'X-Gismeteo-Timestamp': '1701279487', 'Access-Control-Allow-Origin': '*', 'Access-Control-Allow-Credentials': 'true', 'Access-Control-Allow-Methods': 'GET, PUT, POST, DELETE, PATCH, OPTIONS', 'Access-Control-Allow-Headers': 'DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range,Authorization', 'Access-Control-Max-Age': '1728000', 'X-Gismeteo-TimestampStr': '2023/11/29 17:38:07', 'Access-Control-Expose-Headers': 'X-Gismeteo-TimestampStr, X-Gismeteo-Timestamp', 'x-gm-ver': '3', 'Server': 'gis', 'X-DC': 'nord.ngx-services-nord02', 'X-XSS-Protection': '1; mode=block', 'X-Content-Type-Options': 'nosniff', 'Content-Encoding': 'gzip'} Content: 2023-11-29 20:38:08.120 T:161932 ERROR : weather.gismeteo [v.0.6.3+matrix.1]: Unhandled exception detected! 2023-11-29 20:38:08.120 T:161932 ERROR : weather.gismeteo [v.0.6.3+matrix.1]: *** Start diagnostic info *** 2023-11-29 20:38:08.120 T:161932 ERROR : weather.gismeteo [v.0.6.3+matrix.1]: System info: uname_result(system='Linux', node='jd-note', release='6.2.0-39-generic', version='#40~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 16 10:53:04 UTC 2', machine='x86_64') 2023-11-29 20:38:08.120 T:161990 DEBUG : Thread JobWorker start, auto delete: true 2023-11-29 20:38:08.120 T:161932 ERROR : weather.gismeteo [v.0.6.3+matrix.1]: OS info: Ожидайте 2023-11-29 20:38:08.121 T:161932 ERROR : weather.gismeteo [v.0.6.3+matrix.1]: Kodi version: 19.4 Debian package version: 2:19.4+dfsg1-2 2023-11-29 20:38:08.121 T:161932 ERROR : weather.gismeteo [v.0.6.3+matrix.1]: File: /home/johndoe/.kodi/addons/weather.gismeteo/resources/libs/gismeteo.py 2023-11-29 20:38:08.121 T:161990 DEBUG : easy_acquire - Created session to http://www.msftncsi.com 2023-11-29 20:38:08.121 T:161932 ERROR : weather.gismeteo [v.0.6.3+matrix.1]: Code context: 172: 'pressure': {'min': self._get_int(xml_day.attrib['pmin']), 173: 'max': self._get_int(xml_day.attrib['pmax']), 174:> 'avg': self._get_int(xml_day.attrib['p']), 175: }, 176: 'cloudiness': xml_day.attrib['cl'], 2023-11-29 20:38:08.121 T:161932 ERROR : weather.gismeteo [v.0.6.3+matrix.1]: Global variables: GismeteoClient = GismeteoError = calendar = etree = requests = time = unicode_literals = _Feature((2, 6, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0), 2097152) 2023-11-29 20:38:08.121 T:161932 ERROR : weather.gismeteo [v.0.6.3+matrix.1]: Local variables: result = [] self = tzone = 180 xml_day = xml_location = 2023-11-29 20:38:08.121 T:161932 ERROR : weather.gismeteo [v.0.6.3+matrix.1]: **** End diagnostic info **** 2023-11-29 20:38:08.125 T:161932 ERROR : EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: Error Contents: 'p' Traceback (most recent call last): File "/home/johndoe/.kodi/addons/script.module.simpleplugin3/libs/simpleplugin.py", line 795, in _get_cached_data data, timestamp = cache[key] File "/home/johndoe/.kodi/addons/script.module.simpleplugin3/libs/simpleplugin.py", line 381, in __getitem__ raise KeyError(key) KeyError: "_location_forecast('ru', '4392'){}" During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/johndoe/.kodi/addons/weather.gismeteo/default.py", line 498, in weather.run() File "/home/johndoe/.kodi/addons/weather.gismeteo/resources/libs/simpleweather/simpleweather.py", line 475, in run self._resolve_function() File "/home/johndoe/.kodi/addons/script.module.simpleplugin3/libs/simpleplugin.py", line 1128, in _resolve_function return action_callable(self._params) File "/home/johndoe/.kodi/addons/weather.gismeteo/default.py", line 364, in forecast data = _location_forecast(lang, location.id) File "/home/johndoe/.kodi/addons/script.module.simpleplugin3/libs/simpleplugin.py", line 850, in inner_wrapper return self._get_cached_data(cache, func, duration, File "/home/johndoe/.kodi/addons/script.module.simpleplugin3/libs/simpleplugin.py", line 801, in _get_cached_data data = func(*args, **kwargs) File "/home/johndoe/.kodi/addons/weather.gismeteo/default.py", line 415, in _location_forecast return _call_method(gismeteo.forecast, params) File "/home/johndoe/.kodi/addons/weather.gismeteo/default.py", line 472, in _call_method return func(**params) File "/home/johndoe/.kodi/addons/weather.gismeteo/resources/libs/gismeteo.py", line 263, in forecast return self._get_forecast_info(x) File "/home/johndoe/.kodi/addons/weather.gismeteo/resources/libs/gismeteo.py", line 107, in _get_forecast_info 'days': self._get_days_forecast(xml_location), File "/home/johndoe/.kodi/addons/weather.gismeteo/resources/libs/gismeteo.py", line 174, in _get_days_forecast 'avg': self._get_int(xml_day.attrib['p']), KeyError: 'p' -->End of Python script error report<--