Closed RedAISkye closed 5 months ago
Tricky... I can't replicate the problem on a clean install of blender 4.1 on windows 11, making this somewhat hard to debug.
Only thing I can think of is if your installation of mpfb 1 ("MH Community") causes some problems. Maybe you could try to deactivate it temporarily and see if mpfb 2 installs better then?
If that does not help, I'll make a new build with some additional debugging enabled in the area where the problem arises to see if we can figure out what happens.
Only thing I can think of is if your installation of mpfb 1 ("MH Community") causes some problems. Maybe you could try to deactivate it temporarily and see if mpfb 2 installs better then?
I already removed that but the bug still persists.
I also tried to remove all generated data from the plugin and reinstall, it didn't help.
This is just me adding note to self while thinking:
The term "LOR" does not occur in the mpfb source code. This must be a class registered by something else. From the point of view of MPFB it obviously doesn't make sense to treat a broken class with this name as a terminal failure.
@RedAISkye : I've now pushed a build where the error should be logged instead of causing a terminal failure. Can you try the build with today's date from here? https://files2.makehumancommunity.org/plugins/
Also, if you can think of any other addon you might have which might define something called "LOR..." that'd be helpful info.
@RedAISkye : I've now pushed a build where the error should be logged instead of causing a terminal failure. Can you try the build with today's date from here? https://files2.makehumancommunity.org/plugins/
The plugin activated now with the following log.
addon_utils.disable: mpfb not loaded
Modules Installed (mpfb) from 'C:\\Users\\RedAISkye\\Downloads\\mpfb2-20240526.zip' into 'C:\\Users\\RedAISkye\\AppData\\Roaming\\Blender Foundation\\Blender\\4.1\\scripts\\addons'
Could not read preference mpfb_user_data
Initializing MPFB log service. Logs can be found in C:\Users\RedAISkye\AppData\Roaming\Blender Foundation\Blender\4.1\mpfb\logs
Log config does not exist. Creating empty template.
Will rewrite log config C:\Users\RedAISkye\AppData\Roaming\Blender Foundation\Blender\4.1\mpfb\config\log_levels.json
[INFO ] mpfb.init ..............................: Build info 20240526
[INFO ] services.locationservice ...............: mh_user_dir is not explicitly set but autodiscovery is disabled
[INFO ] services.locationservice ...............: Creating relevant directory: C:\Users\RedAISkye\AppData\Roaming\Blender Foundation\Blender\4.1\mpfb\data
[INFO ] services.locationservice ...............: Creating relevant directory: C:\Users\RedAISkye\AppData\Roaming\Blender Foundation\Blender\4.1\mpfb\cache
[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)ERROR (bpy.rna): C:\Users\blender\git\blender-v410\blender.git\source\blender\python\intern\bpy_rna.cc:7582 pyrna_srna_Subtype: failed to register 'LOR_UL_settings_list'
TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases
[ERROR] services.nodeservice ...................: An unexpected error occurred while listing shader classes ('LOR_UL_settings_list', RuntimeError('bpy.types.LOR_UL_settings_list subtype could not be generated, this is a bug!'))
[INFO ] mpfb.init ..............................: MPFB initialization has finished.
[INFO ] services.locationservice ...............: mh_user_data explicitly set to C:\Users\RedAISkye\Documents\makehuman\v1py3\data
Writing userprefs: "C:\Users\RedAISkye\AppData\Roaming\Blender Foundation\Blender\4.1\config\userpref.blend" ok
Info: Preferences saved
That's good to hear.
As "LOR_UL_settings_list" isn't something from MPFB, I'll consider this a good enough fix for now. At least unless you find something which is obviously broken when playing around with it.
I'll leave the issue open for a few days in case you find something which might be related.
Closing as fixed
Describe the bug I encounter a bug when trying to activate the plugin MakeHuman: mpfb.
Checklist
Screenshots / logs
Platform and versions