Kodi Community Forum
Broken Multi Weather - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Weather Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=155)
+---- Thread: Broken Multi Weather (/showthread.php?tid=352028)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25


RE: Multi Weather - markusb68 - 2022-02-14

Updated to weather.multiweather.multi v0.0.9 and still get errors:

Code:
2022-02-14 16:58:59.005 T:9388    ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'KeyError'>
Error Contents: 0
Traceback (most recent call last):
File "C:\Users\user\AppData\Roaming\Kodi\addons\weather.multi\default.py", line 5, in <module>
weather.MAIN(mode=sys.argv[1])
File "C:\Users\user\AppData\Roaming\Kodi\addons\weather.multi\lib\weather.py", line 35, in __init__
self.get_forecast(location, locationid, locationlat, locationlon, ycookie, ycrumb)
File "C:\Users\user\AppData\Roaming\Kodi\addons\weather.multi\lib\weather.py", line 157, in get_forecast
yahoo.Weather.get_weather(data, loc, locid)
File "C:\Users\user\AppData\Roaming\Kodi\addons\weather.multi\lib\providers\yahoo.py", line 8, in get_weather
data = response['weathers'][0]
KeyError: 0
-->End of Python script error report<--



RE: Multi Weather - ronie - 2022-02-14

@markusb68 please see the first post on how to create a logfile for me.
i need a bit more info than just the error.


RE: Multi Weather - RJ45 - 2022-02-14

Was on 0.0.9 and still got the error. Uninstalled the addon as advised and removed all data/settings connected to it. Then reinstalled 0.0.9 via normal addon repo, reentered settings – voilà, error is gone.

Thanks for fixing @ronie and to all users who described how they got rid of the error on the las pages.


RE: Multi Weather - Maxmueller - 2022-02-16

Hi there,
i have a problem with the displayed language. With the 10-day forecast, rain, snow and so on

<label2>$INFO[Window.Property(Daily.1.Outlook)]</label2>

are always displayed in English. The language I have set (German) is not displayed.
Do you have a hint for me? Or is it a bug.

Best Regards
Max


RE: Multi Weather - ronie - 2022-02-16

(2022-02-16, 09:11)Maxmueller Wrote: Do you have a hint for me?

yes i do, there's a few thing to know about weather localization:
- multi weather only provides weather data in english
- the translation of weather data is handled internally by kodi
- for the outlook, kodi only handles the Day%i.Outlook infolabels

so basically, $INFO[Window.Property(Day1.Outlook)] will get translated and $INFO[Window.Property(Daily.1.Outlook)] won't.


RE: Multi Weather - Maxmueller - 2022-02-16

thanks,
so it is a problem with my skin? Can i fix thisHuh
Greetings


RE: Multi Weather - ronie - 2022-02-17

you can replace those Daily.%i.Outlook infolabels in your skin with the Day%i.Outlook ones.

but i will look into adding translation support to the addon itself. it should be available in the next version.


RE: Multi Weather - Maxmueller - 2022-02-18

Hi,
that will be great. I made some changes, but some weatherforcast infos are not in my language.
Thanks for your help.
Waiting for an Update ;-)
Best Regards
Max


RE: Multi Weather - ronie - 2022-02-18

(2022-02-18, 13:28)Maxmueller Wrote: some weatherforcast infos are not in my language

oh, forgot to mention, the Day%i infolabels are limited to a 0-6 range (so only 7 days).
(2022-02-18, 13:28)Maxmueller Wrote: Waiting for an Update

it'll take a bit of time, as all of the weather conditions need to be translated by the community.
once i've received a fair bit of translations, i will push an update to the addon repo.


RE: Multi Weather - AGAG - 2022-02-20

Hello, Multi Weather stopped working for me on Raspberry Pi/OSMC.  It shows a line through the temp and no data. I had the device powered off for a few days after shutting down properly and since then no go.  All else seems to work normally.  I have posted debug log to paste.kodi.tv/fucuyehuzu.  Thanks for any help.


RE: Multi Weather - ronie - 2022-02-20

@AGAG could you please create a debug log using the steps outlined in the first post?


RE: Multi Weather - murnaz - 2022-02-20

hi.. multi weather gives some errors and stop working
I add logs
thanks for your help





https://paste.kodi.tv/ojalugizom.kodi


RE: Multi Weather - AGAG - 2022-02-20

I posted the log address in my original post. Was there something wrong with this log? I tried to follow the directions.


RE: Multi Weather - ronie - 2022-02-20

thanx for the log @murnaz , that was exactly what i needed!

@AGAG no worries, not needed anymore.

for those still having issues with multi weather, please test this version:
weather.multi-0.0.11.zip

after installing, restart kodi twice and weather should be working again.


RE: Multi Weather - murnaz - 2022-02-21

thanks for quick reply
yesss it works.