Kodi Community Forum
Broken Yahoo! 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 Yahoo! Weather (/showthread.php?tid=169410)

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 27 28 29 30 31 32 33 34


Yahoo! Weather - WildPhydeaux - 2016-10-10

Thanks! I'll spin up a fresh system install and only install Yahoo Weather. I'll do this before 3pm local, as I'm sure it then or 4pm that issue two crops up.

Issue 1?!? Wow, I battled this many, many times until I got wise and started using the XML file. Perhaps that was only in OpenELEC and I haven't tried it with LibreELEC without an XML ... I'll see what happens on this fresh install.

I'll provide a log.

Thanks,

RLW


RE: Yahoo! Weather - blueribb - 2016-10-10

Yahoo! Weather 3.3.1 just went bonkers today on 2 of my machines. I tried installing 4.2.1 and 4.2.3 but neither would install (dependencies Huh).

My setup:

Intel i5 NUC
OpenElec 6.0.3 (latest stable version)
Kodi 15.2

Update: It started to work normally again. Maybe it's Yahoo playing with the settings ? The temperature was reading anywhere from 0 to 285 degrees F earlier. Very strange.


RE: Yahoo! Weather - ronie - 2016-10-10

(2016-10-10, 20:09)blueribb Wrote: Yahoo! Weather 3.3.1 just went bonkers today on 2 of my machines. I tried installing 4.2.1 and 4.2.3 but neither would install (dependencies Huh).

My setup:

Intel i5 NUC
OpenElec 6.0.3 (latest stable version)
Kodi 15.2

Update: It started to work normally again. Maybe it's Yahoo playing with the settings ? The temperature was reading anywhere from 0 to 285 degrees F earlier. Very strange.

those versions are not compatible with kodi 15.2
yahoo weather 3.3.1 is the latest version for kodi 15.2


RE: Yahoo! Weather - blueribb - 2016-10-10

(2016-10-10, 20:33)ronie Wrote:
(2016-10-10, 20:09)blueribb Wrote: Yahoo! Weather 3.3.1 just went bonkers today on 2 of my machines. I tried installing 4.2.1 and 4.2.3 but neither would install (dependencies Huh).

My setup:

Intel i5 NUC
OpenElec 6.0.3 (latest stable version)
Kodi 15.2

Update: It started to work normally again. Maybe it's Yahoo playing with the settings ? The temperature was reading anywhere from 0 to 285 degrees F earlier. Very strange.

those versions are not compatible with kodi 15.2
yahoo weather 3.3.1 is the latest version for kodi 15.2

Thanks for that info. Both my machines are still acting up even after a reboot. The error says "Yahoo Weather Error - Check the log for more information". The temperature is displaying 293 degrees F now. The problem is intermittent. This problem just started today.


RE: Yahoo! Weather - ronie - 2016-10-10

luckily the error tells you what to do ;-)


RE: Yahoo! Weather - WildPhydeaux - 2016-10-10

293 Kelvin ?

RLW


RE: Yahoo! Weather - black_eagle - 2016-10-10

FWIW, I have had this a few times recently, and at least twice today. Unfortunately, I don't have a log of it, but as it appeared to sort itself out after a while, I presume its something to do with Yahoo, rather than the add-on.

Certainly at this moment in time, it's working correctly.


Yahoo! Weather - WildPhydeaux - 2016-10-11

Ok, fresh install with only Yahoo Weather and the log uploader installed.

1) I was able to type "Fort Qu'Appelle" in the location and it was acceptable without a problem. This is "new", having had constant problems doing exactly this for over a year. I'm speculating but this may have started working due to either an update in the Yahoo Weather add-on or my switch to LibreELEC and I missed the fact it was working again because I adapted and used a saved XML file for quite a while.

2) I checked today's high temp around 3:25 local time and it was showing 1C (accurate). I checked again shortly after 4pm and it's showing -17C.

The log file is here:
HTTPS://paste.ubuntu.com/23305383/

RLW


RE: Yahoo! Weather - ronie - 2016-10-11

