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

AttributeError: module 'bpy' has no attribute 'util' #3007

Open
alexugthub opened this issue Mar 18, 2024 · 1 comment
Open

AttributeError: module 'bpy' has no attribute 'util' #3007

alexugthub opened this issue Mar 18, 2024 · 1 comment
Labels
bug This issue describes a bug

Comments

@alexugthub
Copy link

Description
After updating to 2024.2 through Itch.io, I get this error when trying to enable the addon in Blender

Exception in module register(): C:\Users\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\armory.py
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender 3.6\3.6\scripts\modules\addon_utils.py", line 369, in enable
mod.register()
File "C:\Users\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\armory.py", line 928, in register
bpy.util
AttributeError: module 'bpy' has no attribute 'util'

To Reproduce
Update from 2024.1 to 2024.2 and try to enable the addon in Blender 3.6

Expected behavior
That the addon is enabled

System
Blender: 3.6
Armory: 224.2
OS: Windows 10

@alexugthub alexugthub added the bug This issue describes a bug label Mar 18, 2024
@MoritzBrueckner
Copy link
Collaborator

MoritzBrueckner commented Mar 26, 2024

Hi, it looks like your local addon files might not be intact. Can you please compare your SDK's armory.py file with the one found here? Especially check line 928 in that file as reported by the error message.

Were there any errors while performing the update?

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

No branches or pull requests

2 participants