Bug with Weather for Dubai?
#1
Using EDEN, running on Windows XP with the following locations for Weather:

Loughborough, United Kingdom.
Tubingen, Germany
Prestwick, England.

All is ok, and all of them refresh fine. Changing Prestwick to "Dubai, Dubai, United Arab Emirates" Generates a "Script Failed" error message. If it is significant to debugging this, the %age humidity field gets an extra % symbol each time it is refreshed.

Sometimes this also causes the descriptions to become "?0?" and "?-1?" in the "General Options" bar.

In the Log file is reported the following:

16:29:56 T:2540 NOTICE: -->Python Interpreter Initialized<--
16:30:02 T:7132 NOTICE: -->Python Interpreter Initialized<--
16:30:03 T:8168 NOTICE: -->Python Interpreter Initialized<--
16:30:03 T:8168 ERROR: Error Type: <type 'exceptions.IndexError'>
16:30:03 T:8168 ERROR: Error Contents: list index out of range
16:30:03 T:8168 ERROR: Traceback (most recent call last):

File "C:\Documents and Settings\Paul Smith\Application Data\XBMC\addons\weather.worldweatheronline\default.py", line 174, in <module>

forecast(location)

File "C:\Documents and Settings\Paul Smith\Application Data\XBMC\addons\weather.worldweatheronline\default.py", line 121, in forecast

current = query.getElementsByTagName("current_condition")[0]
Reply


Messages In This Thread
Bug with Weather for Dubai? - by paul-syd-smith - 2012-01-13, 23:12
[No subject] - by amet - 2012-01-17, 08:54
[No subject] - by amet - 2012-01-19, 08:00
[No subject] - by jmarshall - 2012-01-19, 08:15
[No subject] - by amet - 2012-01-19, 08:16
Dubai Weather was... - by paul-syd-smith - 2012-01-21, 21:25
Logout Mark Read Team Forum Stats Members Help
Bug with Weather for Dubai?0