Kodi Community Forum
New XBMC 13.2 and Weather Underground Add-on showing BROKEN - 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: New XBMC 13.2 and Weather Underground Add-on showing BROKEN (/showthread.php?tid=206544)

Pages: 1 2 3 4 5 6 7


RE: Fix for Weather Underground add-on. - wgstarks - 2014-10-21

Yeah. I restored from a backup and fixed the error. Still get the popup window asking me to disable the addon and of course the addon is still labeled as broken. Still not sure how everyone else has fixed this? Every download link I've been able to find for this addon gives me a 404 error.


RE: Fix for Weather Underground add-on. - gremlin190 - 2014-10-21

Search for weather.wunderground-3.0.8.zip

mod: link removed

GEAUX TIGERS Wink


RE: Fix for Weather Underground add-on. - ronie - 2014-10-21

(2014-10-21, 16:20)gremlin190 Wrote: Search for weather.wunderground-3.0.8.zip

GEAUX TIGERS Wink

please do not distribute modified versions of this addon under the 'Team-XBMC' name.
these changes have not been approved by us and we will not be held responsible for any abuse caused by this addon.

if you want to take full responsibility, then please add your name instead of ours in the addon.xml file.
also change the source and forum links so they don't point to the original locations anymore.


RE: Fix for Weather Underground add-on. - wgstarks - 2014-10-21

(2014-10-21, 16:20)gremlin190 Wrote: Search for weather.wunderground-3.0.8.zip

mod: link removed

GEAUX TIGERS Wink

Thanks


RE: Fix for Weather Underground add-on. - gremlin190 - 2014-10-21

(2014-10-21, 17:04)ronie Wrote:
(2014-10-21, 16:20)gremlin190 Wrote: Search for weather.wunderground-3.0.8.zip

GEAUX TIGERS Wink

please do not distribute modified versions of this addon under the 'Team-XBMC' name.
these changes have not been approved by us and we will not be held responsible for any abuse caused by this addon.

if you want to take full responsibility, then please add your name instead of ours in the addon.xml file.
also change the source and forum links so they don't point to the original locations anymore.

That link was to what I thought was a mirror for the software. I personally never modded anything in that package. Sorry that I broke the rules Confused


RE: New XBMC 13.2 and Weather Underground Add-on showing BROKEN - Edworld - 2014-10-22

Thanks CW-kid!


RE: Fix for Weather Underground add-on. - ronie - 2014-10-22

(2014-10-21, 22:09)gremlin190 Wrote: That link was to what I thought was a mirror for the software. I personally never modded anything in that package. Sorry that I broke the rules Confused

no problem, no worries ;-)


RE: Fix for Weather Underground add-on. - skepti - 2014-10-22

THX works again Smile


RE: New XBMC 13.2 and Weather Underground Add-on showing BROKEN - enviro8 - 2014-10-23

Thanks CW-kid also.

Tried alternative such as OzWeather and Yahoo Weather but could not get "Location" to stick.


RE: New XBMC 13.2 and Weather Underground Add-on showing BROKEN - wellen1981 - 2014-10-25

Hi, what is wrong with weatherunderground add-on specifically or what changed for it to break?

Can it be possibly fixed ie is it fixable problem as i realise some/most addons are open source and will anyone else make effort to fix it for user as if it can be fixed i will look at if it is fixable problem - unless some other kind soul is willing to try and fix it sooner.


RE: New XBMC 13.2 and Weather Underground Add-on showing BROKEN - Kirky99 - 2014-10-25

The API key used for XBMC (guessing it was part of the sponsorship deal) was disabled. The official plug in was not designed to allow user entered API keys. There is nothing wrong with the add on if you put in a valid API key, I'm using it right now on all my boxes. You need to edit some of the files however and you'll still be nagged that it's broken.


RE: New XBMC 13.2 and Weather Underground Add-on showing BROKEN - indijones - 2014-10-28

I reinstalled XBMC & found out that weather undergorund is gone for good. Is there any way I could download the weather underground add-on & then add my api key? Thanks!


How to get it working again - cypherpunks - 2014-11-01

Before I go into the details of editing the code, note that cw-kid's suggestion to get the fork (go to github, click the "download zip file" link, then from XBMC, install add-on from that zip file) is easier. I don't know what didn't work for some people; it worked fine for me.

You do have to go into the settings, enable it, and enter a weather underground API key, available from here, in the clearly labelled field.

To add your own Weather Underground API key to the old add-on, you edit the file
Code:
c:\Users\%USERNAME%\AppData\Roaming\XBMC\addons\weather.wunderground\resources\lib\wunderground.py
(you can also hit Win+R and enter
Code:
%APPDATA%\XBMC\addons\weather.wunderground\resources\lib\wunderground.py
). Note that this has Unix (LF only) line endings, so simple Windows editors like notepad may display it messed up.

There's a variable in there
Code:
WAIK = 'NDEzNjBkMjFkZjFhMzczNg=='
This is an obfuscated form of the XBMC API key. The WAIK is decoded with
Code:
base64.b64decode(WAIK)[::-1]
, which base64 decodes it to "6373a1fd12d06314", then reverses it to the actual XBMC API key "6373a1fd12d06314" (which has stopped working).

Anyway, I replaced that with a new variable
Code:
WUID = "0000000000000000"
and edited the urrl= line to use the WUID variable directly rather than decoding WAIK:
Code:
url = WUNDERGROUND_URL % (WUID, features, settings, query, fmt)
Replace the zeros with your choice of API key, obviously.

You can try using my API key (log in to wunderground as "random@mailinator.com", password "random", then go to http://www.wunderground.com/weather/api/d/edit.html to find it) or create your own.


RE: Fix for Weather Underground add-on. - cypherpunks - 2014-11-01

(2014-10-21, 04:10)wgstarks Wrote:
Code:
url = WUNDERGROUND_URL % (WAIK), features, settings, query, fmt)

There's your problem: mismatched parentheses. There should be no closing paren after WAIK, i.e. it should read
Code:
url = WUNDERGROUND_URL % (WAIK, features, settings, query, fmt)

However, even easier is to find this fork at github, click the download zip link, and enter the API key in the settings dialog.


RE: Fix for Weather Underground add-on. - jmh2002 - 2014-11-01

The forked version from github gives me a 'dependencies not met' error when i try to install it. Any thoughts, or does this only work on the very latest version of kodi? (I'm still running XBMC 12.2 for the moment)