2014-04-26, 22:35
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
Tx BigJRM
(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.
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<--
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<--
(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
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<--