2011-05-01, 13:55
Accuweather.com doesn't work
xbmc.log is here
http://paste.ubuntu.com/601699/
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/