[RELEASE] Weather Plus Addon

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
htpc guy Offline
Posting Freak
Posts: 1,212
Joined: Oct 2010
Reputation: 7
Location: Near St. Louis Mo
Post: #11
How do you get weather related videos? I'm using Cirrus Extended.

How to use Git
| AMD Athlon II X3 Triple Core Processor 2.9 GHz |GIGABYTE GA-MA785GM-US2H Mobo 2GB DDR2 Ram | MSI N430GT |
| Logitec Harmony One Remote| 52" Sharp Aquos LED TV | Onkyo TX-NR509 |
find quote
brightsr Offline
Fan
Posts: 351
Joined: Feb 2011
Reputation: 0
Location: Bridgeport, CT
Post: #12
schnitzelbrain Wrote:
Code:
[LIST=1]
[*] NOTICE: Location : Europe
[*]17:52:07 T:2851408752 M:3854688256    INFO: -->Python script returned the following error<--
[*]17:52:07 T:2851408752 M:3854688256   ERROR: Error Type: exceptions.IndexError
[*]17:52:07 T:2851408752 M:3854688256   ERROR: Error Contents: list index out of range
[*]17:52:07 T:2851408752 M:3854688256   ERROR: Traceback (most recent call last):
[*]                                              File "/home/ronie/.xbmc/addons/weather.weatherplus/default.py", line 41, in ?
[*]                                                Main()
[*]                                               File  "/home/ronie/.xbmc/addons/weather.weatherplus/xbmcplugin_weather.py",  line 79, in __init__
[*]                                                self._fetch_36_forecast()
[*]                                               File  "/home/ronie/.xbmc/addons/weather.weatherplus/xbmcplugin_weather.py",  line 289, 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  "/home/ronie/.xbmc/addons/weather.weatherplus/WeatherClient.py", line  972, in fetch_36_forecast
[*]                                                 video, video_local = self._create_video( parser.video_location,  parser.video_local_location, parser.video_local_number, video )
[*]                                               File  "/home/ronie/.xbmc/addons/weather.weatherplus/WeatherClient.py", line  1108, in _create_video
[*]                                                 url =  "http://brightcove.vo.llnwd.net/d14/unsecured/media/1612802193/1612802193_"  + video + "_" + video_[0][1] + ".mp4" +  "?videoId="+videoID[0]+"&pubId="+publisherID[0]+"&playerId="+playerID[0]
[*]                                            IndexError: list index out of range
[*]17:52:07 T:2851408752 M:3854688256    INFO: -->End of Python script error report<--
[/LIST]
I took that from your posted this error "list index out of range" exact the same what I have in Aeon MQ2.

Same Problems since update, not working exept of the standart 4 days.

Location is different, though- But also in europa

It's due to accuweather.com.
I'm fixing and making it more stable.
find quote
brightsr Offline
Fan
Posts: 351
Joined: Feb 2011
Reputation: 0
Location: Bridgeport, CT
Post: #13
[UPDATE] v.1.1.16

- Fixed : Europe Forecast Video of AccuWeather.com
- Fixed : Current Pressure
find quote
brightsr Offline
Fan
Posts: 351
Joined: Feb 2011
Reputation: 0
Location: Bridgeport, CT
Post: #14
dnairb Wrote:I have discovered a minor issue with the GUI - due to user error mainly, but it may be fixable. It is regarding the use of remote left/right buttons when viewing Current Conditions, 36 Hour Forecast and Weekend Forecast:

Current Conditions: "left" opens the settings pop-out thingy, "right" loses focus and navigation is impossible with remote.
36 Hour Forecast: Same as Current Conditions above
Hourly Forecast: "left" opens the settings pop-out thingy, "right" brings focus to the scrollbar, navigation OK with remote.
Weekend Forecast: Same as Current Conditions above
10 Day Forecast: Works OK - Same as Hourly forecast above

Thanks for using this addon.
I knew those problems. But I don't know much about skin things.
Please ask on a skin help thread.
find quote
brightsr Offline
Fan
Posts: 351
Joined: Feb 2011
Reputation: 0
Location: Bridgeport, CT
Post: #15
htpc guy Wrote:How do you get weather related videos? I'm using Cirrus Extended.

I don't know if Cirrus Extended is supporting weather videos.
Please ask on the skin's help thread.
find quote
dallasnights Offline
Fan
Posts: 514
Joined: Jan 2011
Reputation: 0
Post: #16
small problem, in the hourly forecast the sunrise and sunset do not show Daylight savings time, its fixed in the 36 hour but in the hourly where it shows sunrise time it shows 1 hour off

Of course in 3 weeks we turn our clocks forward so not sure how the mod will work with thatSmile

Great work and thank you
find quote
rflores2323 Offline
Posting Freak
Posts: 1,950
Joined: Jan 2009
Reputation: 2
Post: #17
Was wondering if the mod could change the fanart on the homescreen to the current weather? This would be nice addition. Im using confluence on atv2

