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

+- Kodi Community Forum (http://forum.kodi.tv)
+-- 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)



- dallasnights - 2011-02-27 05:49

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


- rflores2323 - 2011-02-27 08:49

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


- schnitzelbrain - 2011-02-27 15:23

brightsr Wrote:It's due to accuweather.com.
I'm fixing and making it more stable.

Yep, update installed. Works Perfect now. Nod


- MegaX - 2011-02-27 17:38

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'



- brightsr - 2011-02-27 19:29

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!


- kevron - 2011-02-27 20:20

Once I got this working I really like this addon. Good stuff. So much easier than going to the computer and opening a web browser.

Your English is probably better than mine. And its the only language I speak. Laugh


- kidtwisted - 2011-02-27 22:57

rflores2323 Wrote: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

That is already available and would be a skin setting.
Do a search for weather fan art on the forums.


- brightsr - 2011-02-28 02:06

[UPDATE] v.1.1.17

- Fixed : Europe Weather Video Bug
- Fixed : Timezone Localization


Weather Advisories - barcoboy - 2011-02-28 02:51

As others have already said, I'm very happy to see this working again!

Question regarding weather advisories: how exactly do they work, and where is the data picked up from? There is a winter storm warning currently in effect for Burlington, VT. I saw the top notification appear for ~30 seconds, and the following text scrolled on the bottom of the screen:

WINTER WEATHER ADVISORY FOR BURLINGTON, VERMONT: WINTER WEATHER ADVISORY FOR BURLINGTON, VERMONT - THE NATIONAL WEATHER SERVICE BURLINGTON, VT

Just wondering if this is the normal behavior, or is the text of the actual advisory supposed to appear and scroll at the bottom as well?


- kidtwisted - 2011-02-28 03:11

@ barcoboy
Which skin are you using?


- barcoboy - 2011-02-28 04:03

Sorry, forgot to mention that. I'm using Transparency! 3.11.1.


- brightsr - 2011-02-28 04:06

barcoboy Wrote:Sorry, forgot to mention that. I'm using Transparency! 3.11.1.

Would you mind try SVN version of T!?
I think whole text of advisory is supposed to appear at the bottom line.


- kidtwisted - 2011-02-28 06:04

I'm running the SVN version of T!.
I am only seeing the title of the advisory, currently there doesn't seem to be a way to view the details.


- barcoboy - 2011-02-28 06:16

Just tried the SVN version as well... same thing.


- MegaX - 2011-02-28 10:07

brightsr Wrote:[UPDATE] v.1.1.17

- Fixed : Europe Weather Video Bug
- Fixed : Timezone Localization

I have now updated to 1.1.17 and the problem still exists. Sad I have tested it with different locations and skins but always with the same error.

Code:
08:57:05 T:3308 M:2857422848  NOTICE: -->Python Interpreter Initialized<--
08:57:05 T:3308 M:2857046016  NOTICE: [PLUGIN] 'weather.com+ for Dharma: Version - 1.1.17-r' initialized!
08:57:05 T:3308 M:2857041920  NOTICE:      ** Found XBMC Revision: r35647 [Compatible] **
08:57:05 T:3308 M:2843652096  NOTICE: Mode AddOn ON
08:57:05 T:3308 M:2843652096  NOTICE: Initiation
08:57:05 T:3308 M:2843566080   ERROR: Error Type: exceptions.IndexError
08:57:05 T:3308 M:2843566080   ERROR: Error Contents: list index out of range
08:57:05 T:3308 M:2843533312   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 78, in __init__
                                                self._fetch_map_list()
                                              File "C:\Program Files (x86)\XBMC\portable_data\addons\weather.weatherplus\xbmcplugin_weather.py", line 211, in _fetch_map_list
                                                current_map = maps[ 0 ][ 0 ]
                                            IndexError: list index out of range
