Kodi Community Forum

Full Version: Yahoo! Weather
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
on the android devices its ok when i imput manually and change the settings file.
it is is windows 7 the problem.
anyone know the location of the file needed to be edited in OSX? I would like to have the weather correctly displayed.
I recently updated to OpenELEC 5.0.8 which is Kodi 14.2 and the Yahoo Weather add-on started to fail with a script error. I'm located in Edmonton, AB Canada. Here is the entry from the log file:

15:28:20 T:139691705747200 NOTICE: -->Python Interpreter Initialized<--
15:28:20 T:139691705747200 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.ValueError'>
Error Contents: invalid literal for int() with base 10: ''
Traceback (most recent call last):
File "/storage/.kodi/addons/weather.yahoo/default.py", line 218, in <module>
forecast(location, locationid)
File "/storage/.kodi/addons/weather.yahoo/default.py", line 105, in forecast
properties(query,loc)
File "/storage/.kodi/addons/weather.yahoo/default.py", line 161, in properties
set_property('Current.DewPoint' , dewpoint(int(condition[0].attributes['temp'].value), int(atmosphere[0].attributes['humidity'].value)))
ValueError: invalid literal for int() with base 10: ''
-->End of Python script error report<--

Any ideas? My WOEID is correct in the settings.xml...

Thanks,
Paul
(2015-04-06, 16:48)pgordash Wrote: [ -> ]I recently updated to OpenELEC 5.0.8 which is Kodi 14.2 and the Yahoo Weather add-on started to fail with a script error. I'm located in Edmonton, AB Canada. Here is the entry from the log file:

15:28:20 T:139691705747200 NOTICE: -->Python Interpreter Initialized<--
15:28:20 T:139691705747200 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.ValueError'>
Error Contents: invalid literal for int() with base 10: ''
Traceback (most recent call last):
File "/storage/.kodi/addons/weather.yahoo/default.py", line 218, in <module>
forecast(location, locationid)
File "/storage/.kodi/addons/weather.yahoo/default.py", line 105, in forecast
properties(query,loc)
File "/storage/.kodi/addons/weather.yahoo/default.py", line 161, in properties
set_property('Current.DewPoint' , dewpoint(int(condition[0].attributes['temp'].value), int(atmosphere[0].attributes['humidity'].value)))
ValueError: invalid literal for int() with base 10: ''
-->End of Python script error report<--

Any ideas? My WOEID is correct in the settings.xml...

Thanks,
Paul

That is why I will be sticking to Kodi 14.1 which works.
(2015-04-06, 16:48)pgordash Wrote: [ -> ]I recently updated to OpenELEC 5.0.8 which is Kodi 14.2 and the Yahoo Weather add-on started to fail with a script error.

thanx, it will be fixed in v3.0.6 of the yahoo weather addon.
Ronie, the new update works great. Appreciate the quick fix.

Thanks,
Paul
using xbmc 13.2 and this add-on will not install from repository I get the following in log...

01:49:17 T:4696 NOTICE: Thread BackgroundLoader start, auto delete: false
01:49:50 T:3504 NOTICE: Thread JobWorker start, auto delete: true
01:49:52 T:3504 ERROR: CCurlFile::FillBuffer - Failed: HTTP response code said error(22)
01:49:52 T:3504 NOTICE: CCurlFile::FillBuffer - Reconnect, (re)try 1
01:49:52 T:3504 ERROR: CCurlFile::FillBuffer - Failed: HTTP response code said error(22)
01:49:52 T:3504 ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.
01:49:52 T:3244 NOTICE: Thread BackgroundLoader start, auto delete: false
01:49:53 T:2500 NOTICE: Thread JobWorker start, auto delete: true
(2015-04-10, 07:50)JasonMI Wrote: [ -> ]using xbmc 13.2 and this add-on will not install from repository

no idea..

try of you can get the zip from here:
http://mirrors.kodi.tv/addons/gotham/weather.yahoo/
thank you I was able to get it from a third party and install via zip
(2015-04-10, 16:04)ronie Wrote: [ -> ]
(2015-04-10, 07:50)JasonMI Wrote: [ -> ]using xbmc 13.2 and this add-on will not install from repository

no idea..

try of you can get the zip from here:
http://mirrors.kodi.tv/addons/gotham/weather.yahoo/

Thanks.
I suddenly started getting wildly wrong current temps. The forecast is all correct, the current conditions are all correct, but the temp/feels-like/dewpoint are all wrong.

It currently says it is 41 degrees here, and it is actually 81.
(2015-06-16, 00:55)JackQT Wrote: [ -> ]I suddenly started getting wildly wrong current temps. The forecast is all correct, the current conditions are all correct, but the temp/feels-like/dewpoint are all wrong.

It currently says it is 41 degrees here, and it is actually 81.

please provide a Debug Log.
also check if temps are correctly listed for your location here: https://weather.yahoo.com/
Yeah. . .yahoo.com shows the wrong thing too.

Changed the zip to a town a few miles down the road and it works fine. Oh well. . .sorry for the trouble.
Script failed. Yahoo weather appears to be broken. Sad
(2015-07-14, 20:03)advocate99 Wrote: [ -> ]Script failed. Yahoo weather appears to be broken. Sad

Debug Log or it didn't happen ;-)
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