ATV1 with crystalbuntu V1 (11.eden). Theater remote URC MX-810, droidx wtih xbmc remote, or transformer tf101 with YATSE. 2 x ATV2 (V12.0 Eden).

find quote
schnitzelbrain Offline
Junior Member
Posts: 37
Joined: Feb 2011
Reputation: 0
Post: #18
brightsr Wrote:It's due to accuweather.com.
I'm fixing and making it more stable.

Yep, update installed. Works Perfect now. Nod
find quote
MegaX Offline
Junior Member
Posts: 4
Joined: Feb 2011
Reputation: 0
Post: #19
Hi, sorry for my english but i hope you understand me. Frown

I have a Problem with your Addon. No matter what I do is always adjusting the error "Script Error: weather.weatherplus".

System: Windows 7 Ultimate x64
XBMC: Dharma 10.0
Skin: Confluence Customizabled
Addon Version: 1.1.16

xbmc.log
Code:
16:08:35 T:1852 M:2844729344  NOTICE: -->Python Interpreter Initialized<--
16:08:35 T:1852 M:2844561408  NOTICE: [PLUGIN] 'weather.com+ for Dharma: Version - 1.1.16-r' initialized!
16:08:35 T:1852 M:2844561408  NOTICE:      ** Found XBMC Revision: r35647 [Compatible] **
16:08:36 T:1852 M:2843934720  NOTICE: Mode AddOn ON
16:08:36 T:1852 M:2843934720  NOTICE: Initiation
16:08:36 T:1852 M:2843422720  NOTICE: self.code = GMXX0034
16:08:36 T:1852 M:2843422720   ERROR: Error Type: exceptions.AttributeError
16:08:36 T:1852 M:2843422720   ERROR: Error Contents: Forecast36HourParser instance has no attribute 'video_local_location'
16:08:36 T:1852 M:2843308032   ERROR: Traceback (most recent call last):
                                              File "C:\Program Files (x86)\XBMC\portable_data\addons\weather.weatherplus\default.py", line 41, in ?
                                                Main()
                                              File "C:\Program Files (x86)\XBMC\portable_data\addons\weather.weatherplus\xbmcplugin_weather.py", line 79, in __init__
                                                self._fetch_36_forecast()
                                              File "C:\Program Files (x86)\XBMC\portable_data\addons\weather.weatherplus\xbmcplugin_weather.py", line 289, 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 "C:\Program Files (x86)\XBMC\portable_data\addons\weather.weatherplus\WeatherClient.py", line 976, in fetch_36_forecast
                                                video, video_local = self._create_video( parser.video_location, parser.video_local_location, parser.video_local_number, video )
                                            AttributeError: Forecast36HourParser instance has no attribute 'video_local_location'
find quote
brightsr Offline
Fan
Posts: 351
Joined: Feb 2011
Reputation: 0
Location: Bridgeport, CT
Post: #20
MegaX Wrote:Hi, sorry for my english but i hope you understand me. Frown

I have a Problem with your Addon. No matter what I do is always adjusting the error "Script Error: weather.weatherplus".

System: Windows 7 Ultimate x64
XBMC: Dharma 10.0
Skin: Confluence Customizabled
Addon Version: 1.1.16

xbmc.log
Code:
16:08:35 T:1852 M:2844729344  NOTICE: -->Python Interpreter Initialized<--
16:08:35 T:1852 M:2844561408  NOTICE: [PLUGIN] 'weather.com+ for Dharma: Version - 1.1.16-r' initialized!
16:08:35 T:1852 M:2844561408  NOTICE:      ** Found XBMC Revision: r35647 [Compatible] **
16:08:36 T:1852 M:2843934720  NOTICE: Mode AddOn ON
16:08:36 T:1852 M:2843934720  NOTICE: Initiation
16:08:36 T:1852 M:2843422720  NOTICE: self.code = GMXX0034
16:08:36 T:1852 M:2843422720   ERROR: Error Type: exceptions.AttributeError
16:08:36 T:1852 M:2843422720   ERROR: Error Contents: Forecast36HourParser instance has no attribute 'video_local_location'
16:08:36 T:1852 M:2843308032   ERROR: Traceback (most recent call last):
                                              File "C:\Program Files (x86)\XBMC\portable_data\addons\weather.weatherplus\default.py", line 41, in ?
                                                Main()
                                              File "C:\Program Files (x86)\XBMC\portable_data\addons\weather.weatherplus\xbmcplugin_weather.py", line 79, in __init__
                                                self._fetch_36_forecast()
                                              File "C:\Program Files (x86)\XBMC\portable_data\addons\weather.weatherplus\xbmcplugin_weather.py", line 289, 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 "C:\Program Files (x86)\XBMC\portable_data\addons\weather.weatherplus\WeatherClient.py", line 976, in fetch_36_forecast
                                                video, video_local = self._create_video( parser.video_location, parser.video_local_location, parser.video_local_number, video )
                                            AttributeError: Forecast36HourParser instance has no attribute 'video_local_location'

Thanks for your log file. I'll fix it.
You don't need to be sorry for your english. you're so good!
And English is not my mother tongue, too!
find quote
Post Reply