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



RE: [RELEASE] Weather Underground (default xbmc weather addon) - RavRob - 2014-04-26

Sometimes it works and sometimes it doesn't. Weird. I will reset to default and reselect my city see if that fixes the problem

Tx BigJRM


RE: [RELEASE] Weather Underground (default xbmc weather addon) - soonerlater - 2014-05-04

I installed Gotham Final (released May 4th) today on two identical Linux boxes. One of them is running version 3.x of the Wunderground addon, but the other can only see version 2.x of the Wunderground addon. I can't figure out how to make XBMC "refresh" the available addons from the repositories. I've tried uninstalling the addon, rebooting, then reinstalling, but it still only gives me the opportunity to install Wunderground 2.x.

Weird.
==============

UPDATE: I did a "force refresh" of the xbmc repository per http://wiki.xbmc.org/index.php?title=Add-on_manager#Force_refresh and problem is fixed.


RE: [RELEASE] Weather Underground (default xbmc weather addon) - Omegatron - 2014-05-05

(2014-03-03, 09:26)Omegatron Wrote: Hi,

Everytime I start up my XBMC the weather addon (underground) is disables and the location i had set is gone. When i enable the addon and set the location again it sometimes works for a day maybe 2 but then its off again and no location anymore.Does anyone know whats causing this and how to resolve this?

Im running on Frodo 12.3 with Aeon MQ5. If needed i will post a debug log later.

thanks.

I still have this problem on final gotham release. Is it just me?


RE: [RELEASE] Weather Underground (default xbmc weather addon) - Samu-rai - 2014-05-06

I realise you probably aren't supporting Frodo anymore, but I have started getting a script error today.

Thought I would mention it on the off chance that you are servicing it.

If so I can provide a log.


RE: [RELEASE] Weather Underground (default xbmc weather addon) - Piers - 2014-05-06

Error also started appearing today (script failed). Worked fine from Gotham nightly 1 up to Final and then for most of today.


RE: [RELEASE] Weather Underground (default xbmc weather addon) - ronie - 2014-05-07

if you have issues, please follow these steps:
1. enable debuglogging in xbmc. (settings > system > debugging)
2. enable logging in the weather addon (settings > weather > - settings > advanced options)
3. restart xbmc, go to weather screen and wait for the error to occur
4. upload the contents of your xbmc.log file to xbmclogs.com and post the url here


RE: [RELEASE] Weather Underground (default xbmc weather addon) - cw-kid - 2014-05-07

I am recently seeing a script error in Gotham and Frodo. Will try and post up some logs later.

Thanks


RE: [RELEASE] Weather Underground (default xbmc weather addon) - cw-kid - 2014-05-07

Hi

Here is a debug log from Gotham, as soon as I open XBMC on my Windows 7 machine I get the script error.

Thanks

Code:
19:20:47 T:2708   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.UnboundLocalError'>
                                            Error Contents: local variable 'wind' referenced before assignment
                                            Traceback (most recent call last):
                                              File "C:\Program Files (x86)\XBMC_GOTHAM\portable_data\addons\weather.wunderground\default.py", line 640, in <module>
                                                forecast(location, locationid)
                                              File "C:\Program Files (x86)\XBMC_GOTHAM\portable_data\addons\weather.wunderground\default.py", line 156, in forecast
                                                properties(data,loc,locid)
                                              File "C:\Program Files (x86)\XBMC_GOTHAM\portable_data\addons\weather.wunderground\default.py", line 414, in properties
                                                dfcast_m[dfcast_m.index(field)] = wind # replace windspeed in km/h with windspeed in mph
                                            UnboundLocalError: local variable 'wind' referenced before assignment
                                            -->End of Python script error report<--

http://xbmclogs.com/show.php?id=195663

Here is a debug log file from Frodo

Code:
19:26:36 T:7516   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.UnboundLocalError'>
                                            Error Contents: local variable 'wind' referenced before assignment
                                            Traceback (most recent call last):
                                              File "C:\Users\Stuart\AppData\Roaming\XBMC\addons\weather.wunderground\default.py", line 639, in <module>
                                                forecast(location, locationid)
                                              File "C:\Users\Stuart\AppData\Roaming\XBMC\addons\weather.wunderground\default.py", line 156, in forecast
                                                properties(data,loc,locid)
                                              File "C:\Users\Stuart\AppData\Roaming\XBMC\addons\weather.wunderground\default.py", line 414, in properties
                                                dfcast_m[dfcast_m.index(field)] = wind # replace windspeed in km/h with windspeed in mph
                                            UnboundLocalError: local variable 'wind' referenced before assignment
                                            -->End of Python script error report<--

http://xbmclogs.com/show.php?id=195670

Thank you


RE: [RELEASE] Weather Underground (default xbmc weather addon) - ronie - 2014-05-07

thanx for the log files!

could you test if v3.0.4 fixes this issue?
weather.wunderground-3.0.4.zip


RE: [RELEASE] Weather Underground (default xbmc weather addon) - Death-Axe - 2014-05-07

Working now, thanks ronie :-)


RE: [RELEASE] Weather Underground (default xbmc weather addon) - Samu-rai - 2014-05-08

Thank you!


RE: [RELEASE] Weather Underground (default xbmc weather addon) - cw-kid - 2014-05-08

Hi Ronie

I installed V3.0.4 on Gotham OK and it seems to have stopped the script error. However when I tried to install the ZIP on Frodo it said Dependencies not met.

Thanks


RE: [RELEASE] Weather Underground (default xbmc weather addon) - ronie - 2014-05-08

(2014-05-08, 00:54)cw-kid Wrote: Hi Ronie

I installed V3.0.4 on Gotham OK and it seems to have stopped the script error. However when I tried to install the ZIP on Frodo it said Dependencies not met.

Thanks

i've just updated wu in both the frodo and gotham addon repo.


RE: [RELEASE] Weather Underground (default xbmc weather addon) - un1versal - 2014-05-08

Great, Linux and master was affected as well, so it should be fixed as well cross fingers. Wink


RE: [RELEASE] Weather Underground (default xbmc weather addon) - YurixAnd - 2014-05-10

Hi
I'm use raspbmc (Rasperry Pi + XBMC).

Code:
22:13:35 T:2750411840   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: could not convert string to float:
                                            Traceback (most recent call last):
                                              File "/home/pi/.xbmc/addons/weather.wunderground/default.py", line 642, in <module>
                                                forecast(location, locationid)
                                              File "/home/pi/.xbmc/addons/weather.wunderground/default.py", line 156, in forecast
                                                properties(data,loc,locid)
                                              File "/home/pi/.xbmc/addons/weather.wunderground/default.py", line 218, in properties
                                                update = time.localtime(float(data['current_observation']['observation_epoch']))
                                            ValueError: could not convert string to float:
                                            -->End of Python script error report<--

this is full debug log (level 2)