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 26


RE: Multi Weather - ronie - 2021-08-06

@spl147 please check the README.txt file, which is included in the addon.


RE: Multi Weather - spl147 - 2021-08-06

(2021-08-06, 14:20)ronie Wrote: @spl147 please check the README.txt file, which is included in the addon.

have read it, it doesnt give a clear example


RE: Multi Weather - ronie - 2021-08-06

it's Daily.1.Precipitation not Daily1.Precipitation


RE: Multi Weather - spl147 - 2021-08-06

(2021-08-06, 14:30)ronie Wrote: it's Daily.1.Precipitation not Daily1.Precipitation

oh WOW, yea i feel stupid now....sorry about that


RE: Multi Weather - twiseva - 2021-08-19

Hey all, a couple brief questions before I dig deeper in my debugging:

1. Is the maps working for everyone (I am in the US if it matters)? I have the openweathermap API key entered (I am using the free subscription) and it works fine outside of Kodi. I want to check its not a fundamental issue before I debug my version. I see the map BUT the overlays are missing (for all of them).
2. Related to debugging I see an issue in the logs with 'self.DEBUG' not being part of the class -- as such the debug log messages are not getting written out. If I replace the reference to 'self.DEBUG' with 'true', debug messages ARE output. 

Thanks for getting a weather app working -- the weather part works well.

Cheers, Tony.


RE: Multi Weather - blueribb - 2022-02-09

Am I the only one having problems with Multi Weather ? Both my Intel NUCs running LIbreelec 10.0.1 are beeping and showing high temps (up to 2555 degrees F) along with a pop-up error message. I am running version 006 (I think).


RE: Multi Weather - jdig4240 - 2022-02-09

(2022-02-09, 05:09)blueribb Wrote: Am I the only one having problems with Multi Weather ? Both my Intel NUCs running LIbreelec 10.0.1 are beeping and showing high temps (up to 2555 degrees F) along with a pop-up error message. I am running version 006 (I think).

Nope, its down for everybody.


RE: Multi Weather - dom323 - 2022-02-09

Hi, I apologize for my bad english but it is not my language so I transcribe via google translation.

I love this Multi Weather addon, it has stopped working for a few hours and from the debug log I get this error shown below.

I tried to install Gismeteo addon and this works fine, but I don't like it.
So I would like to understand how to fix it.

Thanks for your kind attention, I'm waiting for your help.

This is the error log:

Quote:2022-02-09 04:28:58.300 T:3244 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\Work-PC\AppData\Roaming\Kodi\addons\weather.multi\default.py", line 5, in <module>
weather.MAIN(mode=sys.argv[1])
File "C:\Users\Work-PC\AppData\Roaming\Kodi\addons\weather.multi\lib\weather.py", line 28, in __init__
self.get_forecast(location, locationid, locationlat, locationlon)
File "C:\Users\Work-PC\AppData\Roaming\Kodi\addons\weather.multi\lib\weather.py", line 115, in get_forecast
yahoo.Weather.get_weather(data, loc, locid)
File "C:\Users\Work-PC\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 - ferrellsl - 2022-02-09

Nope, I'm having problems too.


RE: Multi Weather - Klojum - 2022-02-09

Yep, seems like something changed on the MultiWeather side. Hopefully our weatherman @ronie can have a look.


RE: Multi Weather - melons2 - 2022-02-09

Me as well....950 here, apparently


RE: Multi Weather - lowrider888 - 2022-02-09

I'm always using this app to check  the weather, and when I booted up this morning I found this :-

02-09 07:39:38.815 T:995     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 "/storage/.kodi/addons/weather.multi/default.py", line 5, in <module>
                                                       weather.MAIN(mode=sys.argv[1])
                                                     File "/storage/.kodi/addons/weather.multi/lib/weather.py", line 28, in __init__
                                                       self.get_forecast(location, locationid, locationlat, locationlon)
                                                     File "/storage/.kodi/addons/weather.multi/lib/weather.py", line 115, in get_forecast
                                                       yahoo.Weather.get_weather(data, loc, locid)
                                                     File "/storage/.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<--
                                                   
2022-02-09 07:39:39.422 T:995      INFO <general>: Python interpreter stopped

Thanks for all the hard work you do, it's very appreciated.


RE: Multi Weather - lowrider888 - 2022-02-09

It's been a long time since I've had to do this, so I forgot you want a full debug log :-

https://paste.kodi.tv/sequhijazi.kodi

Hope it's correct, and helps.

Thanks  again.


RE: Multi Weather - sus67 - 2022-02-09

Here the same, with "enable logging": https://paste.kodi.tv/ohewedikih.kodi
Image


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

thanx all for the reports.
i'll look into it.