Home Youtube GitHub

Biped template not working


#1

Hello, i’m a first time user.
On a fresh install of mgear i get this error when i try to create a bipad template:

\scripts\mgear\core\utils.py line 223: Unable to create/find dependency node.

it gets stuck on 10% at “spine_C0”

am i doing something wrong?

Thanks


#2

Hi Calle,

Can you please post more information? That error message you posted is not enough. Is there any more to the error? Post the entire error message. Not just the line you guessed caused the problem.

What version of Maya? What version of mGear? How did you install mGear?

What actual commands are you running when you see this error? Are you clicking a menu item? Which one?


#3

Hello,
Right, so its the latest one, “mgear_3.0.4” and i use maya2018, I put the files from the rar file in mgear folder in the maya script folder,i then copy the module file to my module folder:
C:\Users\Calle\Documents\maya\modules

And inserted the path of where the mgear folder is:
+ MAYAVERSION:2018 PLATFORM:win64 mGear 3.0 ./platforms/2018/windows/x64
**scripts: **
C:/Users/Calle/Documents/maya/scripts/mgear/scripts
I also made sure the enviroment file had the path to the module folder like the installation video instructed me to do:
MAYA_MODULE_PATH=C:/Users/Calle/Documents/maya/modules

Here is the full script message from opeing maya to the last line after i press “biped template” in the menu, mgear>Shifter>Guide Template Samples>Biped Template:

file -f -new;
**// Warning: file: C:/Program Files/Autodesk/Maya2018/scripts/startup/rememberViewportSettings.mel line 29: Active stereo does not work with Aero enabled. Active stereo has been disabled. // **
**// untitled // **
commandPort -securityWarning -name commandportDefault;
onSetCurrentLayout “Maya Classic”;
**# pymel.core : Updating pymel with pre-loaded plugins: deformerEvaluator, GPUBuiltInDeformer, renderSetup # **
**# Error: You need the mgear_solvers plugin! # **
// Initializing V-Ray for Maya
** // **
evalDeferred “shaderBallRendererMenuUpdate”;
VRayVolumeGridInit();
**// Warning: file: C:\Users\Calle\Documents\maya\2018\prefs\filePathEditorRegistryPrefs.mel line 4: filePathEditor: Attribute ‘aiImage.filename’ is invalid or is not designated ‘usedAsFilename’. // **
**// Warning: file: C:\Users\Calle\Documents\maya\2018\prefs\filePathEditorRegistryPrefs.mel line 5: filePathEditor: Attribute ‘aiStandIn.dso’ is invalid or is not designated ‘usedAsFilename’. // **
**// Warning: file: C:\Users\Calle\Documents\maya\2018\prefs\filePathEditorRegistryPrefs.mel line 6: filePathEditor: Attribute ‘aiVolume.filename’ is invalid or is not designated ‘usedAsFilename’. // **
updateRenderOverride;
updateRendererUI;
**// Warning: file: C:/Program Files/Autodesk/Maya2018/scripts/others/supportRenderers.mel line 64: The renderer “arnold” used by this scene, is not currently available. The “mayaSoftware” renderer will be used instead. // **
0.50877103212 time elapsed running draw_guide
# Error: RuntimeError: file C:\Users\Calle\Documents\maya\scripts\mgear\scripts\mgear\core\utils.py line 223: Unable to create/find dependency node. #

One thing i notice is that it tells me it didnt load some solver plugins:
# Error: You need the mgear_solvers plugin! #

Not sure what i’m doing wrong.

Thanks


#4

Ok yeah, so the important part of the error was that the solvers are not loaded.

I think you are following a video where it tells you to edit the mod file. I think it is confusing that there are 3 different videos, but I followed these instructions here:

  1. All you have to do is download mGear, and put the entire mGear folder somewhere.
  2. And then add MAYA_MODULE_PATH=C:/Users/Calle/ANY/PATH/YOU/WANT/mGear_3.0.4 to Maya.env like you did, BUT, that path needs to point to the mGear folder. Not just the modules folder. (as far as I can tell.)

I just tested that on a fresh computer, and that is the only step I needed to take to install mGear. I didn’t have to edit the mod file at all. And the mGear folder does not have to be in your Maya modules folder. Though I guess it can be.

Sorry if I am misunderstanding, and you need to follow that other installation technique. For me, this one is the best because I install mGear on our studio network drive, and all I have to do is add that one line to all the animator’s Maya.env files and they are good to go.


#5

Thank you, by simple just editing the Env file like in the video and not touching anything ells it now works! I got it confused.

Best regards