XBMC Community Forum
[RELEASE] Weather Plus Addon - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Weather Add-ons (/forumdisplay.php?fid=155)
+---- Thread: [RELEASE] Weather Plus Addon (/showthread.php?tid=95329)



- Rygrath - 2011-07-19 23:56

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


- brightsr - 2011-07-20 01:34

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.


- Rygrath - 2011-07-20 02:17

Thank you for looking into it, much appreciated.


- brightsr - 2011-07-20 04:47

[UPDATED] v.2.2.3

- Fixed : US Local Forecast Video from Weather.com


- Freakish - 2011-07-20 05:03

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!


- Rygrath - 2011-07-20 05:16

Thanks brightsr! Dunno what magics you did behind the scenes there, but it worked perfectly.


- Rygrath - 2011-07-21 02:29

Seems the magics have worn off Sad Been getting script failed errors again after I closed XBMC and restarted it. No matter what I've tried it still errors out. Last attempt I installed a fresh clean instance of the latest nightly (7/20/11). Nothing else installed using Confluence and this is what comes up in the log on trying to fetch the information.

Code:
17:23:24 T:6768 M:2068856832   ERROR: Error Type: <type 'exceptions.IndexError'>
17:23:24 T:6768 M:2068856832   ERROR: Error Contents: list index out of range
17:23:24 T:6768 M:2068586496   ERROR: Traceback (most recent call last):
                                              File "E:\Nightlies\XBMC\portable_data\addons\weather.weatherplus\default.py", line 41, in <module>
                                                Main()
                                              File "E:\Nightlies\XBMC\portable_data\addons\weather.weatherplus\xbmcplugin_weather.py​", line 99, in __init__
                                                self._fetch_36_forecast()
                                              File "E:\Nightlies\XBMC\portable_data\addons\weather.weatherplus\xbmcplugin_weather.py​", line 370, in _fetch_36_forecast
                                                alerts, alertsrss, alertsnotify, alertscolor, alertscount, forecasts, extras, video, video_local = self.WeatherClient.fetch_36_forecast( self.WEATHER_WINDOW.getProperty( "Video" ) )
                                              File "E:\Nightlies\XBMC\portable_data\addons\weather.weatherplus\WeatherClient.py", line 1960, in fetch_36_forecast
                                                video, video_local = self._create_video( parser.video_location, parser.video_local_location, parser.video_local_number, video )
                                              File "E:\Nightlies\XBMC\portable_data\addons\weather.weatherplus\WeatherClient.py", line 2106, in _create_video
                                                local_url = self.BASE_VIDEO_URL % ( local_location[0].replace(" ", "").lower(), )
                                            IndexError: list index out of range

Full log here: http://pastebin.com/dcnEiLCu

Thanks again


- barcoboy - 2011-07-21 04:08

brightsr Wrote:[UPDATED] v.2.2.1

- Fixed : Sunrise Time Bug of Weather.com 36 Hour Forecast
Running 2.2.3 and my system is still showing the sunrise time an hour earlier than the other views.


- brightsr - 2011-07-21 16:59

Rygrath Wrote:Seems the magics have worn off Sad Been getting script failed errors again after I closed XBMC and restarted it. No matter what I've tried it still errors out. Last attempt I installed a fresh clean instance of the latest nightly (7/20/11). Nothing else installed using Confluence and this is what comes up in the log on trying to fetch the information.

Code:
17:23:24 T:6768 M:2068856832   ERROR: Error Type: <type 'exceptions.IndexError'>
17:23:24 T:6768 M:2068856832   ERROR: Error Contents: list index out of range
17:23:24 T:6768 M:2068586496   ERROR: Traceback (most recent call last):
                                              File "E:\Nightlies\XBMC\portable_data\addons\weather.weatherplus\default.py", line 41, in <module>
                                                Main()
                                              File "E:\Nightlies\XBMC\portable_data\addons\weather.weatherplus\xbmcplugin_weather.py​", line 99, in __init__
                                                self._fetch_36_forecast()
                                              File "E:\Nightlies\XBMC\portable_data\addons\weather.weatherplus\xbmcplugin_weather.py​", line 370, in _fetch_36_forecast
                                                alerts, alertsrss, alertsnotify, alertscolor, alertscount, forecasts, extras, video, video_local = self.WeatherClient.fetch_36_forecast( self.WEATHER_WINDOW.getProperty( "Video" ) )
                                              File "E:\Nightlies\XBMC\portable_data\addons\weather.weatherplus\WeatherClient.py", line 1960, in fetch_36_forecast
                                                video, video_local = self._create_video( parser.video_location, parser.video_local_location, parser.video_local_number, video )
                                              File "E:\Nightlies\XBMC\portable_data\addons\weather.weatherplus\WeatherClient.py", line 2106, in _create_video
                                                local_url = self.BASE_VIDEO_URL % ( local_location[0].replace(" ", "").lower(), )
                                            IndexError: list index out of range

Full log here: http://pastebin.com/dcnEiLCu

Thanks again

When I tested your location (93535) in the early morning, weather.com didn't work properly, which made a script error.
As for now (EST 11:00 AM), It's working perfectly on your location.


- brightsr - 2011-07-21 17:30

barcoboy Wrote:Running 2.2.3 and my system is still showing the sunrise time an hour earlier than the other views.

[UPDATED] v.2.2.4

- Fixed : Sunrise and Sunset Time Bug of Weather.com