vlmaksime / weather.gismeteo

Gismeteo Weather Forecast for KODI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gismetro stopped working in OSMC

lindelux opened this issue · comments

Gismetro weather stopped working today. Tried refresh and reboot but nothing.

weather.gismeteo [v.0.6.3+matrix.1]: Unhandled exception detected!
2023-11-29 20:08:10.488 T:1511 error : weather.gismeteo [v.0.6.3+matrix.1]: *** Start diagnostic info ***
2023-11-29 20:08:10.488 T:1511 error : weather.gismeteo [v.0.6.3+matrix.1]: System info: uname_result(system=‘Linux’, node=‘osmc’, release=‘5.15.92-1-osmc’, version=‘#1 SMP PREEMPT Tue Jul 25 00:03:42 UTC 2023’, machine=‘armv7’)
2023-11-29 20:08:10.488 T:1511 error : weather.gismeteo [v.0.6.3+matrix.1]: OS info: Busy
2023-11-29 20:08:10.488 T:1511 error : weather.gismeteo [v.0.6.3+matrix.1]: Kodi version: 20.2
2023-11-29 20:08:10.488 T:1511 error : weather.gismeteo [v.0.6.3+matrix.1]: File: /home/osmc/.kodi/addons/weather.gismeteo/resources/libs/gismeteo.py
2023-11-29 20:08:10.488 T:1511 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:08:10.489 T:1511 error : weather.gismeteo [v.0.6.3+matrix.1]: Global variables:
GismeteoClient = <class ‘resources.libs.gismeteo.GismeteoClient’>
GismeteoError = <class ‘resources.libs.gismeteo.GismeteoError’>
calendar = <module ‘calendar’ from ‘/usr/lib/python3.9/calendar.py’>
etree = <module ‘xml.etree.cElementTree’ from ‘/usr/lib/python3.9/xml/etree/cElementTree.py’>
requests = <module ‘requests’ from ‘/home/osmc/.kodi/addons/script.module.requests/lib/requests/init.py’>
time = <module ‘time’ (built-in)>
unicode_literals = _Feature((2, 6, 0, ‘alpha’, 2), (3, 0, 0, ‘alpha’, 0), 2097152)
2023-11-29 20:08:10.489 T:1511 error : weather.gismeteo [v.0.6.3+matrix.1]: Local variables:
result =
self = <resources.libs.Gismeteo object at 0xd9069d48>
tzone = -180
xml_day = <Element ‘day’ at 0xd8a5d0f0>
xml_location = <Element ‘location’ at 0xd8a69f00>
2023-11-29 20:08:10.489 T:1511 error : weather.gismeteo [v.0.6.3+matrix.1]: **** End diagnostic info ****
2023-11-29 20:08:10.495 T:1511 error : EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<–

  • NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
    Error Type: <class ‘KeyError’>
    Error Contents: ‘p’
    Traceback (most recent call last):
    File “/home/osmc/.kodi/addons/script.module.simpleplugin3/libs/simpleplugin.py”, line 795, in _get_cached_data
    data, timestamp = cache[key]
    File “/home/osmc/.kodi/addons/script.module.simpleplugin3/libs/simpleplugin.py”, line 381, in getitem
    raise KeyError(key)
    KeyError: “_location_forecast(‘en’, ‘10589’){}”

Fixed at v0.6.4, You can download it at releases page

*Thank You!

Hello, thanks for the quick fix but when I try to install from the zip file I get the following message in OSMC; "the dependency on xbmc.python 2.19 could not be satisfied".

Hello, thanks for the quick fix but when I try to install from the zip file I get the following message in OSMC; "the dependency on xbmc.python 2.19 could not be satisfied".

I suppose you are using a not Matrix zip on a 3.x python. Try the Matrix One.

The matrix one works fine. Thanks. What need to be changed in the code to get it to work?

@lindelux Which version of KODI used at OSMC?

@lindelux Which version of KODI used at OSMC?

20.2