[RELEASE] Add-on Metadata Actors - Skin support
#66
Hi FrostBox,
I'm having this same issue (AttributeError: 'module' object has no attribute 'loads') with metadata actors script, but unfortunately changing the same code in .py files of actors addon

results in this error:

Code:
02:01:05 T:3013318416   DEBUG: ExecuteXBMCAction : Translating RunScript(script.metadata.actors,$INFO[Window(Home).Property(DirectorName)])
02:01:05 T:3013318416   DEBUG: ExecuteXBMCAction : To RunScript(script.metadata.actors,Drake Doremus)
02:01:05 T:3013318416    INFO: initializing python engine.
02:01:05 T:3013318416   DEBUG: new python thread created. id=6
02:01:05 T:2764548976   DEBUG: Thread XBPyThread start, auto delete: 0
02:01:05 T:2764548976   DEBUG: Python thread: start processing
02:01:05 T:2764548976  NOTICE: -->Python Interpreter Initialized<--
02:01:05 T:2764548976   DEBUG: Process - The source file to load is /home/xbmc/.xbmc/addons/script.metadata.actors/default.py
02:01:05 T:2764548976   DEBUG: Process - Setting the Python path to /home/xbmc/.xbmc/addons/script.metadata.actors:/home/xbmc/.xbmc/addons/script.module.simplejson/lib:/home/xbmc/.xbmc/addons/script.module.dmd-czech.common/lib:/home/xbmc/.xbmc/addons/script.module.xbmc-czech.common/lib:/home/xbmc/.xbmc/addons/script.module.myconnpy/lib:/home/xbmc/.xbmc/addons/script.module.beautifulsoup/lib:/usr/share/xbmc/addons/script.module.pil/lib:/home/xbmc/.xbmc/addons/script.common.plugin.cache/lib:/home/xbmc/.xbmc/addons/script.module.simple.downloader/lib:/home/xbmc/.xbmc/addons/script.module.parsedom/lib:/home/xbmc/.xbmc/addons/script.module.elementtree/lib:/usr/share/xbmc/addons/script.module.pysqlite/lib:/usr/lib/python2.7:/usr/lib/python2.7/plat-linux2:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/local/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages/PIL:/usr/lib/python2.7/dist-packages/gtk-2.0:/usr/lib/pymodules/python2.7:
02:01:05 T:2764548976   DEBUG: Process - Entering source directory /home/xbmc/.xbmc/addons/script.metadata.actors
02:01:05 T:2764548976   DEBUG: Instantiating addon using automatically obtained id of "script.metadata.actors" dependent on version 2.0 of the xbmc.python api
02:01:05 T:2764548976   DEBUG: JSONRPC: Incoming request: {"jsonrpc":"2.0", "id":"1", "method":"Files.GetDirectory", "params":{"directory":"videodb://1/4/", "sort":{"method":"label", "order":"ascending"}}}
02:01:05 T:2764548976   DEBUG: JSONRPC: Calling files.getdirectory
02:01:05 T:3013318416   DEBUG: Activating window ID: 10138
02:01:05 T:3013318416   DEBUG: ------ Window Init (DialogBusy.xml) ------
02:01:05 T:2764548976   DEBUG: GetPeopleNav -  query took 181 ms
02:01:05 T:3013318416   DEBUG: ------ Window Deinit (custom_DialogExtras.xml) ------
02:01:05 T:3013318416   DEBUG: ExecuteXBMCAction : Translating ClearProperty(ActorName,Home)
02:01:05 T:3013318416   DEBUG: ExecuteXBMCAction : To ClearProperty(ActorName,Home)
02:01:05 T:3013318416   DEBUG: ExecuteXBMCAction : Translating ClearProperty(DirectorName,Home)
02:01:05 T:3013318416   DEBUG: ExecuteXBMCAction : To ClearProperty(DirectorName,Home)
02:01:05 T:3013318416   DEBUG: ExecuteXBMCAction : Translating ClearProperty(WriterName,Home)
02:01:05 T:3013318416   DEBUG: ExecuteXBMCAction : To ClearProperty(WriterName,Home)
02:01:06 T:2764548976   DEBUG: GetPeopleNav item retrieval took 254 ms
02:01:07 T:2672790384   DEBUG: AddOnLog: VDR VNSI Client: SendPing
02:01:09 T:2764548976   ERROR: Traceback (most recent call last):
02:01:09 T:2764548976   ERROR:   File "/home/xbmc/.xbmc/addons/script.metadata.actors/default.py", line 20, in <module>
02:01:09 T:2873076592  NOTICE: 'TRAKT: Resetting last update timestamp'
02:01:09 T:2764548976   ERROR:     from resources.lib.dialoginfo import Main
02:01:09 T:2764548976   ERROR:   File "/home/xbmc/.xbmc/addons/script.metadata.actors/resources/lib/dialoginfo.py", line 25, in <module>
02:01:09 T:2764548976   ERROR:     ACTORS   = utils.getXBMCActors()
02:01:09 T:2764548976   ERROR:   File "/home/xbmc/.xbmc/addons/script.metadata.actors/resources/lib/utils.py", line 152, in getXBMCActors
02:01:09 T:2764548976   ERROR:     Actors += get_directory( directory ).get( "files" ) or []
02:01:09 T:2764548976   ERROR:   File "/home/xbmc/.xbmc/addons/script.metadata.actors/resources/lib/utils.py", line 136, in get_directory
02:01:09 T:2764548976   ERROR:     o_json = json.loads( json_string )
02:01:09 T:2764548976   ERROR: NameError: global name 'json' is not defined
02:01:09 T:2764548976    INFO: Scriptresult: Success
02:01:09 T:2764548976    INFO: Python script stopped
02:01:09 T:2764548976   DEBUG: Thread XBPyThread 2764548976 terminating
02:01:09 T:3013318416   DEBUG: waiting for python thread 6 to stop
02:01:09 T:3013318416   DEBUG: python thread 6 destructed