thx for the log! it's indeed how yahoo reports the temp:
Quote:16:21:55 T:140496114521856 DEBUG: weather.yahoo: forecast data: {"query":{"count":1,"created":"2016-10-10T22:21:55Z","lang":"en-US","results":{"channel":{"units":{"distance":"km","pressure":"mb","speed":"km/h","temperature":"C"},"title":"Yahoo! Weather - Fort Qu'appelle, SK, CA","link":"http://us.rd.yahoo.com/dailynews/rss/weather/Country__Country/*https://weather.yahoo.com/country/state/city-2490/","description":"Yahoo! Weather for Fort Qu'appelle, SK, CA","language":"en-us","lastBuildDate":"Mon, 10 Oct 2016 04:21 PM CST","ttl":"60","location":{"city":"Fort Qu'appelle","country":"Canada","region":" SK"},"wind":{"chill":"28","direction":"20","speed":"12.87"},"atmosphere":{"humidity":"87","pressure":"34540.50","rising":"0","visibility":"16.09"},"astronomy":{"sunrise":"7:11 am","sunset":"6:11 pm"},"image":{"title":"Yahoo! Weather","width":"142","height":"18","link":"http://weather.yahoo.com","url":"http://l.yimg.com/a/i/brand/purplelogo//uh/us/news-wea.gif"},"item":{"title":"Conditions for Fort Qu'appelle, SK, CA at 04:08 PM CST","lat":"50.765091","long":"-103.794197","link":"http://us.rd.yahoo.com/dailynews/rss/weather/Country__Country/*https://weather.yahoo.com/country/state/city-2490/","pubDate":"Mon, 10 Oct 2016 04:08 PM CST","condition":{"code":"14","date":"Mon, 10 Oct 2016 04:08 PM CST","temp":"1","text":"Snow Showers"},"forecast":[{"code":"16","date":"10 Oct 2016","day":"Mon","high":"-17","low":"-1","text":"Snow"},{"code":"26","date":"11 Oct 2016","day":"Tue","high":"3","low":"-5","text":"Cloudy"},{"code":"30","date":"12 Oct 2016","day":"Wed","high":"4","low":"-5","text":"Partly Cloudy"},{"code":"30","date":"13 Oct 2016","day":"Thu","high":"6","low":"0","text":"Partly Cloudy"},{"code":"26","date":"14 Oct 2016","day":"Fri","high":"14","low":"0","text":"Cloudy"},{"code":"30","date":"15 Oct 2016","day":"Sat","high":"7","low":"0","text":"Partly Cloudy"},{"code":"11","date":"16 Oct 2016","day":"Sun","high":"10","low":"1","text":"Showers"},{"code":"30","date":"17 Oct 2016","day":"Mon","high":"10","low":"0","text":"Partly Cloudy"},{"code":"30","date":"18 Oct 2016","day":"Tue","high":"8","low":"0","text":"Partly Cloudy"},{"code":"28","date":"19 Oct 2016","day":"Wed","high":"9","low":"1","text":"Mostly Cloudy"}],"description":"<![CDATA[<img src=\"http://l.yimg.com/a/i/us/we/52/14.gif\"/>\n<BR />\n<b>Current Conditions:</b>\n<BR />Snow Showers\n<BR />\n<BR />\n<b>Forecast:</b>\n<BR /> Mon - Snow. High: -17Low: -1\n<BR /> Tue - Cloudy. High: 3Low: -5\n<BR /> Wed - Partly Cloudy. High: 4Low: -5\n<BR /> Thu - Partly Cloudy. High: 6Low: 0\n<BR /> Fri - Cloudy. High: 14Low: 0\n<BR />\n<BR />\n<a href=\"http://us.rd.yahoo.com/dailynews/rss/weather/Country__Country/*https://weather.yahoo.com/country/state/city-2490/\">Full Forecast at Yahoo! Weather</a>\n<BR />\n<BR />\n(provided by <a href=\"http://www.weather.com\" >The Weather Channel</a>)\n<BR />\n]]>","guid":{"isPermaLink":"false"}}}}}}



RE: Yahoo! Weather - WildPhydeaux - 2016-10-11

Yep, utterly incorrect and has been for quite a while now. Only today's high is wrong and only after roughly 4:00pm

RLW


RE: Yahoo! Weather - bred_pitt - 2016-10-11

Same problem here: Yahoo weather just stopped working today. I'm on Kodi 15.2 Git:02e7013 and can't update.
There is no alternative weather-plugin for me now. They all report "Error parsing data!". Yahoo Weather Addon is version 3.3.1.


RE: Yahoo! Weather - gate1975mlm - 2016-10-11

Not working here either Sad


RE: Yahoo! Weather - Jeffers24 - 2016-10-11

Nor for me, it has done this a number of times before for me, then corrects itself.


RE: Yahoo! Weather - ronie - 2016-10-11

ok, let me explain how it works:-)
you need to post a Debug Log with a proper problem description.

'me too' and 'same here' doesn't tell me anything useful in order to help you.


RE: Yahoo! Weather - black_eagle - 2016-10-11

@ronie

Yahoo weather just failed on me a few minutes ago.

Hopefully this will help you track it down. (Don't have a proper debug log, as Kodi wasn't in debugging mode when it happened).

Code:
18:44:29 T:139769003673344   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.TypeError'>
                                            Error Contents: argument of type 'NoneType' is not iterable
                                            Traceback (most recent call last):
                                              File "/home/xbmc/.kodi/addons/weather.yahoo/default.py", line 265, in <module>
                                                forecast(location, locationid)
                                              File "/home/xbmc/.kodi/addons/weather.yahoo/default.py", line 108, in forecast
                                                properties(data,loc)
                                              File "/home/xbmc/.kodi/addons/weather.yahoo/default.py", line 148, in properties
                                                if response and ('query' in response) and ('results' in response['query']) and ('channel' in response['query']['results']):
                                            TypeError: argument of type 'NoneType' is not iterable
                                            -->End of Python script error report<--

If you need a debug log, just shout and I'll enable debugging and grep out the relevant bits for you.

Currently, (according to the addon) its 131F (feels like 122F)

Screen shot

Image

Still think it's the site returning the wrong (or no) info.


This forum uses Lukasz Tkacz MyBB addons.