Youtube not working - missing json
#1
The Youtube add-on is not working for me on Ubuntu 11.10. From the log it appears that it can't find the json module. apt-get install python-json shows it's not available, and python-simplejson is installed. Here's the log:

Code:
01:58:50 T:139882685576960 M:7718219776 WARNING: Create - Unsupported protocol(script) in script://
01:58:51 T:139882889639680 M:7726108672  NOTICE: -->Python Interpreter Initialized<--
01:58:51 T:139882889639680 M:7725076480   ERROR: Error Type: exceptions.ImportError
01:58:51 T:139882889639680 M:7725076480   ERROR: Error Contents: No module named json
01:58:51 T:139882889639680 M:7725076480   ERROR: Traceback (most recent call last):
                                              File "/home/keith/.xbmc/addons/plugin.video.youtube/default.py", line 45, in ?
                                                import YouTubeLogin as login
                                              File "/home/keith/.xbmc/addons/plugin.video.youtube/YouTubeLogin.py", line 19, in ?
                                                import sys, urllib, urllib2, re, socket, json, cookielib
                                            ImportError: No module named json
01:58:51 T:139883240540192 M:7725076480   ERROR: GetDirectory - Error getting plugin://plugin.video.youtube/
01:58:51 T:139883240540192 M:7725076480   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/) failed
01:58:51 T:139882685576960 M:7725076480 WARNING: Create - Unsupported protocol(script) in script://
01:59:52 T:139882939365120 M:7726059520  NOTICE: ES: Client  from 192.168.0.227 timed out
Reply
#2
After looking further into my python directories I've found that in /usr/lib/python2.7 there is a json directory containing several files, but no json.pyc or json.py files. Is this normal? I've installed additional json related python packages, but that hasn't changed anything.
Reply

Logout Mark Read Team Forum Stats Members Help
Youtube not working - missing json0