![]() |
|
[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) |
- fiddystorms - 2011-03-02 01:36 Harro Wrote:Try looking here Can this be run in aTV2? - dynaflash - 2011-03-03 19:19 Hmm installed with a svn version of Transparency on an appletv 1 running linux chd. got a script error at first. Oddly turning off the default "Translate Text (Babelfish)" solved it. Dunno what it does but in my case it causes a script error here. Might help someone trying it. Otherwise fantastic plug in. Kudos! - brightsr - 2011-03-04 01:19 dynaflash Wrote:Hmm installed with a svn version of Transparency on an appletv 1 running linux chd. got a script error at first. Oddly turning off the default "Translate Text (Babelfish)" solved it. Dunno what it does but in my case it causes a script error here. Might help someone trying it. Otherwise fantastic plug in. Kudos! Could you post your xbmc.log file? I'd really like to see the errors. - dynaflash - 2011-03-04 17:46 brightsr Wrote:Could you post your xbmc.log file? Yep, here is what I get right after start up http://pastebin.com/rtXRkvHB I am using Transparency (svn) and the basic temp etc shows on the main screen but anything extended just shows a grayed out icon and no data. Please let me know if you need anything else to troubleshoot. Edit: Okay so I went back in and turned bablefish translation back on and now it works ? Hmm, strange. It rocks but for whatever the reason deosn't want to work upon first install. Hmmm. Not sure whats causing it to work then not work. Thoughts ? Second Edit: well it appears that installing simplejson from http://ftp.heanet.ie/mirrors/xbmc/addons/dharma/script.module.simplejson/ has fixed the instability for now. My older ubuntu linux install on atv1 apparently did not support it. Dunno much about linux unfortunately but installing this seems to have fixed changing local weather locations etc. and made it much more stable. Will continue testing on various appletv linux xbmc installs to verify. - brightsr - 2011-03-05 22:53 dynaflash Wrote:Yep, here is what I get right after start up http://pastebin.com/rtXRkvHB I don't know much about linux or atv, and I've been testing only on windows 7. So unfortuately, I cannot help with any concerns or problems about another platforms rather than PC. And I think babelfish translation is not completely stable. Unless you really need to turn on it, please turn it off. - dynaflash - 2011-03-07 06:56 Okay, scratch the simplejson addon affecting anything. It was apparently a red herring since upon reboot it was hosed again. However that said ... I switched a couple things, then disabled the plugin then enabled it and rebooted. Boom, its back. Having a heck of a time isolating why it works sometimes and doesn't work others. ... frustrating since when it works it rocks. - stoli - 2011-03-07 23:27 Just an FYI - I've added support for this in Neon as well thanks to the work Jezz_X did in Confluence. http://forum.xbmc.org/showthread.php?tid=83337 Thanks, - rflores2323 - 2011-03-08 00:27 how can we add this addon to the next main xbmc release this weather addon is awesome and Im sure that more users would like to use it.
- Marx1 - 2011-03-09 16:08 What can I do if there is no my city to choose? - dallasnights - 2011-03-09 16:37 GM Weather is not working today getting script failed on ATV Here is the log...Thank you 08:34:27 T:123211776 M:125718528 INFO: initializing python engine. 08:34:27 T:123211776 M:125718528 DEBUG: Loading: /Applications/XBMC.frappliance/XBMCData/XBMCHome/system/python/python26-arm-osx.so 08:34:27 T:123211776 M:125706240 DEBUG: PYTHONHOME -> /Applications/XBMC.frappliance/Frameworks/usr 08:34:27 T:123211776 M:125706240 DEBUG: PYTHONPATH -> /Applications/XBMC.frappliance/Frameworks/usr 08:34:27 T:123211776 M:125706240 DEBUG: Python wrapper library linked with system Python library 08:34:27 T:123211776 M:125685760 DEBUG: new python thread created. id=1 08:34:27 T:123211776 M:125681664 DEBUG: CallScript - Weather script called: /var/mobile/Library/Preferences/XBMC/addons/weather.weatherplus/default.py (USTX1060) 08:34:27 T:177213440 M:125677568 DEBUG: thread start, auto delete: 0 08:34:27 T:177213440 M:125677568 DEBUG: Python thread: start processing 08:34:28 T:177213440 M:125521920 NOTICE: -->Python Interpreter Initialized<-- 08:34:28 T:177213440 M:125521920 DEBUG: Process - The source file to load is /var/mobile/Library/Preferences/XBMC/addons/weather.weatherplus/default.py 08:34:28 T:177213440 M:125530112 DEBUG: Process - Setting the Python path to /var/mobile/Library/Preferences/XBMC/addons/weather.weatherplus:/var/mobile/Library/Preferences/XBMC/addons/script.module.beautifulsoup/lib:/var/mobile/Library/Preferences/XBMC/addons/script.module.mechanize/lib:/var/mobile/Library/Preferences/XBMC/addons/script.module.cryptopy/lib:/var/mobile/Library/Preferences/XBMC/addons/script.module.simplejson/lib:/Applications/XBMC.frappliance/XBMCData/XBMCHome/addons/script.module.pil/lib:/var/mobile/Library/Preferences/XBMC/addons/script.module.elementtree/lib:/var/mobile/Library/Preferences/XBMC/addons/script.web.viewer/lib:/Applications/XBMC.frappliance/XBMCData/XBMCHome/addons/script.module.pysqlite/lib:/Applications/XBMC.frappliance/Frameworks/usr:/Applications/XBMC.frappliance/Frameworks/usr/lib/python26.zip:/Applications/XBMC.frappliance/Frameworks/usr/lib/python2.6/:/Applications/XBMC.frappliance/Frameworks/usr/lib/python2.6/plat-darwin:/Applications/XBMC.frappliance/Frameworks/usr/lib/python2.6/plat-mac:/Applications/XBMC.frappliance/Frameworks/usr/lib/python2.6/plat-mac/lib-scriptpackages:/Applications/XBMC.frappliance/Frameworks/usr/lib/python2.6/lib-tk:/Applications/XBMC.frappliance/Frameworks/usr/lib/python2.6/lib-old:/Applications/XBMC.frappliance/Frameworks/usr/lib/python2.6/lib-dynload 08:34:28 T:177213440 M:125530112 DEBUG: Process - Entering source directory /var/mobile/Library/Preferences/XBMC/addons/weather.weatherplus 08:34:29 T:177213440 M:125345792 NOTICE: [PLUGIN] 'weather.com+ for Dharma: Version - 1.1.17-r' initialized! 08:34:29 T:177213440 M:125345792 NOTICE: ** Found XBMC Revision: r0 [Unknown] ** 08:34:30 T:181092352 M:125317120 DEBUG: DoWork - took 319 ms to load special://skin/backgrounds/music.jpg 08:34:30 T:173187072 M:121434112 DEBUG: DoWork - took 450 ms to load special://skin/backgrounds/pictures.jpg 08:34:31 T:146817024 M:117559296 DEBUG: DoWork - took 338 ms to load special://masterprofile/Thumbnails/e/e35f190f.jpg 08:34:31 T:177213440 M:117477376 NOTICE: /var/mobile/Library/Preferences/XBMC/addons/weather.weatherplus/WeatherClient.py:17: DeprecationWarning: the md5 module is deprecated; use hashlib instead import md5 08:34:31 T:177213440 M:111505408 NOTICE: Mode AddOn ON 08:34:31 T:177213440 M:111505408 NOTICE: Initiation 08:34:32 T:123211776 M:119128064 DEBUG: ExecuteXBMCAction : Translating ActivateWindow(Weather) 08:34:32 T:123211776 M:119128064 DEBUG: ExecuteXBMCAction : To ActivateWindow(Weather) 08:34:32 T:123211776 M:119123968 DEBUG: Activating window ID: 12600 08:34:32 T:123211776 M:119123968 DEBUG: Checking if window ID 12600 is locked. 08:34:32 T:123211776 M:119123968 DEBUG: ------ Window Deinit (Home.xml) ------ 08:34:32 T:123211776 M:123031552 INFO: easy_aquire - Created session to http://www.google.com 08:34:33 T:177213440 M:123047936 NOTICE: self.code = USTX1060 08:34:33 T:177213440 M:123047936 NOTICE: [Weather.com+] video_location : SC Local_location : dallas 08:34:33 T:177213440 M:123047936 INFO: -->Python script returned the following error<-- 08:34:33 T:177213440 M:123047936 ERROR: Error Type: <type 'exceptions.IndexError'> 08:34:33 T:177213440 M:123047936 ERROR: Error Contents: list index out of range 08:34:33 T:177213440 M:123006976 ERROR: Traceback (most recent call last): File "/var/mobile/Library/Preferences/XBMC/addons/weather.weatherplus/default.py", line 41, in <module> Main() File "/var/mobile/Library/Preferences/XBMC/addons/weather.weatherplus/xbmcplugin_weather.py", line 79, in __init__ self._fetch_36_forecast() File "/var/mobile/Library/Preferences/XBMC/addons/weather.weatherplus/xbmcplugin_weather.py", line 289, in _fetch_36_forecast alerts, alertsrss, alertsnotify, alertscolor, alertscount, forecasts, extras, video, video_local = self.WeatherClient.fetch_36_forecast( self.WEATHER_WINDOW.getProperty( "Video" ) ) File "/var/mobile/Library/Preferences/XBMC/addons/weather.weatherplus/WeatherClient.py", line 974, in fetch_36_forecast parser = Forecast36HourParser( htmlSource, htmlSource_5, _localtime_, self.translate ) File "/var/mobile/Library/Preferences/XBMC/addons/weather.weatherplus/WeatherClient.py", line 314, in __init__ self._get_forecast( htmlSource, htmlSource_5, localtime ) File "/var/mobile/Library/Preferences/XBMC/addons/weather.weatherplus/WeatherClient.py", line 391, in _get_forecast time_diff = int(sunrise_[ 0 ].split( " " )[ 3 ][:2])-localtime IndexError: list index out of range 08:34:33 T:177213440 M:123006976 INFO: -->End of Python script error report<-- 08:34:33 T:177213440 M:123006976 INFO: Python script stopped 08:34:33 T:177213440 M:123006976 DEBUG: Thread 177213440 terminating 08:34:33 T:123211776 M:123006976 DEBUG: FileCurl::Close(0x757ec98) http://www.google.com/ 08:34:33 T:123211776 M:123006976 DEBUG: ------ Window Init (MyWeather.xml) ------ 08:34:33 T:123211776 M:123006976 INFO: Loading skin file: MyWeather.xml 08:34:37 T:123211776 M:134250496 DEBUG: ExecuteXBMCAction : Translating SetFocus(2000) 08:34:37 T:123211776 M:134250496 DEBUG: ExecuteXBMCAction : To SetFocus(2000) 08:34:37 T:123211776 M:134250496 DEBUG: ExecuteXBMCAction : Translating SetProperty(Weather.CurrentView,$LOCALIZE[31905] $LOCALIZE[31912]) 08:34:37 T:123211776 M:134250496 DEBUG: ExecuteXBMCAction : To SetProperty(Weather.CurrentView,CURRENT Conditions) 08:34:37 T:123211776 M:134250496 DEBUG: ExecuteXBMCAction : Translating SetProperty(Weather.CurrentViewMenu,$LOCALIZE[31905]) 08:34:37 T:123211776 M:134250496 DEBUG: ExecuteXBMCAction : To SetProperty(Weather.CurrentViewMenu,CURRENT) 08:34:37 T:123211776 M:134107136 DEBUG: ExecuteXBMCAction : Translating Skin.Reset(TWC.ZoomWeatherMap) 08:34:37 T:123211776 M:134107136 DEBUG: ExecuteXBMCAction : To Skin.Reset(TWC.ZoomWeatherMap) 08:34:37 T:123211776 M:134111232 DEBUG: python thread 1 destructed 08:34:37 T:123211776 M:134266880 DEBUG: ------ Window Init (DialogKaiToast.xml) ------ 08:34:37 T:181092352 M:125386752 DEBUG: DoWork - took 1423 ms to load special://masterprofile/Thumbnails/5/5a264e4f.jpg 08:34:43 T:123211776 M:118824960 DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------ 08:34:47 T:123211776 M:118960128 INFO: Python, unloading python24.dll because no scripts are running anymore 08:34:47 T:123211776 M:118960128 DEBUG: UnloadExtensionLibs, clearing python extension libraries 08:34:47 T:123211776 M:118960128 DEBUG: Unloading: python26-arm-osx.so 08:34:47 T:173187072 M:118956032 DEBUG: DoWork - took 371 ms to load special://masterprofile/Thumbnails/8/884eb145.jpg |