I’ve done the manual installation steps. The two .mel files are in c:/users/username/Documents/maya/scripts (userSetup.mel and DeadlineMayaClient.mel).
(An aside: when I ran the installer, it offered “Maya” as the option, not “Maya 2023” and did not put these files into Documents/maya2023/scripts.)
Starting up Maya 2023, I open the Script Editor, and in the MEL tab run “whatIs userSetup.mel” which returns the correct path to userSetup.mel.
There’s no Deadline shelf, and no “green button that can be clicked on to launch the submitter” as shown in Maya — Deadline 10.3.0.15 documentation - did I miss a step, somewhere?
Thanks for reaching out. Silly question: did you rerun Maya after putting the scripts in their respective folder?
You can add the script manually to see if shelf icon works that way? To do that go to Maya> Mel Script Editor> File> Open [Repo]\submission\Maya\Main\SubmitMayaToDeadline.mel > then again file> save script to shelf. You will see a new icon there. If you click it, does it work? If it does than this might be a permissions issue inside Maya scripts folder.
Not a silly question at all! Yes, I did run the installer when Maya 2023 was not running, and started it up after the installer was finished.
Just started it up, and went to the MEL Script Editor, and see the following at the top of the file:
running deadline command: -getrepositoryfilepath submission/Maya/Main/SubmitMayaToDeadline.mel
Running submission script "Error: The specified repository path (/csenetid/cs/unix/projects/instr/deadline) does not contain the necessary database connection settings file.
There may be a network issue, or a valid repository has not been installed at this location. If one has not yet setup a repository, it is possible to do so using the repository installer included in the installation files. (Deadline.Configuration.DeadlineConfigException)"
// Warning: file: C:/Users/spencer/Documents/maya/scripts/DeadlineMayaClient.mel line 132: The SubmitMayaToDeadline.mel script could not be found in the Deadline Repository. Please make sure that the Deadline Client has been installed on this machine, that the Deadline Client bin folder is set in the DEADLINE_PATH environment variable, and that the Deadline Client has been configured to point to a valid Repository.
file -f -new;
// untitled
commandPort -securityWarning -name commandportDefault;
onSetCurrentLayout "General";
# Warning: Failed to pull Deadline Integrated submitter: Error: The specified repository path (\\csenetid\cs\unix\projects\instr\deadline) does not contain the necessary database connection settings file.
#
# There may be a network issue, or a valid repository has not been installed at this location. If one has not yet setup a repository, it is possible to do so using the repository installer included in the installation files. (Deadline.Configuration.DeadlineConfigException)
which tells me I’m not doing something… but I’m not sure what that is. The /csenetid/cs/unix/projects/instr/deadline folder has the DeadlineRepository10 folder in it - that’s the Repository.
I haven’t set DEADLINE_PATH on this Windows host - what parameter should go there?
Well, I did set DEADLINE_PATH and it points to c:\Program Files\Thinkbox\Deadline10\bin, which is a folder on the local machine that contains things like “deadlinecommand.exe” - lots of files.
That’s not where the Deadline Repository is located, though - that’s on a shared file system that is available to the animator workstations AND the renderfarm clients.
I tried setting DEADLINE_PATH to the path to that shared folder - /csenetid/cs/unix/projects/instr/deadline/DeadlineRepository10/bin - and got different error messages in the MEL Script Editor window when I restarted Maya 2023.
This environment variable is set for “all users” installation. The value must be a location accessible to all the users. Is this location accessible to every user?
For this error it means that that it is looking at the root of repo. The actual path to Repo will /csenetid/cs/unix/projects/instr/deadline/DeadlineRepository10 but for some reason it is failing to find it. From cmd run below:
"%DEADLINE_PATH%\deadlinecommand" --getrepositoryfilepath submission/Maya/Main/SubmitMayaToDeadline.mel it should return the correct Repo path to SubmitMayaToDeadline.mel
Sorry for the delayed response - was away at a conference all of last week.
tl;dr: the Deadline shelf now appears, the bright green icon is there, and when I select it, the “Submit Job to Deadline” window appears.
Honestly, the only thing I changed was to add a line to /etc/services on the Linux host that runs the database and hosts the repository to open the numbered port (27100) and restart the “mongod” service.
Running that “sanity check” shows that the userSetup.mel file in my directory is the one that runs, and it has but one line in it, that starts the DeadlineMayaClient();
When I start up the Deadline Worker app on this Windows host, I do see connection errors:
Worker - An error occurred while updating the Worker’s info: An error occurred while trying to connect to the Database :27100. It is possible that the Mongo Database server is incorrectly configured, currently offline, blocked by a firewall, or experiencing network issues.
Full error: An exception occurred while receiving a message from the server. (FranticX.Database.DatabaseConnectionException)
Typing the "%DEADLINE_PATH%\deadlinecommand --getrepositoryfilepath... command yields the correct path.