-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't enable the tool in Blender 4.1 #153
Comments
我不知道,但是我在使用3.0.0版本时也遇到此问题。 |
I can confirm this problem on Kubuntu 23.10 (yes, I need to upgrade), using Blender 4.1.1 and the latest mmd_tools 4.1 release. Traceback (most recent call last): |
same |
Same, happens with both version 4.0.0 and 4.1.0
|
Blender: 4.1
mmd_tools: v4.1.0
OS: Window 11
First time using this tool. I can't enable the mmd tool in blender.
![1](https://private-user-images.githubusercontent.com/165877456/329162557-7975cc59-6019-4372-8dc5-e2e117e5e4d9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQxMzI4OTcsIm5iZiI6MTcyNDEzMjU5NywicGF0aCI6Ii8xNjU4Nzc0NTYvMzI5MTYyNTU3LTc5NzVjYzU5LTYwMTktNDM3Mi04ZGM1LWUyZTExN2U1ZTRkOS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODIwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyMFQwNTQzMTdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04YWNhY2JlZmY5OTcyNzliY2Y5MzE5ZmRmYTM1NTU0ZjE4YWY1Njg0ZGQ0ODIyZTZmNDJhZDgyYTFhYTc2NGY2JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.Zvez4jZqP1T-Ol00VFhQSGKtUKLKMv3ngX3ft8u5sbI)
If I try to enable it, it will pop up this the preference window. Not sure what happen T^T
![2](https://private-user-images.githubusercontent.com/165877456/329162567-4beb60ef-384a-415c-8d28-270e7111c67b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQxMzI4OTcsIm5iZiI6MTcyNDEzMjU5NywicGF0aCI6Ii8xNjU4Nzc0NTYvMzI5MTYyNTY3LTRiZWI2MGVmLTM4NGEtNDE1Yy04ZDI4LTI3MGU3MTExYzY3Yi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODIwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyMFQwNTQzMTdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0xYzEwZTg5YzQ5OGU4MjhkZjk3MDVlMTZmMGQwZTBlNDc0YmI1ZDMxOGEyYTU4YzY2OGVhMzJkZDUyMzI2ODEwJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.DA93IytSOWL_Wne3JQRZUeBQeMqKXy-Z9wYhEk-QkF8)
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender 4.1\4.1\scripts\modules\addon_utils.py", line 353, in enable
importlib.reload(mod)
File "C:\Program Files\Blender Foundation\Blender 4.1\4.1\python\Lib\importlib_init_.py", line 169, in reload
_bootstrap._exec(spec, module)
File "", line 621, in exec
File "", line 940, in exec_module
File "", line 241, in call_with_frames_removed
File "C:\Users\favou\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\mmd_tools_init.py", line 22, in
auto_load.init()
File "C:\Users\favou\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\mmd_tools\auto_load.py", line 25, in init
modules = get_all_submodules(Path(file).parent)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\favou\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\mmd_tools\auto_load.py", line 53, in get_all_submodules
return list(iter_submodules(directory, directory.name))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\favou\AppData\Roaming\Blender Foundation\Blender\4.1\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 4.1\4.1\python\Lib\importlib_init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "C:\Users\favou\AppData\Roaming\Blender Foundation\Blender\4.1\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\favou\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\mmd_tools\core\model.py)
The text was updated successfully, but these errors were encountered: