I'm having problems with Character Picker - can create and use it and all is working,
but cannot load layout previously saved to a .json file.
At first try with load simply nothing happens, at second try I get:
>>> Traceback (most recent call last): File "C:/PROGRA~1/SIDEEF~1/HOUDIN~1.632/houdini/python2.7libs\charpicker\mainw idget.py", line 171, in menuActions self.loadFromJSONFile() File "C:/PROGRA~1/SIDEEF~1/HOUDIN~1.632/houdini/python2.7libs\charpicker\mainw idget.py", line 598, in loadFromJSONFile jsonString = json.JSONDecoder().decode(jsonFile) File "C:\PROGRA~1\SIDEEF~1\HOUDIN~1.632\python27\lib\json\decoder.py", line 36 5, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) TypeError: expected string or buffer
my .json file looks like this:
[ "/obj/player", [ { "Name": "Default", "Splitters": [], "Views": [ { "Background Image": null, "Buttons": [ { "Character Path": "/obj/player", "Color": "", "Controls Paths": [ "head_ctrl" ], "Default Behavior": "None", "Label": "Head", "id": "1", "x": 188, "y": 83 }, { "Character Path": "/obj/player", "Color": "", "Controls Paths": [ "hips_ctrl" ], "Default Behavior": "None", "Label": "Hips ", "id": "2", "x": 152, "y": 153 } ], "Sliders": [], "View Scale": 1, "id": 0 } ] } ] ]
Thanks for any help
M.