08:57:07 T:1596 M:2828156928  NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:06
08:57:20 T:3928 M:2873122816   ERROR: Texture manager unable to load file: C:\Program Files (x86)\XBMC\portable_data\addons\weather.weatherplus\icon.png
08:57:33 T:3288 M:2865602560   ERROR: Previous line repeats 3 times.
08:57:33 T:3288 M:2865602560  NOTICE: -->Python Interpreter Initialized<--
08:57:33 T:3288 M:2865250304  NOTICE: [PLUGIN] 'weather.com+ for Dharma: Version - 1.1.17-r' initialized!
08:57:33 T:3288 M:2865250304  NOTICE:      ** Found XBMC Revision: r35647 [Compatible] **
08:57:33 T:3288 M:2864570368  NOTICE: Mode AddOn ON
08:57:33 T:3288 M:2864570368  NOTICE: Initiation
08:57:34 T:3288 M:2866053120  NOTICE: self.code = GMXX0034
08:57:34 T:3288 M:2866053120   ERROR: Error Type: exceptions.AttributeError
08:57:34 T:3288 M:2866053120   ERROR: Error Contents: Forecast36HourParser instance has no attribute 'video_local_location'
08:57:34 T:3288 M:2865938432   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 980, 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'
08:57:52 T:3460 M:2844168192  NOTICE: -->Python Interpreter Initialized<--
08:57:52 T:3460 M:2843815936  NOTICE: [PLUGIN] 'weather.com+ for Dharma: Version - 1.1.17-r' initialized!
08:57:52 T:3460 M:2843815936  NOTICE:      ** Found XBMC Revision: r35647 [Compatible] **
08:57:52 T:3460 M:2843136000  NOTICE: Mode AddOn ON
08:57:52 T:3460 M:2843136000  NOTICE: Initiation
08:57:52 T:3460 M:2843054080   ERROR: Error Type: exceptions.IndexError
08:57:52 T:3460 M:2843054080   ERROR: Error Contents: list index out of range
08:57:52 T:3460 M:2842836992   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 78, in __init__
                                                self._fetch_map_list()
                                              File "C:\Program Files (x86)\XBMC\portable_data\addons\weather.weatherplus\xbmcplugin_weather.py", line 211, in _fetch_map_list
                                                current_map = maps[ 0 ][ 0 ]
                                            IndexError: list index out of range
08:58:01 T:2476 M:2840240128  NOTICE: -->Python Interpreter Initialized<--
08:58:01 T:2476 M:2840023040  NOTICE: {'limit': '4'}
08:58:03 T:1708 M:2827259904  NOTICE: -->Python Interpreter Initialized<--
08:58:03 T:1708 M:2827091968  NOTICE: [PLUGIN] 'weather.com+ for Dharma: Version - 1.1.17-r' initialized!
08:58:03 T:1708 M:2827091968  NOTICE:      ** Found XBMC Revision: r35647 [Compatible] **
08:58:04 T:1708 M:2830667776  NOTICE: Mode AddOn ON
08:58:04 T:1708 M:2830667776  NOTICE: Initiation
08:58:04 T:1708 M:2830614528   ERROR: Error Type: exceptions.IndexError
08:58:04 T:1708 M:2830614528   ERROR: Error Contents: list index out of range
08:58:04 T:1708 M:2830581760   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 78, in __init__
                                                self._fetch_map_list()
                                              File "C:\Program Files (x86)\XBMC\portable_data\addons\weather.weatherplus\xbmcplugin_weather.py", line 211, in _fetch_map_list
                                                current_map = maps[ 0 ][ 0 ]
                                            IndexError: list index out of range
08:58:08 T:2908 M:2833285120  NOTICE: -->Python Interpreter Initialized<--
08:58:08 T:2908 M:2833117184  NOTICE: [PLUGIN] 'weather.com+ for Dharma: Version - 1.1.17-r' initialized!
08:58:08 T:2908 M:2833117184  NOTICE:      ** Found XBMC Revision: r35647 [Compatible] **
08:58:08 T:2908 M:2832490496  NOTICE: Mode AddOn ON
08:58:08 T:2908 M:2832490496  NOTICE: Initiation
08:58:08 T:2908 M:2832437248   ERROR: Error Type: exceptions.IndexError
08:58:08 T:2908 M:2832437248   ERROR: Error Contents: list index out of range
08:58:08 T:2908 M:2832404480   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 78, in __init__
                                                self._fetch_map_list()
                                              File "C:\Program Files (x86)\XBMC\portable_data\addons\weather.weatherplus\xbmcplugin_weather.py", line 211, in _fetch_map_list
                                                current_map = maps[ 0 ][ 0 ]
                                            IndexError: list index out of range