2011-09-11, 11:13
haywire Wrote:Anyone able to shed some light on an issue im experiencing.
when i run the script i get a 'script failed' error
the debug log shows the following, ive seen a few other people post issues with the exact same errors but i havent seen any solutions. any ideas how to fix this?
23:55:19 T:2895952752 M:2951340032 NOTICE: -->Python Interpreter Initialized<--
23:55:21 T:2895952752 M:2950189056 ERROR: Error Type: exceptions.ImportError
23:55:21 T:2895952752 M:2950189056 ERROR: Error Contents: No module named json
23:55:21 T:2895952752 M:2950189056 ERROR: Traceback (most recent call last):
File "/home/xbmc/.xbmc/addons/plugin.video.youtube/default.py", line 45, in ?
import YouTubeLogin as login
File "/home/xbmc/.xbmc/addons/plugin.video.youtube/YouTubeLogin.py", line 25, in ?
import YouTubeCore
File "/home/xbmc/.xbmc/addons/plugin.video.youtube/YouTubeCore.py", line 19, in ?
import sys, urllib, urllib2, re, time, socket, cookielib, json
ImportError: No module named json
23:55:21 T:3079034752 M:2950189056 ERROR: GetDirectory - Error getting plugin://plugin.video.youtube/
23:55:21 T:3079034752 M:2950189056 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/) failed
Hi haywire, it's a missing dependency in our addon.xml file, it should only happen if you're running nightlies. In that case you can download the latest version 2.6.3 from our website or if you're more patient you can wait until the pull request we've submitted goes through.