Deadline & RPM Issues

I am using MAX2010_64 SP2 with Deadline 5.2.0.49424 (and the associated RPM submission scripts) and RPM 4.67.

When I try to submit a simple test job, I get the attached message in the RPM submit dialog and no job is submitted to Deadline. (Earlier, I had been using RPM 4.64 and it submitted without problems).

Just wondering if there is a known issue with RPM 4.67?

Thanks!

It could be very well my bug :wink:

I am looking into updating the regular Max submission scripts to work without modifications with RPM (so no separate version would be required for running RPM submissions), but it turned out much more difficult that I expected.

The currently updated Deadline 5.2 RPM scripts contain all changes made to the SMTD (Submit Max To Deadline) built-in submitter in the recent months, so it is quite possible something went wrong there.

Can you please test this for me:
*Launch Max
*Open RPM with Deadline as network rendering option
*In the MAXScript Listener, type in

SMTDSettings.SubmitSceneMode

and press the Enter on the Numeric Pad to evaluate.
Post the result you are seeing. By default it should be #reposave.

From the error you posted and after looking through the code, it almost feels like that property is not set correctly.
If the results happens to be anything but #reposave, try selecting a different submission mode from the drop-down list found just underneath the Priority slider, then select again the first option “SAVE and Submit Current Scene File with the job to the REPOSITORY”.
After this, the property should be set to #reposave and hopefully correctly stored in the INI file.

If that does not help, we will looks closer at the files you have installed…

Hi Bobo,

Thanks for looking into this.

I typed in that command in the Listener, and the result was only: #

I then followed your instructions to pick Scene Submission Options. Afterwards, when I typed the command, I got: #reposave

But now, RPM is acting weird. When I go to click the single pass in the list, the Maxscript Listener spews several errors and I get an error dialog - ‘Unknown system exception’. If I click ‘Net Submit Selected’… nothing happens. RPM doesn’t even try to submit the job. Here’s what the listener says:

[code]-- Error occurred during fileIn in StringStream:“TrackViewNodes.RenderPassManager.Rendermanager_BGMaps.BGmap_1188356361.BGControllerStore”
– Error occurred in restoreUIbackgroundcolor()
– Frame:
– numb: 1188356361
– input: “Captured”
– called in RMUIValues()
– Frame:
– noMult: false
– rolloutArray: #(Rollout:SMTD_MainRollout)
– renderdataarray: #(“//Pc20/F-Drive/frames/test/test_render/test_render_.png”, 3, true, 720, 1280, false, 1.0, false, 1188356361, false, 1, 1000, 0, false, 1, false, false, true, true, true, …)
– prodRend: undefined
– draftRendererToMove: undefined
– camTmpnames: undefined
– Extended_Motion_Blur: undefined
– numb: 1188356361
– activecam: undefined
– isValid: undefined
– whichEff: undefined
– Motion_Blur_Fwd: undefined
– pData: undefined
– RTcustAtt: undefined
– thirdCam: undefined
– aspectvalue: undefined
– timeData: undefined
– tempData: undefined
– thirdCamData: undefined
– wherecam: undefined
– isProdActive: undefined
– draftRend: undefined
– RTcustAttDraft: undefined
– secondCamData: undefined
– secondCam: undefined
– camTmp: undefined
– firstCamData: undefined
– nmTmp: undefined
– longPath: undefined
– rndTemp: undefined
– outdata: undefined
– mapTmp: undefined
– indval: undefined
– numbIn: 1
– called in lstbox.mouseUp()
– Frame:
– missedHit: false
– shift: 0
– lastRestored: undefined
– currentlyUnhid: undefined
– rcmenuText: undefined
– doRebuild: 0
– NSSnamessorted: undefined
– currentListSel: undefined
– rman: undefined
– fileArray: undefined
– Event: dotNetObject:System.Windows.Forms.MouseEventArgs
– indx: 1
– layerTemp: undefined
– VSarray: undefined
– neworder: undefined
– B2fileArray: undefined
– vsetTemp: undefined
– button: 1
– layernames: undefined
– sel: dotNetObject:System.Windows.Forms.ListViewItem
– selAll: #(0, 1, dotNetObject:System.Windows.Forms.ListViewItem)
– hideArray: undefined
– NSSTemp: undefined
– NSSnames: undefined
– neworderNSS: undefined
– y: 26
– doNoRestore: false
– x: 48
– selectionarray: #(1)
– unhideArray: undefined
– selArray: undefined
– layernamessorted: undefined
– mxsCollection: undefined

MAXScript Rollout Handler Exception: – Unknown system exception <<
[/code]

When I go to click on the ‘Network’ tab in RPM, the listener says:

"Deadline5_2 data failed to restore:-- No ""execute"" function for undefined" "Deadline5_2 data failed to restore:-- No ""execute"" function for undefined" "Deadline5_2 data failed to restore:-- No ""execute"" function for undefined"

Thanks again.

Did you try restarting Max and launching RPM again?
Test to see if the property is still #reposave after the restart (in other words, that it sticks via INI file).

I will have to try the latest scripts with RPM here and attempt to reproduce this. The error is happening inside of RPM and it will be difficult for me to debug that, but before bugging Grant I would like to make sure we are not causing this with our code.

We could always go back to an older version of the RPM scripts from before 5.2 if everything fails…

Thanks Bobo! I restarted MAX2010_64 and got the proper #reposave result.

And RPM is now submitting the job to Deadline again as desired.

Thanks again.

Thanks, I will make sure we fix the # error - I am not handling the case where the property was never set before (it is quite new).