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)



- brightsr - 2011-04-23

@winestock

Please post your xbmc.log file, but I think it may not be addon's issue.


- winestock - 2011-04-28

Here is the debug log.


- TugboatBill - 2011-04-28

I noticed a minor issue. 10 day forecast shows sunrise as 6:17AM.
36 hour shows 7:17AM.
Current shows 7:19AM.
Oo


- brightsr - 2011-04-30

TugboatBill Wrote:I noticed a minor issue. 10 day forecast shows sunrise as 6:17AM.
36 hour shows 7:17AM.
Current shows 7:19AM.
Oo

Please let me know your location.


- brightsr - 2011-04-30

winestock Wrote:Here is the debug log.

According to your log, I think your XBMC is not recognizing the addon properly.
Please try to re-install the addon.


- TugboatBill - 2011-04-30

TugboatBill Wrote:I noticed a minor issue. 10 day forecast shows sunrise as 6:17AM.
36 hour shows 7:17AM.
Current shows 7:19AM.
Oo


I was posting this from memory and I had it all messed up. The problem I'm seeing is the weekend forecast has the wrong time for sunrise by an hour. It shows 6:14AM, should be 7:14AM - San Jose, CA. Sunset is also off by an hour.

Also - If there is a weather alert the current conditions is messed up (see post 102 in this thread).


- Goga777 - 2011-05-01

brightsr Wrote:* NOTE #2 : If you want to use another provider, feel free to let me know the provider. I'll try add it.

is it possible to add provider Gismeteo ?

http://www.gismeteo.ru/


- Goga777 - 2011-05-01

Accuweather.com doesn't work

Quote:15:10:24 T:2952788848 M:111419392 NOTICE: [PLUGIN] 'weather.com+ for Dharma: Version - 2.0.0-r' initialized!
15:10:24 T:2952788848 M:111419392 NOTICE: ** Found XBMC Revision: r0 [Unknown] **
15:10:24 T:2952788848 M:111419392 ERROR: /home/arvdr/.xbmc/addons/weather.weatherplus/WeatherClient.py:17: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import md5
15:10:24 T:2952788848 M:111419392 ERROR: /home/arvdr/.xbmc/addons/weather.weatherplus/WeatherClient.py:1488: DeprecationWarning: os.getcwd() currently lies to you so please use addon.getAddonInfo('path') to find the script's root directory and DO NOT make relative path accesses based on the results of 'os.getcwd.'
BASE_MAPS_PATH = xbmc.translatePath( "/".join( [ "special://temp", os.path.basename( os.getcwd() ), "maps" ] ) )
15:10:24 T:2952788848 M:111419392 ERROR: /home/arvdr/.xbmc/addons/weather.weatherplus/WeatherClient.py:1489: DeprecationWarning: os.getcwd() currently lies to you so please use addon.getAddonInfo('path') to find the script's root directory and DO NOT make relative path accesses based on the results of 'os.getcwd.'
BASE_SOURCE_PATH = xbmc.translatePath( "/".join( [ "special://profile", "script_data", os.path.basename( os.getcwd() ), "source" ] ) )
15:10:24 T:2952788848 M:111423488 NOTICE: [Weather.com+] Alternative Provider Selected : Accuweather.com Global ()
15:10:24 T:2952788848 M:111423488 NOTICE: [Weather.com+] Area code =
15:10:24 T:2952788848 M:111423488 INFO: -->Python script returned the following error<--
15:10:24 T:2952788848 M:111423488 ERROR: Error Type: <type 'exceptions.IndexError'>
15:10:24 T:2952788848 M:111423488 ERROR: Error Contents: list index out of range
15:10:24 T:2952788848 M:111423488 ERROR: Traceback (most recent call last):
File "/home/arvdr/.xbmc/addons/weather.weatherplus/default.py", line 41, in <module>
Main()
File "/home/arvdr/.xbmc/addons/weather.weatherplus/xbmcplugin_weather.py", line 75, in __init__ self._accu_36_forecast()
File "/home/arvdr/.xbmc/addons/weather.weatherplus/xbmcplugin_weather.py", line 450, in _accu_36_forecast
alerts, alertsrss, alertsnotify, alertscolor, alertscount, forecasts, extras, video, video_local = self.WeatherClient.accu_36_forecast("")
File "/home/arvdr/.xbmc/addons/weather.weatherplus/WeatherClient.py", line 1542, in accu_36_forecast
parser = ACCU_Forecast36HourParser( htmlSource, htmlSource_1, htmlSource_2, self.translate )
File "/home/arvdr/.xbmc/addons/weather.weatherplus/WeatherClient.py", line 683, in __init__
self._get_forecast( htmlSource, htmlSource_1, htmlSource_2 )
File "/home/arvdr/.xbmc/addons/weather.weatherplus/WeatherClient.py", line 716, in _get_forecast
current_icon = "/".join( [ "special://temp", "weather", "128x128", icondir.get( re.findall( pattern_icon, htmlSource )[0] ) + ".png" ] )
IndexError: list index out of range
15:10:24 T:2952788848 M:111423488 INFO: -->End of Python script error report<--

xbmc.log is here
http://paste.ubuntu.com/601699/


- Goga777 - 2011-05-01

would be nice to see the alternative providers as

http://www.wunderground.com/

and

weathernews.com


- winestock - 2011-05-01

brightsr Wrote:According to your log, I think your XBMC is not recognizing the addon properly.
Please try to re-install the addon.

As it turned out I did not even have the weather+ addon installed. After I installed weather+ everything seems to be working properly. Thanks for the help.


- thewarm - 2011-05-02

TugboatBill Wrote:I was posting this from memory and I had it all messed up. The problem I'm seeing is the weekend forecast has the wrong time for sunrise by an hour. It shows 6:14AM, should be 7:14AM - San Jose, CA. Sunset is also off by an hour.

Also - If there is a weather alert the current conditions is messed up (see post 102 in this thread).

Same problem for Seattle, 98125 (Confluence skin, Win 7).


- Tiny Clanger - 2011-05-04

Does this work with nightlies? I'm running XBMC PRE-11.0 Git:201104270cdbe3c6 and there are no weather plugins showing when I attempt to install from the googlecode.xbmc-addons repository.

ISTR that XBMC now checks version compatibility, so it could be that, but it's more likely to be something daft I've done.

Is there a .zip of the plugin that I can just install using Install From Zip File? I only want to try it out now that I'm using a compatible skin, but it's turning out to be hassle upon hassle Sad


- brightsr - 2011-05-05

I'm really sorry, but I've been too busy to code this addon thesedays.
I'll try to work next week. Sad


- brightsr - 2011-05-12

Finally, I'm back here.
I tested the locations, San Jose(CA) and Seattle(WA), but there's no issue of sunrise time.
I mean they're exactly same as sunrise times on Weather.com.


- TugboatBill - 2011-05-12

brightsr Wrote:Finally, I'm back here.
I tested the locations, San Jose(CA) and Seattle(WA), but there's no issue of sunrise time.
I mean they're exactly same as sunrise times on Weather.com.

hmmm. Strange, my time was correct on the current conditions tab, but on weekend it's off by an hour.....