When I try to use the MH plugin for Blender it fails and spews. Spew follows.
- Code: Select all
Read prefs: /home/peter/.config/blender/2.81/config/userpref.blend
found bundled python: /home/peter/apps/blender-2.81-linux-glibc217-x86_64/2.81/python
Loading MH community plug-in v 0.6.2
Loading sync plug-in
sync plug-in loaded
Loading kinect Sensor plug-in
kinect Sensor plug-in loaded
MH community plug-in load complete
/home/peter/.config/blender/2.81/makehuman.default.settings.json
Registered Carver
register
Traceback (most recent call last):
File "/home/peter/.config/blender/2.81/scripts/addons/NodeCustomBuilder/__init__.py", line 259, in execute
material = bpy.context.object.active_material
AttributeError: 'NoneType' object has no attribute 'active_material'
location: /home/peter/apps/blender-2.81-linux-glibc217-x86_64/2.81/scripts/modules/bpy/ops.py:201
location: /home/peter/apps/blender-2.81-linux-glibc217-x86_64/2.81/scripts/modules/bpy/ops.py:201
Error: Traceback (most recent call last):
File "/home/peter/.config/blender/2.81/scripts/addons/NodeCustomBuilder/__init__.py", line 259, in execute
material = bpy.context.object.active_material
AttributeError: 'NoneType' object has no attribute 'active_material'
location: /home/peter/apps/blender-2.81-linux-glibc217-x86_64/2.81/scripts/modules/bpy/ops.py:201
Traceback (most recent call last):
File "/home/peter/.config/blender/2.81/scripts/addons/NodeCustomBuilder/__init__.py", line 68, in handler
bpy.ops.custom.blend_select()
File "/home/peter/apps/blender-2.81-linux-glibc217-x86_64/2.81/scripts/modules/bpy/ops.py", line 201, in __call__
ret = op_call(self.idname_py(), None, kw)
RuntimeError: Error: Traceback (most recent call last):
File "/home/peter/.config/blender/2.81/scripts/addons/NodeCustomBuilder/__init__.py", line 259, in execute
material = bpy.context.object.active_material
AttributeError: 'NoneType' object has no attribute 'active_material'
location: /home/peter/apps/blender-2.81-linux-glibc217-x86_64/2.81/scripts/modules/bpy/ops.py:201
Traceback (most recent call last):
File "/home/peter/.config/blender/2.81/scripts/addons/NodeCustomBuilder/__init__.py", line 259, in execute
material = bpy.context.object.active_material
AttributeError: 'NoneType' object has no attribute 'active_material'
location: /home/peter/apps/blender-2.81-linux-glibc217-x86_64/2.81/scripts/modules/bpy/ops.py:201
location: /home/peter/apps/blender-2.81-linux-glibc217-x86_64/2.81/scripts/modules/bpy/ops.py:201
Error: Traceback (most recent call last):
File "/home/peter/.config/blender/2.81/scripts/addons/NodeCustomBuilder/__init__.py", line 259, in execute
material = bpy.context.object.active_material
AttributeError: 'NoneType' object has no attribute 'active_material'
location: /home/peter/apps/blender-2.81-linux-glibc217-x86_64/2.81/scripts/modules/bpy/ops.py:201
Traceback (most recent call last):
File "/home/peter/.config/blender/2.81/scripts/addons/NodeCustomBuilder/__init__.py", line 73, in init_handler
bpy.ops.custom.blend_select()
File "/home/peter/apps/blender-2.81-linux-glibc217-x86_64/2.81/scripts/modules/bpy/ops.py", line 201, in __call__
ret = op_call(self.idname_py(), None, kw)
RuntimeError: Error: Traceback (most recent call last):
File "/home/peter/.config/blender/2.81/scripts/addons/NodeCustomBuilder/__init__.py", line 259, in execute
material = bpy.context.object.active_material
AttributeError: 'NoneType' object has no attribute 'active_material'
location: /home/peter/apps/blender-2.81-linux-glibc217-x86_64/2.81/scripts/modules/bpy/ops.py:201
Import body
Traceback (most recent call last):
File "/home/peter/.config/blender/2.81/scripts/addons/MH_Community/operators/bodyimport.py", line 14, in execute
ImportBodyBinary()
File "/home/peter/.config/blender/2.81/scripts/addons/MH_Community/mh_sync/import_body_binary.py", line 84, in __init__
FetchServerData('getBodyMeshInfo', self.gotBodyInfo)
File "/home/peter/.config/blender/2.81/scripts/addons/MH_Community/mh_sync/fetch_server_data.py", line 8, in __init__
self.executeJsonCall(expectBinaryResponse=expectBinary, params=params)
File "/home/peter/.config/blender/2.81/scripts/addons/MH_Community/mh_sync/sync_ops.py", line 17, in executeJsonCall
json_obj = self.call.send(host=bpy.context.scene.MhHost, port=bpy.context.scene.MhPort, expectBinaryResponse=expectBinaryResponse)
File "/home/peter/.config/blender/2.81/scripts/addons/MH_Community/mh_sync/JsonCall.py", line 224, in send
data = JsonCall(data)
File "/home/peter/.config/blender/2.81/scripts/addons/MH_Community/mh_sync/JsonCall.py", line 31, in __init__
self.initializeFromJson(jsonData)
File "/home/peter/.config/blender/2.81/scripts/addons/MH_Community/mh_sync/JsonCall.py", line 43, in initializeFromJson
j = json.loads(jsonData)
File "/home/peter/apps/blender-2.81-linux-glibc217-x86_64/2.81/python/lib/python3.7/json/__init__.py", line 348, in loads
return _default_decoder.decode(s)
File "/home/peter/apps/blender-2.81-linux-glibc217-x86_64/2.81/python/lib/python3.7/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/home/peter/apps/blender-2.81-linux-glibc217-x86_64/2.81/python/lib/python3.7/json/decoder.py", line 353, in raw_decode
obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Invalid control character at: line 8 column 16 (char 95)
location: <unknown location>:-1
location: <unknown location>:-1
I had thought the problem might be the glottal stop in her name so I took it out and resaved her. Still the plugin doesn't like this model for some reason. Can't understand why she's a nice girl... maybe not one you'd bring home to momma but a nice girl none-the-less.