• 1
  • 2
  • 3
  • 4(current)
  • 5
  • 6
  • 23
[RELEASE] Weather.com Plus Plugin - skinnable via the new Weather Plugin API in XBMC!
#46
ok thank you!! however what file i've to edit to have prevision for hour weekly... the things written on the first post i mean.. I've copy folders to my skin (trasparency that can use this plugin if i don't understand wrong) but i had a black screen... i need to turn back old files.. It's trasparency or i'm making something wrong? Thank you for your help!
Reply
#47
BigBlack Wrote:ok thank you!! however what file i've to edit to have prevision for hour weekly... the things written on the first post i mean.. I've copy folders to my skin (trasparency that can use this plugin if i don't understand wrong) but i had a black screen... i need to turn back old files.. It's trasparency or i'm making something wrong? Thank you for your help!

don't copy any files to the skin!!!

only the 7-day forecast is available in Transparency!
other screens will be added as soon as i have some time to make them.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#48
ok.. Smile thank you... however i make some disaster... i've yet copied file and turn back with old but now sometimes without any evident reason XBMC freeze... i don't know...
this is my last log.. http://pastebin.com/m4d73e068 i've activated debug mode and after 20 second it freeze... do you see something?
Reply
#49
BigBlack Wrote:ok.. Smile thank you... however i make some disaster... i've yet copied file and turn back with old but now sometimes without any evident reason XBMC freeze... i don't know...
this is my last log.. http://pastebin.com/m4d73e068 i've activated debug mode and after 20 second it freeze... do you see something?

it's a known issue, needs to be fixed by xbmc.
nothing i can do.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#50
flikfoto Wrote:One little issue with having the weather.com plus plugin installed. Every time I shut down and restart XBMC I get the following error.

Error: Python Script Failed:
special://home/plugins/weather/weather.com plus/default.py

First - Thanks for the Great Plugin - very nicely done.
But, Any solution to this - I'm seeing the same thing as others have recently posted here. Sometimes XBMC starts without the errors but most of the time I get this script error as well. From the Log it looks like it's trying to find a file called settings.xml, I have configured the Weather.Com Plus Plugin thru it's settings option. If I go to the Weather Tab it displays properly, but in order to get it I have to toggle "City" in order for it to populate the information.

Here's my Log -
14:56:38 T:14628 M:1241305088 NOTICE: UDP: Listening on port 9777
14:56:39 T:13124 M:1234223104 NOTICE: -->Python Interpreter Initialized<--
14:56:39 T:13124 M:1234194432 NOTICE: [PLUGIN] 'weather.com plus: Version - 1.1.9a-r' initialized!
14:56:39 T:13124 M:1234194432 NOTICE: ** Required XBMC Revision: r21010 **
14:56:39 T:14440 M:1234194432 NOTICE: -->Python Interpreter Initialized<--
14:56:39 T:13124 M:1234108416 NOTICE: ** Found XBMC Revision: r22516 [Compatible] **
14:56:39 T:13124 M:1230737408 NOTICE: Traceback (most recent call last):
14:56:39 T:13124 M:1230737408 NOTICE: File "E:\Program Files\XBMC\plugins\weather\weather.com plus\default.py", line 40, in ?
14:56:39 T:13124 M:1230737408 NOTICE: from resources.lib.xbmcplugin_weather import Main
14:56:39 T:13124 M:1230737408 NOTICE: File "E:\Program Files\XBMC\plugins\weather\weather.com plus\resources\lib\xbmcplugin_weather.py", line 19, in ?
14:56:39 T:13124 M:1230733312 NOTICE: class Main:
14:56:39 T:13124 M:1230729216 NOTICE: File "E:\Program Files\XBMC\plugins\weather\weather.com plus\resources\lib\xbmcplugin_weather.py", line 21, in Main
14:56:39 T:13124 M:1230729216 NOTICE: Settings = xbmc.Settings( os.getcwd() )
14:56:39 T:13124 M:1230729216 NOTICE: Exception
14:56:39 T:13124 M:1230729216 NOTICE: :
14:56:39 T:13124 M:1230729216 NOTICE: No settings.xml file could be found!
14:56:39 T:13124 M:1230729216 ERROR: Scriptresult: Error


Running XBMC pre-9.10 r22516 (Compiled: Aug. 31, 2009)
Transparency! V2.00

Thanks
Reply
#51
Thumbs Up 
Great plugin, just sorted it out in transparency (ran in to noobie daft probs, all good now)
Reply
#52
I also have the intermittent python error (default.py) when starting XBMC with weather plus. I don't know what it depends on whether I get it or not. I am using 22516 and transparency 2.11

debug:
http://pastebin.com/m75c6d8ad
Reply
#53
I'm not sure if there is anything that can be done about this, but for some reason my "Feels Like" and "Humidity" values are always 32 for my city. Any other city or town I have tried works fine, so I am guessing it is an issue with weather.com

The weather.com site and rss feed both have the correct values.... If anyone can shed a little light on this, I would appreciate it. The correct city info on weather.com is here: http://www.weather.com/weather/local/USFL0267

Thanks!
-stoli-
Reply
#54
aptalca Wrote:I also have the intermittent python error (default.py) when starting XBMC with weather plus. I don't know what it depends on whether I get it or not. I am using 22516 and transparency 2.11

debug:
http://pastebin.com/m75c6d8ad

Me too, same intermittent error ^^, running Transparency 2.01 and XBMC Nightly Build Patched 23060, will post a debug log later
Reply
#55
Nuka,

My XBMC refuses to recognize or load WeatherClient.pyo, nor will python itself import the object.

Code:
00:53:46 T:2547678064 M:1121046528  NOTICE: Traceback (most recent call last):
00:53:46 T:2547678064 M:1121046528  NOTICE:   File "/home/xbmc/.xbmc/plugins/weather/weather.com plus/default.py", line 43, in <module>
00:53:46 T:2547678064 M:1121046528  NOTICE: import resources.lib.WeatherClient as WeatherClient
00:53:46 T:2547678064 M:1121046528  NOTICE: ImportError
00:53:46 T:2547678064 M:1121046528  NOTICE: :
00:53:46 T:2547678064 M:1121046528  NOTICE: No module named WeatherClient
00:53:46 T:2547678064 M:1121046528   ERROR: Scriptresult: Error

Python gives me a bad magic number in pyo. I suspect this is the result of it being an object compiled either on windows or a different architecture than x86. Could you send me the py? I assume you include it as an object for speed of loading and not to prevent reverse-engineering, right?

For what it's worth, I'm running on a linux box. Would love to overcome this little hurdle.

Thanks,

- Chris
Reply
#56
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
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 ] )
to
Code:
xbmc_rev = int( xbmc.getInfoLabel( "System.BuildVersion" ).split( " r" )[ -1 ][0:5] )
Reply
#57
rickx Wrote: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.

you could try if a more recent build of xbmc fixes it.
there were some python related issues before, but they should be fixed by now:
http://trac.xbmc.org/ticket/6839
http://trac.xbmc.org/ticket/6430
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#58
I have version XBMC-9.04.1.
When I go to install weather.com plus (via SVN Repo Installer), it shows in red letters not compatible.
It starts to tell me what version 'is' compatible, but its cut off, thereby unreadable.

So can anyone tell me what version i need pls?
Not for not, I am attempting to install this on Xbox.

Thank you.
Mac.
Reply
#59
I just noticed that Nuka1195 hasn't posted to this weather.com support thread since the end of August.
Is that a sign that this script is no longer being developed or supported for issues?
Reply
#60
Quote:
[weather.com plus]

-changed: version -> 1.1.9b
-fixed: include .py not .pyo for other python platforms

here you go ceros? (i think)
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply
  • 1
  • 2
  • 3
  • 4(current)
  • 5
  • 6
  • 23

Logout Mark Read Team Forum Stats Members Help
[RELEASE] Weather.com Plus Plugin - skinnable via the new Weather Plugin API in XBMC!2