Kodi Community Forum

Full Version: [RELEASE] Weather Plus Addon
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
brightsr Wrote:please try this one : http://xbmc-addons.googlecode.com/files/...erplus.zip

That seemed to do the trick. ThanksBig Grin
Loaded up today and the script presents an error. Below is a link to the log. Thanks Smile

http://pastebin.com/HXVgJhr5
fional Wrote:Loaded up today and the script presents an error. Below is a link to the log. Thanks Smile

http://pastebin.com/HXVgJhr5

[UPDATED] v.2.2.1

- Fixed : Sunrise Time Bug of Weather.com 36 Hour Forecast

I hope it's working well on your system.
If any problems with fetching sunrise time, it'll show "N/A" instead of "Script Error".

* zip file : http://xbmc-addons.googlecode.com/files/..._2.2.1.zip
brightsr Wrote:[UPDATED] v.2.2.1

- Fixed : Sunrise Time Bug of Weather.com 36 Hour Forecast

I hope it's working well on your system.
If any problems with fetching sunrise time, it'll show "N/A" instead of "Script Error".

* zip file : http://xbmc-addons.googlecode.com/files/..._2.2.1.zip

That's very cool! Smile Thank you Brightsr!
would it be possible to add a show/hide option for heat index/wind chill?
i installed the weather plus but its not workin. i unstalled it n installed it again buit still not working. it keep giving me an error message.
steincol Wrote:i installed the weather plus but its not workin. i unstalled it n installed it again buit still not working. it keep giving me an error message.

Please let me know more informations like xbmc.log.
Hudson_Hawk04 Wrote:would it be possible to add a show/hide option for heat index/wind chill?

[UPDATED] v.2.2.2

- Added : Heat Index and Wind Chill from NOAA ( they will be shown as feels-like temperature, if not available, just "N/A". )
I'm also having issues. I just updated from the repo (Is it current?) But i still have the same issue. (I did just see a "Script Failed" option when i first tried using it.

It just sits on "Fetching forecast info" Here is the relevant part of the log. (I hope)

Code:
13:12:32 T:3084 M:3044003840  NOTICE: [PLUGIN] 'Weather Plus: Version - 2.2.2-r' initialized!
13:12:32 T:3084 M:3044007936  NOTICE:      ** Found XBMC Revision: r0 [Unknown] **
13:12:32 T:3084 M:3039834112  NOTICE: [Weather.com+] Alternative Provider Selected : Accuweather.com Global (OCN|AU|ACT|CANBERRA)
13:12:33 T:3084 M:3039854592  NOTICE: Second error 503 for http://www.accuweather.com/OCN|AU|ACT|CANBERRA/hourly.aspx, increase sleep time.
13:12:34 T:3084 M:3040952320  NOTICE: Second error 503 for http://www.accuweather.com/OCN|AU|ACT|CANBERRA/hourly.aspx, increase sleep time.
13:12:34 T:3084 M:3040944128   ERROR: Error Type: <type 'exceptions.IndexError'>
13:12:34 T:3084 M:3040944128   ERROR: Error Contents: list index out of range
13:12:34 T:3084 M:3040718848   ERROR: Traceback (most recent call last):
                                              File "C:\Users\Me\AppData\Roaming\XBMC\addons\weather.weatherplus\default.py", line 41, in <module>
                                                Main()
                                              File "C:\Users\Me\AppData\Roaming\XBMC\addons\weather.weatherplus\xbmcplugin_weather.py", line 76, in __init__
                                                self._accu_hourly_forecast()
                                              File "C:\Users\Me\AppData\Roaming\XBMC\addons\weather.weatherplus\xbmcplugin_weather.py", line 540, in _accu_hourly_forecast
                                                forecasts = self.WeatherClient.accu_fetch_hourly_forecast()
                                              File "C:\Users\Me\AppData\Roaming\XBMC\addons\weather.weatherplus\WeatherClient.py", line 2189, in accu_fetch_hourly_forecast
                                                htmlSource = self._fetch_data( self.BASE_ACCU_FORECAST_URL % ( self.code, "hourly"+date[1] ), 1 )
                                            IndexError: list index out of range

