Closed radman-x closed 1 year ago
BTW, HG v4 beta 1 does not have this error
Did you download the source code directly or the release zip? I think this issue comes from Blender adapting the name of the folder that was zipped as the module name. When I zip the add-on I make sure the folder is named HumGen3D. It's possible that there is a trick in Python to rename the module, I will have a look at that.
Downloaded from GitHub release tags - v4.beta.4. I see you have some newer betas, will try those on Monday.
This is fixed with Blender 3.4 + HG v4.beta.6.
Describe the bug When activating the HG V4 Beta 4 add-on, get a python error.
To Reproduce Steps to reproduce the behavior:
Read prefs: C:\Users\Bruce A. Rady\AppData\Roaming\Blender Foundation\Blender\3.4\config\userpref.blend Reloading external rigs... Reloading external metarigs... HG_INFO: Activating HumGen, version (4, 0, 1) HG_WARNING: Could not remove F:\Blender3Data\HumanGeneratorFiles\content_packs\Base_Clothes.json [WinError 2] The system cannot find the file specified: 'F:\Blender3Data\HumanGeneratorFiles\content_packs\Base_Clothes.json' HG_WARNING: Could not remove F:\Blender3Data\HumanGeneratorFiles\content_packs\Base_Hair.json [WinError 2] The system cannot find the file specified: 'F:\Blender3Data\HumanGeneratorFiles\content_packs\Base_Hair.json' HG_WARNING: Could not remove F:\Blender3Data\HumanGeneratorFiles\content_packs\Base_Humans.json [WinError 2] The system cannot find the file specified: 'F:\Blender3Data\HumanGeneratorFiles\content_packs\Base_Humans.json' addon_utils.disable: HumGen3D not loaded addon_utils.disable: HumGen3D-4.beta.4 not disabled Modules Installed (HumGen3D-4.beta.4) from 'F:\Installers\HumanGenerator_Blender_Install_Files\HumGen3D-4.beta.4.zip' into 'C:\Users\Bruce A. Rady\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons' Traceback (most recent call last): File "H:\Program Files\Blender Foundation\3.4\scripts\modules\addon_utils.py", line 333, in enable mod = import(module_name) ModuleNotFoundError: No module named 'HumGen3D-4'
Info: Deleted 1 object(s)
Screenshots
Desktop (please complete the following information):