2013-03-15, 16:59
HI Boss,
I think you may have introduced a bug:
When I choose 3122 from the Postcode choice, the script throws an exception:
I can find no other reference to 'WeatherZoneURL' in default.py (although it may be in another module).
If I change:
to:
it works.
Thanks,
Scott
I think you may have introduced a bug:
When I choose 3122 from the Postcode choice, the script throws an exception:
Code:
02:07:11 T:4632764416 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.NameError'>
Error Contents: name 'WeatherZoneURL' is not defined
Traceback (most recent call last):
File "/Users/ht/Library/Application Support/XBMC/addons/weather.ozweather/default.py", line 538, in <module>
locationids.append(WeatherZoneURL + loc)
NameError: name 'WeatherZoneURL' is not defined
-->End of Python script error report<--
I can find no other reference to 'WeatherZoneURL' in default.py (although it may be in another module).
If I change:
Code:
locationids.append(WeatherZoneURL + loc)
to:
Code:
locationids.append(searchURL + loc)
it works.
Thanks,
Scott