UuuNyaa / blender_mmd_tools

MMD Tools is a blender addon for importing/exporting Models and Motions of MikuMikuDance.
GNU General Public License v3.0
2.27k stars 109 forks source link

What do I do? #53

Closed Popping3dmodels closed 2 years ago

Popping3dmodels commented 2 years ago

Traceback (most recent call last): File "C:\Program Files\Blender Foundation\Blender 3.2\3.2\scripts\modules\addon_utils.py", line 314, in enable importlib.reload(mod) File "C:\Program Files\Blender Foundation\Blender 3.2\3.2\python\lib\importlib__init.py", line 169, in reload _bootstrap._exec(spec, module) File "", line 619, in _exec File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "C:\Users\micha\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\mmd_tools__init__.py", line 23, in auto_load.init() File "C:\Users\micha\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\mmd_tools\auto_load.py", line 25, in init modules = get_all_submodules(Path(file).parent) File "C:\Users\micha\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\mmd_tools\auto_load.py", line 53, in get_all_submodules return list(iter_submodules(directory, directory.name)) File "C:\Users\micha\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\mmd_tools\auto_load.py", line 57, in iter_submodules yield importlib.import_module("." + name, package_name) File "C:\Program Files\Blender Foundation\Blender 3.2\3.2\python\lib\importlib\init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "C:\Users\micha\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\mmd_tools\core\translations.py", line 10, in from mmd_tools.core.model import FnModel, Model ImportError: cannot import name 'FnModel' from 'mmd_tools.core.model' (C:\Users\micha\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\mmd_tools\core\model.py)

UuuNyaa commented 2 years ago

Perhaps the add-on version is out of date; please reinstall the latest add-on. https://mmd-blender.fandom.com/wiki/MMD_Tools#Installation

Popping3dmodels commented 2 years ago

No, it's the current version

listelin commented 2 years ago
File "C:\Users\micha\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\mmd_tools_init.py", line 23, in
auto_load.init()

I think that "mmd_tools_init.py" is not mmd_tools file. I don't know why this is happening, deleting thie file may fix this problem.

UuuNyaa commented 2 years ago

@listelin Indeed strange file exists... 🤔

@Popping3dmodels Please try reinstalling. https://mmd-blender.fandom.com/wiki/Why_can%27t_I_reinstall_the_add-ons%3F