[RELEASE] Yahoo! Weather

  Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
gsfarr Offline
Junior Member
Posts: 14
Joined: Aug 2014
Reputation: 0
Post: #91
on the android devices its ok when i imput manually and change the settings file.
it is is windows 7 the problem.
find quote
b_adl_y Offline
Junior Member
Posts: 3
Joined: Jul 2014
Reputation: 0
Location: FTW, TX
Post: #92
anyone know the location of the file needed to be edited in OSX? I would like to have the weather correctly displayed.
find quote
pgordash Offline
Junior Member
Posts: 2
Joined: Apr 2015
Reputation: 0
Post: #93
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
find quote
zhong Offline
Junior Member
Posts: 33
Joined: Feb 2013
Reputation: 0
Post: #94
(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.
find quote
ronie Offline
Team-Kodi Member
Posts: 9,969
Joined: Jan 2009
Reputation: 184
Post: #95
(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.

Always read the Kodi online-manual, FAQ and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
pgordash Offline
Junior Member
Posts: 2
Joined: Apr 2015
Reputation: 0
Post: #96
Ronie, the new update works great. Appreciate the quick fix.

Thanks,
Paul
find quote
JasonMI Offline
Junior Member
Posts: 4
Joined: Apr 2015
Reputation: 0
Post: #97
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
find quote
ronie Offline
Team-Kodi Member
Posts: 9,969
Joined: Jan 2009
Reputation: 184
Post: #98
(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/

Always read the Kodi online-manual, FAQ and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
JasonMI Offline
Junior Member
Posts: 4
Joined: Apr 2015
Reputation: 0
Post: #99
thank you I was able to get it from a third party and install via zip
find quote
Post Reply