weather.wunderground plugin on ATV2 issue

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Jester Offline
XBMC for iOS* forums Moderator
Posts: 980
Joined: Oct 2008
Reputation: 10
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

Current XBMC Platform: ATV2
Extra XBMC Platform: Raspberry Pi
Read the iOS FAQ
find quote
Martijn Offline
Team Kodi
Posts: 11,883
Joined: Jul 2011
Reputation: 170
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/

Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first

For your mediacenter artwork go to
[Image: fanarttv.png]
(This post was last modified: 2011-12-06 15:42 by Martijn.)
find quote
Jester Offline
XBMC for iOS* forums Moderator
Posts: 980
Joined: Oct 2008
Reputation: 10
Post: #3
bedankt,

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

Current XBMC Platform: ATV2
Extra XBMC Platform: Raspberry Pi
Read the iOS FAQ
find quote
Martijn Offline
Team Kodi
Posts: 11,883
Joined: Jul 2011
Reputation: 170
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.

Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first

For your mediacenter artwork go to
[Image: fanarttv.png]
find quote
Jester Offline
XBMC for iOS* forums Moderator
Posts: 980
Joined: Oct 2008
Reputation: 10
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

Current XBMC Platform: ATV2
Extra XBMC Platform: Raspberry Pi
Read the iOS FAQ
find quote
Jester Offline
XBMC for iOS* forums Moderator
Posts: 980
Joined: Oct 2008
Reputation: 10
Post: #6
I'm calling it gremlins

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

Current XBMC Platform: ATV2
Extra XBMC Platform: Raspberry Pi
Read the iOS FAQ
find quote