MPFB2 error when enabling the add-on in Blender

Discussions about MakeHuman, Blender and MPFB. It is ok to ask for general Blender support here, even if it isn't directly related to MakeHuman

MPFB2 error when enabling the add-on in Blender

Postby Grrvvpp23 » Fri May 19, 2023 10:35 am

Hello!

I hope I'm posting at the right place, as I've been trying to find a solution to this error but I couldn't find it. If not please let me know where could I share this!
I am trying to enable the add-on in Blender, but after installing the package correctly (made sure it was the latest release), I get a Python error when I click the tick to enable the add-on.
I didn't do anything special, I first added the MakeHuman add-ons in Blender without a problem and all working fine, then I found out about MPFB2, installed it and when enabling it I got this error:


[INFO ] mpfb.init ..............................: Build info 20230518
[INFO ] services.locationservice ...............: mh_user_dir is not explicitly set but autodiscovery is disabled
[INFO ] services.uiservice .....................: Rebuilding the list of available importer presets (for presets panel)
[INFO ] services.uiservice .....................: Rebuilding the list of available importer presets (for importer panel)Exception in module register(): C:\Users\User1\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\mpfb\__init__.py
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender 3.4\3.4\scripts\modules\addon_utils.py", line 369, in enable
mod.register()
File "C:\Users\User1\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\mpfb\__init__.py", line 113, in register
import mpfb.ui
File "C:\Users\User1\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\mpfb\ui\__init__.py", line 17, in <module>
from mpfb.ui.newhuman import *
File "C:\Users\User1\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\mpfb\ui\newhuman\__init__.py", line 11, in <module>
from .frompresetspanel import MPFB_PT_From_Presets_Panel
File "C:\Users\User1\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\mpfb\ui\newhuman\frompresetspanel.py", line 15, in <module>
PRESETS_HUMAN_PROPERTIES = SceneConfigSet.from_definitions_in_json_directory(PRESETS_HUMAN_PROPERTIES_DIR, prefix="FPR_")
File "C:\Users\User1\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\mpfb\services\sceneconfigset.py", line 23, in from_definitions_in_json_directory
known_properties = BlenderConfigSet.get_definitions_in_json_directory(properties_dir)
File "C:\Users\User1\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\mpfb\services\blenderconfigset.py", line 40, in get_definitions_in_json_directory
data = json.load(json_file)
File "C:\Program Files\Blender Foundation\Blender 3.4\3.4\python\lib\json\__init__.py", line 293, in load
return loads(fp.read(),
File "C:\Program Files\Blender Foundation\Blender 3.4\3.4\python\lib\json\__init__.py", line 346, in loads
return _default_decoder.decode(s)
File "C:\Program Files\Blender Foundation\Blender 3.4\3.4\python\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Program Files\Blender Foundation\Blender 3.4\3.4\python\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 12 column 5 (char 685)



I even tried to delete other MakeHuman packages but that didn't change the outcome. Can somebody help me with this problem?

Thanks in advance!
Grrvvpp23
 
Posts: 3
Joined: Fri May 19, 2023 10:13 am

Re: MPFB2 error when enabling the add-on in Blender

Postby delwynedna » Tue Oct 10, 2023 4:42 am

The error message suggests that there is an issue with parsing a JSON file. This could be related to a corrupted or incorrectly formatted JSON fileSnow Rider 3D.
delwynedna
 
Posts: 5
Joined: Mon Sep 18, 2023 4:34 am


Return to Blender and MPFB

Who is online

Users browsing this forum: No registered users and 1 guest