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

Edit Rig has no attribute layers #55

Open
ayonmollah opened this issue Sep 6, 2024 · 8 comments
Open

Edit Rig has no attribute layers #55

ayonmollah opened this issue Sep 6, 2024 · 8 comments

Comments

@ayonmollah
Copy link

Python: Traceback (most recent call last):
File "C:\Users\ariya\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\Expy-Kit-main\operators.py", line 1206, in invoke
return self.execute(context)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ariya\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\Expy-Kit-main\operators.py", line 1466, in execute
new_bone.layers[self.ret_bones_layer] = True
^^^^^^^^^^^^^^^
AttributeError: 'EditBone' object has no attribute 'layers'

@Coniix
Copy link

Coniix commented Sep 8, 2024

I've experienced similar when trying to bind to active armature and choosing To Bind: Rigify_Controls or Rigify_Controls_0_4 and Bind Target as Mixamo, as soon as I select Mixamo I'm hit with this error.

Am using Blender version 4.2.1, Expy Kit version 0.6.1 and Rigify version 0.6.10

Have been following through the workflow at 21:06 of this video https://www.youtube.com/watch?v=ars_rEC3oP8

And the exact error I get is

Python: Traceback (most recent call last):
File "C:\Users<user>\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\Expy-Kit-main\operators.py", line 1466, in execute
default='None')
^^^^
AttributeError: 'EditBone' object has no attribute 'layers'

@ayonmollah
Copy link
Author

Did you get any Fix though?

@Coniix
Copy link

Coniix commented Sep 8, 2024

Nope not yet just adding further evidence and more details to this issue

@Coniix
Copy link

Coniix commented Sep 8, 2024

Okay I found a way around my issue, basically the problem is I was using blender 4.2, I downgraded to 4.1 and that got me passed the error I was experiencing

Until/if proj is updated to support 4.2 I recommend anyone else reading this and experiencing similar problems to try installing 4.1 from Blenders archived versions

@pKrime
Copy link
Owner

pKrime commented Sep 13, 2024

Hi,

I can't reproduce this error, basically Expy Kit is running in legacy mode and it's looking for blender's 3 bone layers system. The addon checks bpy.app.version for that, I don't know why it is not registering the right version on your system. Any of you using a custom blender build? I have tested Expy Kit on windows and linux, but not Mac.

@Coniix
Copy link

Coniix commented Sep 21, 2024

I wasn't using a custom build but I just tried to recreate it myself on Blender 4.2 again and seems to be working okay now so I dunno, maybe just some weird one off thing, anyone with similar issues should just try reinstalling or something

@Hvki-tree
Copy link

Hvki-tree commented Oct 10, 2024

Hello, I encountered the same issue, and Blender prompted me with the following message.

Python: Traceback (most recent call last):
File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\Expy-Kit-main\operators.py", line 1466, in execute
new_bone.layers[self.ret_bones_layer] = True
AttributeError: 'EditBone' object has no attribute 'layers'

I am using Blender version 4.0.2, Expy Kit version 0.5.2 and Rigify version 0.6.9

@Hvki-tree
Copy link

I updated the Expy-Kit version to 0.6.1, and the issue has been resolved. Thank you for your work!

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

4 participants