Cheers!
Freakish Wrote:I'm also having issues. I just updated from the repo (Is it current?) But i still have the same issue. (I did just see a "Script Failed" option when i first tried using it.

It just sits on "Fetching forecast info" Here is the relevant part of the log. (I hope)

Code:
13:12:32 T:3084 M:3044003840  NOTICE: [PLUGIN] 'Weather Plus: Version - 2.2.2-r' initialized!
13:12:32 T:3084 M:3044007936  NOTICE:      ** Found XBMC Revision: r0 [Unknown] **
13:12:32 T:3084 M:3039834112  NOTICE: [Weather.com+] Alternative Provider Selected : Accuweather.com Global (OCN|AU|ACT|CANBERRA)
13:12:33 T:3084 M:3039854592  NOTICE: Second error 503 for http://www.accuweather.com/OCN|AU|ACT|CANBERRA/hourly.aspx, increase sleep time.
13:12:34 T:3084 M:3040952320  NOTICE: Second error 503 for http://www.accuweather.com/OCN|AU|ACT|CANBERRA/hourly.aspx, increase sleep time.
13:12:34 T:3084 M:3040944128   ERROR: Error Type: <type 'exceptions.IndexError'>
13:12:34 T:3084 M:3040944128   ERROR: Error Contents: list index out of range
13:12:34 T:3084 M:3040718848   ERROR: Traceback (most recent call last):
                                              File "C:\Users\Me\AppData\Roaming\XBMC\addons\weather.weatherplus\default.py", line 41, in <module>
                                                Main()
                                              File "C:\Users\Me\AppData\Roaming\XBMC\addons\weather.weatherplus\xbmcplugin_weather.py", line 76, in __init__
                                                self._accu_hourly_forecast()
                                              File "C:\Users\Me\AppData\Roaming\XBMC\addons\weather.weatherplus\xbmcplugin_weather.py", line 540, in _accu_hourly_forecast
                                                forecasts = self.WeatherClient.accu_fetch_hourly_forecast()
                                              File "C:\Users\Me\AppData\Roaming\XBMC\addons\weather.weatherplus\WeatherClient.py", line 2189, in accu_fetch_hourly_forecast
                                                htmlSource = self._fetch_data( self.BASE_ACCU_FORECAST_URL % ( self.code, "hourly"+date[1] ), 1 )
                                            IndexError: list index out of range

Cheers!

According to your log, you need to re-select a location for Accuweather.com.
It's because form of area code has been changed since v.2.1.4 (multi-language supported).
In your case, the area code should be "en-us/au/australian-capital-territory/canberra", not "OCN|AU|ACT|CANBERRA".
I think I should've informed clearly about that. Sad
Got the same problem with a script failed error.

Seems to just started doing this today at some point. Running last night's pre-eden nightly, v2.2.2 of the script. I reentered the 3 locations in the weather setup after deleting the script folder and the zip file in the packages directory. Downloaded new copy of the script and unzipped into the XBMC addon folder.

Here's a link to the log
http://pastebin.com/UG9VkuRR

Thank you for your time Smile
Rygrath Wrote:Got the same problem with a script failed error.

Seems to just started doing this today at some point. Running last night's pre-eden nightly, v2.2.2 of the script. I reentered the 3 locations in the weather setup after deleting the script folder and the zip file in the packages directory. Downloaded new copy of the script and unzipped into the XBMC addon folder.

Here's a link to the log
http://pastebin.com/UG9VkuRR

Thank you for your time Smile

I'll fix it soon. Thanks for your log.
Thank you for looking into it, much appreciated.
[UPDATED] v.2.2.3

- Fixed : US Local Forecast Video from Weather.com
brightsr Wrote:According to your log, you need to re-select a
It's because form of area code has been changed since v.2.1.4 (multi-language supported).
In your case, the area code should be "en-us/au/australian-capital-territory/canberra", not "OCN|AU|ACT|CANBERRA".
I think I should've informed clearly about that. Sad

Doh, Thanks! Yes it was working previously. I tried yesterday to check the settings, but the settings page wouldn't open. (Likely some PVR build bug) But tried it again this morning and reset the 3 accuweather points. And it's all working again as normal... Much Appreciate your time and efforts!