2009-10-25, 13:48
Hi Nuka,
I've been curious to see this plugin in action, but I've never been able to run it yet...
I'm on linux with r22528.
what I get is
After I close the error alert window, xbmc restarts. And it's not intermittent, it's every time. Only choice is remove it.
As suggested, giving the open WeatherClient.py would certainly help - supposing you're busy these days.
I also had a minor issue with the plugin failing to recognize the xbmc svn revision (that string was pre9.10 r22528M) which I solved changing this line in default.py
to
I've been curious to see this plugin in action, but I've never been able to run it yet...
I'm on linux with r22528.
what I get is
Code:
11:56:14 T:2950691728 M:1432535040 NOTICE: Traceback (most recent call last):
11:56:14 T:2950691728 M:1432535040 NOTICE: File "/home/xbmc/.xbmc/plugins/weather/weather.com plus/default.py", line 41, in ?
11:56:14 T:2950691728 M:1432535040 NOTICE: Main()
11:56:14 T:2950691728 M:1432535040 NOTICE: File "/home/xbmc/.xbmc/plugins/weather/weather.com plus/resources/lib/xbmcplugin_weather.py", line 68, in __init__
11:56:14 T:2950691728 M:1432535040 NOTICE: self._fetch_weekend_forecast()
11:56:14 T:2950691728 M:1432535040 NOTICE: File "/home/xbmc/.xbmc/plugins/weather/weather.com plus/resources/lib/xbmcplugin_weather.py", line 285, in _fetch_weekend_forecast
11:56:14 T:2950691728 M:1432535040 NOTICE: forecasts = self.WeatherClient.fetch_weekend_forecast()
11:56:14 T:2950691728 M:1432535040 WARNING: Trying to access old style dir: F:/source/XBMC-Linux/plugins/weather/weather.com plus/resources/lib/WeatherClient.py
11:56:14 T:2950691728 M:1432535040 NOTICE: File "F:\source\XBMC-Linux\plugins\weather\weather.com plus\resources\lib\WeatherClient.py", line 830, in fetch_weekend_forecast
11:56:14 T:2950691728 M:1432535040 WARNING: Trying to access old style dir: F:/source/XBMC-Linux/plugins/weather/weather.com plus/resources/lib/WeatherClient.py
11:56:14 T:2950691728 M:1432535040 NOTICE: File "F:\source\XBMC-Linux\plugins\weather\weather.com plus\resources\lib\WeatherClient.py", line 390, in __init__
11:56:14 T:2950691728 M:1432535040 WARNING: Trying to access old style dir: F:/source/XBMC-Linux/plugins/weather/weather.com plus/resources/lib/WeatherClient.py
11:56:14 T:2950691728 M:1432535040 NOTICE: File "F:\source\XBMC-Linux\plugins\weather\weather.com plus\resources\lib\WeatherClient.py", line 519, in _get_forecast
11:56:14 T:2950691728 M:1432535040 NOTICE: IndexError
11:56:14 T:2950691728 M:1432535040 NOTICE: :
11:56:14 T:2950691728 M:1432535040 NOTICE: list index out of range
11:56:14 T:2950691728 M:1432535040 ERROR: Scriptresult: Error
After I close the error alert window, xbmc restarts. And it's not intermittent, it's every time. Only choice is remove it.
As suggested, giving the open WeatherClient.py would certainly help - supposing you're busy these days.
I also had a minor issue with the plugin failing to recognize the xbmc svn revision (that string was pre9.10 r22528M) which I solved changing this line in default.py
Code:
xbmc_rev = int( xbmc.getInfoLabel( "System.BuildVersion" ).split( " r" )[ -1 ] )
Code:
xbmc_rev = int( xbmc.getInfoLabel( "System.BuildVersion" ).split( " r" )[ -1 ][0:5] )