Do you have any idea how can I fix this?

Thanks Ez.
Reply


Messages In This Thread
[No subject] - by FrostBox - 2012-02-21, 21:37
[No subject] - by mad-max - 2012-02-21, 23:05
[No subject] - by fmronan - 2012-02-21, 23:30
[No subject] - by ZombieRobot - 2012-02-22, 06:04
[No subject] - by Eisi2005 - 2012-02-22, 08:01
[No subject] - by mikebzh44 - 2012-02-22, 09:42
[No subject] - by fmronan - 2012-02-22, 09:48
[No subject] - by Eisi2005 - 2012-02-22, 10:14
[No subject] - by french_chris - 2012-02-22, 15:24
[No subject] - by FrostBox - 2012-02-22, 17:08
[No subject] - by FrostBox - 2012-02-22, 17:17
[No subject] - by ezechiel1917 - 2012-02-22, 17:55
[No subject] - by krish_2k4 - 2012-02-22, 18:29
[No subject] - by FrostBox - 2012-02-22, 19:40
[No subject] - by Jeroen - 2012-02-22, 19:58
[No subject] - by FrostBox - 2012-02-22, 20:02
[No subject] - by Eisi2005 - 2012-02-22, 21:09
[No subject] - by Eisi2005 - 2012-02-22, 22:19
[No subject] - by fmronan - 2012-02-22, 22:56
[No subject] - by Eisi2005 - 2012-02-22, 23:21
[No subject] - by fmronan - 2012-02-23, 11:38
[No subject] - by Eisi2005 - 2012-02-23, 13:43
[No subject] - by Eisi2005 - 2012-02-23, 13:58
[No subject] - by fmronan - 2012-02-23, 14:18
[No subject] - by Eisi2005 - 2012-02-23, 15:04
[No subject] - by fmronan - 2012-02-23, 15:56
[No subject] - by Eisi2005 - 2012-02-23, 16:58
[No subject] - by fmronan - 2012-02-23, 17:39
[No subject] - by FrostBox - 2012-02-23, 19:17
[No subject] - by Wanilton - 2012-02-23, 19:31
[No subject] - by FrostBox - 2012-02-23, 19:41
[No subject] - by Eisi2005 - 2012-02-23, 20:54
[No subject] - by Wanilton - 2012-02-23, 21:17
[No subject] - by FrostBox - 2012-02-23, 21:31
[No subject] - by Eisi2005 - 2012-02-24, 10:22
[No subject] - by FrostBox - 2012-02-24, 18:40
[No subject] - by Eisi2005 - 2012-02-24, 19:39
[No subject] - by donabi - 2012-02-24, 20:04
[No subject] - by FrostBox - 2012-02-25, 20:01
[No subject] - by Jeroen - 2012-02-26, 10:04
[No subject] - by donabi - 2012-02-26, 17:59
[No subject] - by Wanilton - 2012-02-26, 18:47
[No subject] - by Eisi2005 - 2012-02-26, 22:40
[No subject] - by coolio99 - 2012-02-28, 17:36
[No subject] - by Mudislander - 2012-02-29, 14:56
[No subject] - by Eisi2005 - 2012-02-29, 22:08
[No subject] - by BigNoid - 2012-02-29, 22:20
[No subject] - by Eisi2005 - 2012-02-29, 23:03
[No subject] - by fmronan - 2012-02-29, 23:54
[No subject] - by Eisi2005 - 2012-03-01, 18:45
[No subject] - by Tight_wad - 2012-03-01, 21:16
[No subject] - by CutSickAss - 2012-03-01, 22:30
[No subject] - by CutSickAss - 2012-03-02, 13:43
[No subject] - by Eisi2005 - 2012-03-03, 17:36
[No subject] - by Eisi2005 - 2012-03-03, 22:12
[No subject] - by fmronan - 2012-03-03, 23:34
[No subject] - by Eisi2005 - 2012-03-04, 00:40
[No subject] - by fmronan - 2012-03-04, 00:43
[No subject] - by Eisi2005 - 2012-03-04, 14:01
[No subject] - by fmronan - 2012-03-04, 14:12
[No subject] - by Martijn - 2012-03-04, 14:20
[No subject] - by Eisi2005 - 2012-03-04, 14:27
[No subject] - by CutSickAss - 2012-03-04, 16:42
[No subject] - by fmronan - 2012-03-04, 16:46
[No subject] - by ezechiel1917 - 2012-03-10, 03:10
[No subject] - by Eisi2005 - 2012-03-10, 21:52
[No subject] - by Eisi2005 - 2012-03-11, 11:48
Metadata: Greek Translation - by CutSickAss - 2012-03-17, 20:07


Logout Mark Read Team Forum Stats Members Help
[RELEASE] Add-on Metadata Actors - Skin support3
This forum uses Lukasz Tkacz MyBB addons.