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

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Weather Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=155)
+---- Thread: [RELEASE] Weather Plus Addon (/showthread.php?tid=95329)



- Jezz_X - 2011-05-28

Might also be worth changing the name of the add-on to "Weather Plus" in the addon.xml since its not just dharma and not just weather.com anymore

I'd probably also put the "Originally By Nuka" in the description text
Image


- brightsr - 2011-05-28

Jezz_X Wrote:Might also be worth changing the name of the add-on to "Weather Plus" in the addon.xml since its not just dharma and not just weather.com anymore

I'd probably also put the "Originally By Nuka" in the description text

That's good idea. Smile
I'll change and update soon.

Thank you! Smile


- brightsr - 2011-05-28

[UPDATE] v.2.1.6

- Compatible with the latest nightly build
- Changed : Addon's name - Weather Plus


- mcorcoran - 2011-05-28

I'm running OPENELEC which apparently is having python version issues with the latest release 2.1.6. Is it possible you could post a zip of 2.1.5 so I could use that till they get it sorted out. Thanks.


- brightsr - 2011-05-28

mcorcoran Wrote:I'm running OPENELEC which apparently is having python version issues with the latest release 2.1.6. Is it possible you could post a zip of 2.1.5 so I could use that till they get it sorted out. Thanks.

I don't have full files of last version, but you can overwrite this file into addon's folder.
http://www.mediafire.com/?fgzs4il10lzp1us


- jtucker1972 - 2011-05-28

brightsr Wrote:Please let me know the area code you can find in the log file, and your selected language for accuweather.com

Second error 503 for http://www.accuweather.com/32738/hourly.aspx, increase sleep time.

32738. English. Is this just an issue where it doesn't have info on this zip?


- brightsr - 2011-05-28

jtucker1972 Wrote:Second error 503 for http://www.accuweather.com/32738/hourly.aspx, increase sleep time.

32738. English. Is this just an issue where it doesn't have info on this zip?

Oh I see. I think you need to select location again for accuweather.com.
I forgot to post about that. Sorry. Sad


- el_Paraguayo - 2011-05-29

I'm getting an error with this script as well.

I've tried resetting the locations, tried the earlier python script link above. No joy.

This is the extract from the log:
Code:
12:03:02 T:2772028272 M:3817598976  NOTICE: [PLUGIN] 'Weather Plus: Version - 2.1.6-r' initialized!
12:03:02 T:2772028272 M:3817598976  NOTICE:      ** Found XBMC Revision: r35648 [Compatible] **
12:03:02 T:2772028272 M:3816681472  NOTICE: [Weather.com+] Alternative Provider Selected : Accuweather.com Global ()
12:03:03 T:2772028272 M:3819917312  NOTICE: Second error 503 for http://www.accuweather.com//hourly.aspx, increase sleep time.
12:03:04 T:2772028272 M:3819991040  NOTICE: Second error 503 for http://www.accuweather.com//hourly.aspx, increase sleep time.
12:03:04 T:2772028272 M:3819991040   ERROR: Error Type: exceptions.IndexError
12:03:04 T:2772028272 M:3819991040   ERROR: Error Contents: list index out of range
12:03:04 T:2772028272 M:3819991040   ERROR: Traceback (most recent call last):
                                              File "/home/anto/.xbmc/addons/weather.weatherplus/default.py", line 41, in ?
                                                Main()
                                              File "/home/anto/.xbmc/addons/weather.weatherplus/xbmcplugin_weather.py", line 76, in __init__
                                                self._accu_hourly_forecast()
                                              File "/home/anto/.xbmc/addons/weather.weatherplus/xbmcplugin_weather.py", line 535, in _accu_hourly_forecast
                                                forecasts = self.WeatherClient.accu_fetch_hourly_forecast()
                                              File "/home/anto/.xbmc/addons/weather.weatherplus/WeatherClient.py", line 2133, 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



- brightsr - 2011-05-29

el_Paraguayo Wrote:I'm getting an error with this script as well.

I've tried resetting the locations, tried the earlier python script link above. No joy.

This is the extract from the log:
[CODE]12:03:02 T:2772028272 M:3817598976 NOTICE: [PLUGIN] 'Weather Plus: Version - 2.1.6-r' initialized!
12:03:02 T:2772028272 M:3817598976 NOTICE: ** Found XBMC Revision: r35648 [Compatible] **
12:03:02 T:2772028272 M:3816681472 NOTICE: [Weather.com+] Alternative Provider Selected : Accuweather.com Global ()

Did you select locations in Addon's settings? and which location?


- el_Paraguayo - 2011-05-29

I've got the locations set in general Weather options.

When try to set them in the skin settings (clicking "Change Location" on the Provider screen) it just returns me to the main Weather settings page.

The location on the Provider tab is blank though - so this may be the problem - I just can't change it.

EDIT:
Location in general Weather settings is LONDON, UK.


- brightsr - 2011-05-29

el_Paraguayo Wrote:I've got the locations set in general Weather options.

When try to set them in the skin settings (clicking "Change Location" on the Provider screen) it just returns me to the main Weather settings page.

The location on the Provider tab is blank though - so this may be the problem - I just can't change it.

EDIT:
Location in general Weather settings is LONDON, UK.

I tried to select London, UK, it was fine.
It's normal to see main weather settings page after clicking "change location". There may be a little delay before input dialog appears.


- mcorcoran - 2011-05-29

Thanks brightsr, that worked perfectly.


- el_Paraguayo - 2011-05-29

brightsr Wrote:I tried to select London, UK, it was fine.
It's normal to see main weather settings page after clicking "change location". There may be a little delay before input dialog appears.
Nope - really not working for me.

I click "Change location" - it takes me to the main weather settings page, and nothing else happens.

Is there any way to hard code my location into the script?


- brightsr - 2011-05-29

el_Paraguayo Wrote:Nope - really not working for me.

I click "Change location" - it takes me to the main weather settings page, and nothing else happens.

Is there any way to hard code my location into the script?

hmm.. strange.
Can you post whole log file? I want to see if location selector was loaded.


- el_Paraguayo - 2011-05-29

Aha!

Code:
14:49:24 T:1501674352 M:3738693632  NOTICE: -->Python Interpreter Initialized<--
14:49:46 T:3020203904 M:3741073408   ERROR: Python script "/home/anto/.xbmc/addons/weather.weatherplus/resources/lib/accuweather_location.py" does not exist

it's case sensitive on Linux - file is Accuweather_Location.py

EDIT:
Confirmed - changed the file name to lower case and it's running beautifully. Thanks.