Bug with Weather for Dubai?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
paul-syd-smith Offline
Junior Member
Posts: 3
Joined: Jan 2012
Reputation: 0
Post: #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]
find quote
amet Offline
How do ya like them apples?
Posts: 4,106
Joined: Jul 2009
Reputation: 39
Location: Novi Sad / Dubai
Post: #2
I'll check it out, thx for letting us know


Always read the XBMC_Online_Manual,Frequently_Asked_Questions and search the forum before posting.
For troubleshooting and bug reporting use -> Log_file.
find quote
amet Offline
How do ya like them apples?
Posts: 4,106
Joined: Jul 2009
Reputation: 39
Location: Novi Sad / Dubai
Post: #3
fixed, you will need to search for Dubai again.


Always read the XBMC_Online_Manual,Frequently_Asked_Questions and search the forum before posting.
For troubleshooting and bug reporting use -> Log_file.
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 26,181
Joined: Oct 2003
Reputation: 176
Post: #4
Weather for Dubai: Sunny, Hot. What else do you need to know? Wink

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
amet Offline
How do ya like them apples?
Posts: 4,106
Joined: Jul 2009
Reputation: 39
Location: Novi Sad / Dubai
Post: #5
hehe, I know... but there was a "script error" Smile


Always read the XBMC_Online_Manual,Frequently_Asked_Questions and search the forum before posting.
For troubleshooting and bug reporting use -> Log_file.
find quote
paul-syd-smith Offline
Junior Member
Posts: 3
Joined: Jan 2012
Reputation: 0
Wink  Dubai Weather was...
Post: #6
Yes, Dubai weather was indeed Sunny and hot !
Big Grin

I am back in the UK now, so thanks for fixing the bug....all I need to do now is wait until I can get to the update. For some reason at the moment my system knows there's an update available but can't seem to download it.

According to the log file, it's looking for http://mirrors.xbmc.org/addons/eden-pre/....6.zip.md5
but at the moment the log file reports it failed to get it, and if I type the URL (or anything from http://mirrors.xbmc.org) straight into I.E. (I know!), then it just times out.

Will keep trying.

Thanks again for fixing the bug, and telling me what the weather was!

Keep up the great work Guys.
find quote
paul-syd-smith Offline
Junior Member
Posts: 3
Joined: Jan 2012
Reputation: 0
Thumbs Up  Hot and Sunny (with light rain on Monday)
Post: #7
Problem resolved.
Not sure why I had no access to the update server, but after a little while it all started working again.

I can confirm that after downloading the update, and changing the city to "Dubai, Debubawi K'eyih Bahri, United Arab Emirates", that all is well with my weather again.

Smile
find quote