Skip to content
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

Something wrong when enabling the addon by clicking on the checkbox #21

Open
ghost opened this issue May 20, 2023 · 0 comments
Open

Something wrong when enabling the addon by clicking on the checkbox #21

ghost opened this issue May 20, 2023 · 0 comments

Comments

@ghost
Copy link

ghost commented May 20, 2023

When I try to click on the checkbox, there is an error: TypeError: user_resource() takes 1 positional argument but 2 were given

Traceback (most recent call last):
File "c:\Users\ASUS\OneDrive - 中山大学\桌面\blender-3.3.1-windows-x64\3.3\scripts\modules\addon_utils.py", line 333, in enable
mod = import(module_name)
File "C:\Users\ASUS\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\code_autocomplete-master_init_.py", line 45, in
modules = developer_utils.setup_addon_modules(path, name, "bpy" in locals())
File "C:\Users\ASUS\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\code_autocomplete-master\developer_utils.py", line 39, in setup_addon_modules
modules = import_submodules(names)
File "C:\Users\ASUS\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\code_autocomplete-master\developer_utils.py", line 30, in import_submodules
modules.append(importlib.import_module("." + name, package_name))
File "c:\Users\ASUS\OneDrive - 中山大学\桌面\blender-3.3.1-windows-x64\3.3\python\lib\importlib_init_.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "C:\Users\ASUS\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\code_autocomplete-master\addon_development\addon_selection.py", line 5, in
from . utils import (get_directory_names,
File "C:\Users\ASUS\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\code_autocomplete-master\addon_development\utils.py", line 4, in
addons_path = bpy.utils.user_resource("SCRIPTS", "addons")
TypeError: user_resource() takes 1 positional argument but 2 were given

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants