weather.wunderground plugin on ATV2 issue

  Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Jester Offline
XBMC for iOS* forums Moderator
Posts: 1,064
Joined: Oct 2008
Reputation: 13
Post: #1
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
find quote
Martijn Offline
Team Kodi
Posts: 14,081
Joined: Jul 2011
Reputation: 203
Location: Dawn of time
Post: #2
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/...implejson/

Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
(This post was last modified: 2011-12-06 15:42 by Martijn.)
find quote
Jester Offline
XBMC for iOS* forums Moderator
Posts: 1,064
Joined: Oct 2008
Reputation: 13
Post: #3
bedankt,

However this should be installed already/automatically if the wunderground plugin provides the default weather on a fresh install....
find quote
Martijn Offline
Team Kodi
Posts: 14,081
Joined: Jul 2011
Reputation: 203
Location: Dawn of time
Post: #4
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.

Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
find quote
Jester Offline
XBMC for iOS* forums Moderator
Posts: 1,064
Joined: Oct 2008
Reputation: 13
Post: #5
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
find quote
Jester Offline
XBMC for iOS* forums Moderator
Posts: 1,064
Joined: Oct 2008
Reputation: 13
Post: #6
I'm calling it gremlins

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