Modo Job Submission Error

Hello,
I just installed Deadline on my PC and I’m making some tests with Modo, in free license mode.
After copying the ModoSubmission.py script to the User Scripts Folder, I mapped it to a hot key and run it but the next error pops up:

The ModoSubmission.py 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 ion your PATH, and that the Deadline Client has been configured to point to a valid Repository.”

The DeadlineRepository directory is shared and the Monitor is pointing to the right Repository. Am I missing something else?

Cheers

Hi,
I think you have installed the wrong submission script.
Please see here for correct install process:
thinkboxsoftware.com/deadline-5-modo/
Thanks,
Mike

Thanks for your reply Mike but I’m using the right submission script from within Modo, which is the SubmitModoToDeadline.pl
It looks like that Deadline needs to access to the ModoSubmission.py script but it can’t find it inside the Repository directory.

Do you have the Deadline Client installed on the system that you’re trying to submit from? If you do, check to make sure that Deadline is in your PATH environment variable. A quick way to do that is to open a command prompt on the machine and run “deadlinecommand.exe”. This should print out the usage instructions. If you instead get an error that “deadlinecommand.exe” isn’t recognized, then we know that it’s not in the PATH, and explains why you get that error.

Let us know either way and we’ll go from there.

Cheers,

  • Ryan

Hello, I have the same problem … and when I run deadlinecommand.exe it works fine (print out the usage instructions)…Could you help me? (when I tried deadline with 3dsmax+vray everything works great…)

Where are you executing SubmitModoToDeadline.pl from? Did you copy it locally to your machine, or are you running it directly from the network? It really shouldn’t matter, but if you are doing it one way, try it the other way to see if that makes a difference.

Also, the perl script should be printing out stuff to the modo history log. Can you post what gets printed out before the script fails with that error?

Thanks!

  • Ryan

I tried to run SubmitModoToDeadline.pl from repository also from modo “program files” folder where I placed a copy (I use Deadline only with one machine- my primary workstation- not for “network rendering” but as a batch render -to be able to render multiple cameras and scenes easily-with 3dsmax I do not have any problems only with modo)

Here it is what I found in history log:

@\PALO-PC\DeadlineRepository2\clientSetup\Modo\SubmitModoToDeadline.pl
select.itemType polyRender
select.color “item.channel {polyRender$ambColor} ?”
dialog.setup error
dialog.title ERROR
dialog.msg “The ModoSubmission.py 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 in your PATH, and that the Deadline Client has been configured to point to a valid Repository.”

Any idea? :slight_smile:

So sorry for not getting back to you! It slipped through the cracks. :blush:

I’m not sure what the problem is, but there is a workaround you should be able to implement. Open SubmitModoToDeadline.pl in a text editor, and find this line:

my $root = fix_path( `$deadlinecommand -getrepositoryroot` );

Comment out this line by placing a # in front of it, and then add a new line below that sets $root to a hardcoded repository path, like this:

#my $root = fix_path( `$deadlinecommand -getrepositoryroot` );
my $root = "//PALO-PC/DeadlineRepository2";

Save the file, and then try submitting from modo again. Give that a try and let me know if it works.

Cheers,

  • Ryan

Thank you very much Ryan, it works fine :slight_smile: