Hi there,
Just had an issue with updating mgear from maya 2020 to maya 2023, namely the custom shifter components that Chris Lesage shared a few years ago, they were returning an error when loading the shifter guide manager:
# Warning: spine_horizontal_01 can't be load. Error at import
# Error: No module named 'settingsUI'
# Error: Traceback (most recent call last):
# File "C:\Users\Anjoo\Documents\maya\modules\scripts\mgear\core\utils.py", line 156, in importFromStandardOrCustomDirectories
# module = __import__(module_name, globals(), locals(), ["*"], level)
# ModuleNotFoundError: No module named 'mgear.core.shifter'
I think I fixed it by going into the guide.py file in each custom componentās folder:
C:\Users\Me\Documents\maya\modules\scripts\mgearCustomModules\spine_horizontal_01\guide.py
and just changed:
import settingsUI as sui
to
from . import settingsUI as sui
Everything seems to be fine so far