Hello!
I recently updated to Maya 2024,mGear version: 4.2.2 and noticed this error popping up when mirroring eye controls.
Traceback (most recent call last):
File “D:\sun\xxxxxxxxxx\Tools\ArtistTools\maya\Common\mgear\scripts\mgear\rigbits\mirror_controls.py”, line 161, in mirror_button_pressed
self.func.mirror_selection()
File “D:\sun\xxxxxxxxxx\Tools\ArtistTools\maya\Common\mgear\scripts\mgear\rigbits\mirror_controls.py”, line 100, in mirror_selection
target = self.get_opposite_control(source)
File “D:\sun\xxxxxxxxxx\Tools\ArtistTools\maya\Common\mgear\scripts\mgear\rigbits\mirror_controls.py”, line 15, in get_opposite_control
side_l = node.attr(“L_custom_side_label”).get()
File “C:\Users/EmilioSerrano/Documents/maya/2024/scripts/site-packages\pymel\core\nodetypes.py”, line 4176, in attr
raise e
File “C:\Users/EmilioSerrano/Documents/maya/2024/scripts/site-packages\pymel\core\nodetypes.py”, line 4170, in attr
res = self._attr(attr, checkShape)
File “C:\Users/EmilioSerrano/Documents/maya/2024/scripts/site-packages\pymel\core\nodetypes.py”, line 965, in _attr
raise general.MayaAttributeError(’%s.%s’ % (self, attr))
pymel.core.general.MayaAttributeError: Maya Attribute does not exist (or is not unique):: ‘eye_R_over_ctl.L_custom_side_label’
I haven’t tweaked anything, just the default eye rigger setup and build. Once built it does not create the Custom Side label attributes. The normal mirroring is working as expected, it is just the mirroring control tool that fails.
I could set a postscript for adding them after building but wondering if could be easily fixed in code.
Cheers.