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)



- bandelguy - 2011-06-10 13:39

@ Brightsr: Please revive this fantastic addon.


- Tight_wad - 2011-06-10 13:49

me too!


- brightsr - 2011-06-10 15:08

I'm fixing now. Weather.com changed their form.
I think update will be released around noon.


- fional - 2011-06-10 15:10

brightsr Wrote:I'm fixing now. Weather.com changed their format.
I think update will be release around noon.

Brilliant Smile When I show off my XBMC to people who call by to visit, Weather Plus is the first thing I show! Smile


- Hudson_Hawk04 - 2011-06-10 17:43

good deal...I was wondering if it would be possible to toggle to a different alert sound, something more annoying and possibly longer, maybe have it switch to the more obnoxious one at a given time...something to get my ass up out of bed if they issue a tornado warning or something, had alot of those so far this yar and are getting a little too close for comfort.


- brightsr - 2011-06-10 19:24

[UPDATE] v.2.1.7

- Rebuilded : Weather.com 36 hour, 10 day forecast (they changed entire form of 10 day forecast page)

There were some issues during upload, If you have a problem to update, please un&reinstall.


- fional - 2011-06-10 22:04

brightsr Wrote:[UPDATE] v.2.1.7

- Rebuilded : Weather.com 36 hour, 10 day forecast (they changed entire form of 10 day forecast page)

There were some issues during upload, If you have a problem to update, please un&reinstall.

I updated, but still receive an error.

Here is my log:
http://pastebin.com/RDSkGnRf

Many thanks!


- jawilljr - 2011-06-10 22:16

I'm receiving a script error after updating also.

Debug Log

I also un/reinstalled and still getting the same error.

It looks like the error is here:

Code:
15:09:51 T:139676405122816 M:763863040  NOTICE: http://www.weather.com/weather/tenday/38671?
15:09:51 T:139676405122816 M:763863040    INFO: -->Python script returned the following error<--
15:09:51 T:139676405122816 M:763863040   ERROR: Error Type: exceptions.ValueError
15:09:51 T:139676405122816 M:763863040   ERROR: Error Contents: invalid literal for float(): --
15:09:51 T:139676405122816 M:763863040   ERROR: Traceback (most recent call last):
                                              File "/home/jawilljr/.xbmc/addons/weather.weatherplus/default.py", line 41, in ?
                                                Main()
                                              File "/home/jawilljr/.xbmc/addons/weather.weatherplus/xbmcplugin_weather.py", line 101, in __init__
                                                self._fetch_10day_forecast()
                                              File "/home/jawilljr/.xbmc/addons/weather.weatherplus/xbmcplugin_weather.py", line 463, in _fetch_10day_forecast
                                                forecasts = self.WeatherClient.fetch_10day_forecast()
                                              File "/home/jawilljr/.xbmc/addons/weather.weatherplus/WeatherClient.py", line 2203, in fetch_10day_forecast
                                                parser = Forecast10DayParser( htmlSource, self.translate )
                                              File "/home/jawilljr/.xbmc/addons/weather.weatherplus/WeatherClient.py", line 1672, in __init__
                                                self._get_forecast( htmlSource )
                                              File "/home/jawilljr/.xbmc/addons/weather.weatherplus/WeatherClient.py", line 1751, in _get_forecast
                                                self.forecast += [ ( headings[ count ][ 0 ], headings[ count ][ 1 ], iconpath, brief[ count ], _localize_unit( high_temp[ count ].strip("\nt&deg;") ), _localize_unit( low_temp[ count ].strip("\nt&deg;") ), precip[ count ][ 1 ].replace( "%", "" ), windir.get( wind[ count ][ 0 ], wind[ count ][ 0 ] ), _localize_unit( wind[ count ][ 1 ], "speed" ), wind[ count ][ 0 ], ) ]
                                              File "/home/jawilljr/.xbmc/addons/weather.weatherplus/WeatherClient.py", line 148, in _localize_unit
                                                value = float( value )
                                            ValueError: invalid literal for float(): --
15:09:51 T:139676405122816 M:763863040    INFO: -->End of Python script error report<--

Jerry


- N.O.W.A.L.L - 2011-06-10 22:52

I updated to 2.1.7

no more script error massage, all infos are retrieved, except that I don't have animated maps anymore (after having set the main one to "Weather Detail (World - Europe)


- fional - 2011-06-10 22:53

N.O.W.A.L.L Wrote:I updated to 2.1.7

no more script error massage, all infos are retrieved, except that I don't have animated maps anymore (after having set the main one to "Weather Detail (World - Europe)

Do you get the ten day forecast?


- N.O.W.A.L.L - 2011-06-10 23:15

Nope, 6 days forecast.
My skin is CirrusExtended 2.0.3.
My provider: Accuweather.com Global
No maps at all appear (with and without the MegaPack installed)


- brightsr - 2011-06-10 23:32

N.O.W.A.L.L Wrote:Nope, 6 days forecast.
My skin is CirrusExtended 2.0.3.
My provider: Accuweather.com Global
No maps at all appear (with and without the MegaPack installed)

only weather.com maps available now.
if you use another provider, it's normal.


- brightsr - 2011-06-10 23:48

[UPDATE] v.2.1.8

- Fixed : 10 day forecast temperature bug


- eddiem - 2011-06-11 00:08

Seems to be OK now, thank you.


- jawilljr - 2011-06-11 00:11

Seem to be working for me know too.

Jerry