- This topic has 5 replies, 2 voices, and was last updated 7 years, 10 months ago by
Leonardo Bernardini.
-
Posted in: Muster usage
-
31st August 2018 at 1:57 am #17127Hi,
I’m trying to get the application plug-in to work under Maya 2017; however, I can’t seem to get the actual dispatcher tab to show up so I can fill in the information.
For testing, I downloaded the application plug-in and put it in a folder: “/Users/testing/Desktop/MusterControlPanel/”.
The folder has the content:
-rwxr-xr-x@ 1 testing AD\Domain Users 245804 Apr 10 15:52 MayaMuster9.py drwxr-xr-x@ 3 testing AD\Domain Users 102 Feb 20 2018 icons -rwxr-xr-x@ 1 testing AD\Domain Users 760 Jan 19 2018 readme.txtIn Maya, I’m testing the commands in the instruction in the Script Editor. I use the following:
import MayaMuster9 import sys sys.path.append("/Users/testing/Desktop/MusterControlPanel/") MayaMuster9.submitToMuster()As soon as I execute the script I get the following errors:
Submit to Muster The specified folder does not contain a valid Muster/mrtool installation! Be sure to reconfigure the path to mrtool in the Dispatcher tab and save settingsMaya 2017 no longer comes with the Mental Ray engine if that’s what mrtool is referring to. Maya 2017 now comes with the Arnold render engine.
After clicking the Close button I then get:
Submit to Muster Failed to start mrtool, please check the Muster installation path field!Followed by this in the Script Editor window:
import MayaMuster9 import sys sys.path.append("/Users/esisneros/Desktop/MusterControlPanel/") MayaMuster9.submitToMuster() # Error: line 1: TypeError: file /Applications/Autodesk/maya2017/MayaMuster9.py line 2161: 'NoneType' object is not iterable #Now the odd part is that ‘/Applications/Autodesk/maya2017/MayaMuster9.py’ no longer exists. I’ve removed it from the PATH environment variable but it’s still being referenced in the Script Editor.
Any tips?
Thanks.
1st September 2018 at 2:04 pm #17128no it is not referencing mental ray, mrtool is the muster command line tool to submit job that the Maya integrated plugin refer to.
About your issue, it’s clear that you still have an old script referencing around, so please double check that there’s no /Applications/Autodesk/maya2017/MayaMuster9.py and then restart maya.
Also, to avoid the problems in startup, depending on your muster version (8 or 9), define a MUSTER or MUSTER9 environmental variable in the maya.env (MUSTER9=/Applications/Muster9/Contents for mac) that you find into your home dir/maya/2017/maya.env , then restart maya.
In that way, the connector should immediately find the Muster installation folder and start correctly
3rd September 2018 at 4:39 pm #17130Hi Leonardo,
I’ve defined the MUSTER9 environment variable. Maya does see the env reference. I purged my Maya installation and started again. However, I’m still getting the error shown:
The specified folder does not contain a valid Muster/mrtool installation! Be sure to reconfigure the path to mrtool in the Dispatcher tab and save settingsI looked at your Python script and found that it’s looking for a file named ‘mrtool.bin’ under the _getMrtool method. This file isn’t included in the ‘Universal integrated connector for Autodesk Maya 2009+’. Is the file located in a different download?
Thanks,
Eric
3rd September 2018 at 4:55 pm #17131I downloaded the SDK to try to compile the mrtool, but the SDK is missing the framework header.
make g++ -I../includes -L/usr/local/muster8 -lMClientLib -lMBase -lMTemplate -lMFramework *.cpp -o ./mrtool In file included from consoleout.cpp:21: In file included from ./utils.h:23: In file included from ../includes/MClientLib/MClientLib.h:34: In file included from ../includes/MClientLib/MJob.h:49: ../includes/MClientLib/MMFGroup.h:46:10: fatal error: 'MFramework/framework.h' file not found #include "MFramework/framework.h" ^ 1 error generated. In file included from mrgetopt.cpp:19: In file included from ../includes/MTemplate/MManager.h:48: ../includes/MClientLib/MProcess.h:54:10: error: unknown type name 'pid_t' typedef pid_t MPid; ^ In file included from mrgetopt.cpp:19: In file included from ../includes/MTemplate/MManager.h:50: In file included from ../includes/MClientLib/MJob.h:49: ../includes/MClientLib/MMFGroup.h:46:10: fatal error: 'MFramework/framework.h' file not found #include "MFramework/framework.h" ^ 2 errors generated. In file included from mrtool.cpp:19: In file included from ../includes/MTemplate/MManager.h:48: ../includes/MClientLib/MProcess.h:54:10: error: unknown type name 'pid_t' typedef pid_t MPid; ^ In file included from mrtool.cpp:19: In file included from ../includes/MTemplate/MManager.h:50: In file included from ../includes/MClientLib/MJob.h:49: ../includes/MClientLib/MMFGroup.h:46:10: fatal error: 'MFramework/framework.h' file not found #include "MFramework/framework.h" ^ 2 errors generated. In file included from net.cpp:19: In file included from ./utils.h:23: In file included from ../includes/MClientLib/MClientLib.h:34: In file included from ../includes/MClientLib/MJob.h:49: ../includes/MClientLib/MMFGroup.h:46:10: fatal error: 'MFramework/framework.h' file not found #include "MFramework/framework.h" ^ 1 error generated. In file included from utils.cpp:19: In file included from ./utils.h:23: In file included from ../includes/MClientLib/MClientLib.h:34: In file included from ../includes/MClientLib/MJob.h:49: ../includes/MClientLib/MMFGroup.h:46:10: fatal error: 'MFramework/framework.h' file not found #include "MFramework/framework.h"
4th September 2018 at 10:09 am #17134Yes, indeed you do not need to rebuild mrtool by yourself, it’s part of the standard distribution.
By the way, I’ll take a look at the SDK compilation because you should be able to build it by yourself and you should not have missing dependancies, thanks for pointing this out.Have a great day!
-
You must be logged in to reply to this topic.

