Home Website Youtube GitHub

Component base directory not found for chain_FK

Maya 2023
Mgear 4.09

Mgear version set in Maya .env and not per drag and drop install

I am getting an error when building from selection

GEAR version : 4.0.9

= SHIFTER RIG SYSTEM ==============================================

= GUIDE VALIDATION ==============================================
Checking guide
Get options
Get controllers
Get components
global_C0 (EPIC_control_01)
local_C0 (control_01)
body_C0 (control_01)
spine_C0 (EPIC_spine_01)
shoulder_L0 (EPIC_shoulder_01)
arm_L0 (EPIC_arm_01)
thumb_L0 (EPIC_chain_01)
meta_L0 (meta_01)
finger_L3 (EPIC_chain_01)
finger_L2 (EPIC_chain_01)
finger_L1 (EPIC_chain_01)
finger_L0 (EPIC_chain_01)
neck_C0 (EPIC_neck_01)
ear_L0 (EPIC_chain_01)
ear_R0 (EPIC_chain_01)
shoulder_R0 (EPIC_shoulder_01)
arm_R0 (EPIC_arm_01)
thumb_R0 (EPIC_chain_01)
meta_R0 (meta_01)
finger_R3 (EPIC_chain_01)
finger_R2 (EPIC_chain_01)
finger_R1 (EPIC_chain_01)
finger_R0 (EPIC_chain_01)
leg_L0 (leg_3jnt_01)
foot_L0 (EPIC_foot_01)
= GEAR RIG SYSTEM ======component base directory not found  for chain_FK
# Traceback (most recent call last):
#   File "P:\3D related\scripts\Rigging\MGEAR\Mgear409\release\scripts\mgear\core\utils.py", line 156, in importFromStandardOrCustomDirectories
#     module = __import__(module_name, globals(), locals(), ["*"], level)
# ModuleNotFoundError: No module named 'mgear.core.shifter'
# # 
# During handling of the above exception, another exception occurred:

# Traceback (most recent call last):
#   File "P:\3D related\scripts\Rigging\MGEAR\Mgear409\release\scripts\mgear\shifter\guide_manager.py", line 64, in build_from_selection
#     rg.buildFromSelection()
#   File "P:\3D related\scripts\Rigging\MGEAR\Mgear409\release\scripts\mgear\shifter\__init__.py", line 230, in buildFromSelection
#     self.guide.setFromSelection()
#   File "P:\3D related\scripts\Rigging\MGEAR\Mgear409\release\scripts\mgear\shifter\guide.py", line 447, in setFromSelection
#     self.setFromHierarchy(node, node.hasAttr("ismodel"))
#   File "P:\3D related\scripts\Rigging\MGEAR\Mgear409\release\scripts\mgear\shifter\guide.py", line 487, in setFromHierarchy
#     self.findComponentRecursive(root, branch)
#   File "P:\3D related\scripts\Rigging\MGEAR\Mgear409\release\scripts\mgear\shifter\guide.py", line 668, in findComponentRecursive
#     self.findComponentRecursive(child)
#   File "P:\3D related\scripts\Rigging\MGEAR\Mgear409\release\scripts\mgear\shifter\guide.py", line 668, in findComponentRecursive
#     self.findComponentRecursive(child)
#   File "P:\3D related\scripts\Rigging\MGEAR\Mgear409\release\scripts\mgear\shifter\guide.py", line 668, in findComponentRecursive
#     self.findComponentRecursive(child)
#   [Previous line repeated 2 more times]
#   File "P:\3D related\scripts\Rigging\MGEAR\Mgear409\release\scripts\mgear\shifter\guide.py", line 655, in findComponentRecursive
#     comp_guide = self.getComponentGuide(comp_type)
#   File "P:\3D related\scripts\Rigging\MGEAR\Mgear409\release\scripts\mgear\shifter\guide.py", line 693, in getComponentGuide
#     module = shifter.importComponentGuide(comp_type)
#   File "P:\3D related\scripts\Rigging\MGEAR\Mgear409\release\scripts\mgear\shifter\__init__.py", line 97, in importComponentGuide
#     module = mgear.core.utils.importFromStandardOrCustomDirectories(
#   File "P:\3D related\scripts\Rigging\MGEAR\Mgear409\release\scripts\mgear\core\utils.py", line 161, in importFromStandardOrCustomDirectories
#     if pm.dirmap(cd=moduleBasePath) not in sys.path:
#   File "C:\Program Files\Autodesk\Maya2023\Python\lib\site-packages\pymel\internal\pmcmds.py", line 217, in dirmap_wrapped
#     res = new_cmd(*new_args, **new_kwargs)
# RuntimeError: Maya command error
// Performing AutoSave at 2024/01/12 14:33:48:
//    master file:    G:/Projects/2023/Sharon/Maya/scenes/RingGirl_06.ma
//    AutoSave file: G:/Projects/2023/Sharon/Maya/autosave/RingGirl_06.0001.ma