XBMC Community Forum
weather.wunderground plugin on ATV2 issue - 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: weather.wunderground plugin on ATV2 issue (/showthread.php?tid=116295)



weather.wunderground plugin on ATV2 issue - Jester - 2011-12-06 14:39

Seeing the recent switch for Eden to default to wundeground (nice !) I noticed an error on ATV2

23:11:40 T:111419392 ERROR: Error Contents: No module named simplejson
23:11:40 T:111419392 ERROR: Traceback (most recent call last):
File "/private/var/stash/Applications/XBMC.frappliance/XBMCData/XBMCHome/addons/weather.wunderground/default.py", line 17, in <module>
import os, sys, urllib2, base64, socket, simplejson
ImportError: No module named simplejson

this is in a recent nightly (dec. 5th), it seems ios doesn't have simeplejson for python ?
weather still seems to work, but just wanted to give the devs a headsup.

Thanks


- Martijn - 2011-12-06 15:40

Jester Wrote:Seeing the recent switch for Eden to default to wundeground (nice !) I noticed an error on ATV2

23:11:40 T:111419392 ERROR: Error Contents: No module named simplejson
23:11:40 T:111419392 ERROR: Traceback (most recent call last):
File "/private/var/stash/Applications/XBMC.frappliance/XBMCData/XBMCHome/addons/weather.wunderground/default.py", line 17, in <module>
import os, sys, urllib2, base64, socket, simplejson
ImportError: No module named simplejson

this is in a recent nightly (dec. 5th), it seems ios doesn't have simeplejson for python ?
weather still seems to work, but just wanted to give the devs a headsup.

Thanks
simplejson is an external script that needs to be install along with the add-on.

You can get the .zip from the link below.
http://mirrors.xbmc.org/addons/eden-pre/script.module.simplejson/


- Jester - 2011-12-06 17:43

bedankt,

However this should be installed already/automatically if the wunderground plugin provides the default weather on a fresh install....


- Martijn - 2011-12-06 18:39

Jester Wrote:bedankt,

However this should be installed already/automatically if the wunderground plugin provides the default weather on a fresh install....

Indeed and it should.
PHP Code:
    <addon id="weather.wunderground" name="Weather Underground" version="0.0.2" provider-name="Team XBMC">
    <
requires>
        <
import addon="xbmc.python" version="2.0"/>
        <
import addon="script.module.simplejson" version="2.0.10"/>
    </
requires

So why it wasn't is a mystery.


- Jester - 2011-12-06 18:47

Martijn Wrote:Indeed and it should.
PHP Code:
    <addon id="weather.wunderground" name="Weather Underground" version="0.0.2" provider-name="Team XBMC">
    <
requires>
        <
import addon="xbmc.python" version="2.0"/>
        <
import addon="script.module.simplejson" version="2.0.10"/>
    </
requires

So why it wasn't is a mystery.

ill get my debug boots on tonight and report back
thanks


- Jester - 2011-12-06 19:56

I'm calling it gremlins

just tried to reproduce with a fresh nightly, no issue, sorry for the fuss, closed Smile