error combining RPM and Deadline scripts

When I have used RPManager in a max session and then use the deadline submitter script, I reliably get the following rather attractive maxscript error:

Any ideas how I can stop this happening? The submit goes successfully after I close the error. It’s just annoying.

R

This sounds like you are running a relatively new version of RPM with a relatively old version of Deadline (like 4.0 or earlier).

The property SMTDSettings.PreviewJobPriorityOffset was added to Deadline in build 41645 almost a year ago, on May 19, 2010. So if your Deadline version is an earlier build, RPM will be unable to access that property. The best solution is to update to a newer version of Deadline like 4.1 or the upcoming 5.0 which should be out in the coming days.

If that is not an option, you could try to edit the file “SubmitMaxToDeadline_Functions.ms” found in the Repository under \submission\3dsmax\ and add the lines

PreviewJobPriorityOffset = 1,
IgnoreRenderElements = false,

around line 400 of the script, inside the SMTDSettingsStructure() context. While the options will do nothing, RPM will see them and you would avoid the crash.

Thanks for the excellent advice Bobo. Very helpful.

We are pretty useless at upgrading Deadline because once it is working well (which it is) we have very little inclination to go through and install updates on all the machines in the place :slight_smile:

We’ll upgrade to 5.0 when it is released.

Thanks again.

Rhys.