AWS Thinkbox Discussion Forums

DL10 Houdini Wedge subission error

Hi
When trying to submitt a wedge node with one mantra node attached i get this error when i select the wedge node in the Rop to render dropdown:

Traceback (most recent call last): File "//10.0.0.101/REPOSITORY/submission/Houdini/Main\SubmitHoudiniToDeadline.py", line 662, in ROPSelectionCallback frameString = SHTDFunctions.GetFrameInfo( renderNode ) File "//10.0.0.101/REPOSITORY/submission/Houdini/Main\SubmitHoudiniToDeadlineFunctions.py", line 186, in GetFrameInfo return GetFrameInfo(node.node(renderNode.parm("driver").eval())) NameError: global name 'node' is not defined

When connecting the same wedge node to a Deadline ROP and submitting, i get this error:

[code]---------------------------------------------------
Deadline Command 10.0 [v10.0.3.2 Release (072d054c6)]
Submitting to Repository: \10.0.0.101\REPOSITORY
Submission Contains No Auxiliary Files.
Result=Success
JobID=59c4dabb967dc5852c89e524
The job was submitted successfully.

Traceback (most recent call last):
File ā€œopdef:/Driver/deadline?PythonModuleā€, line 21, in SubmitToDeadline
File ā€œ//10.0.0.101/REPOSITORY/submission/Houdini/Main\SubmitDeadlineRop.pyā€, line 16, in SubmitToDeadline
PrepareNodeForSubmission( renderNode, dlNode )
File ā€œ//10.0.0.101/REPOSITORY/submission/Houdini/Main\SubmitDeadlineRop.pyā€, line 39, in PrepareNodeForSubmission
dlSubmittedIDs[ renderNode.path() ] = nodeSubmission( renderNode, dlNode, depJobIds )
File ā€œ//10.0.0.101/REPOSITORY/submission/Houdini/Main\SubmitDeadlineRop.pyā€, line 85, in nodeSubmission
jobDeps = SHTDFunctions.SubmitRenderJob( renderNode, jobProperties, ā€œ,ā€.join( dependencies ) )
File ā€œ//10.0.0.101/REPOSITORY/submission/Houdini/Main\SubmitHoudiniToDeadlineFunctions.pyā€, line 407, in SubmitRenderJob
fileHandle.write( ā€œFrames=%s\nā€ % GetFrameInfo( node ) )
File ā€œ//10.0.0.101/REPOSITORY/submission/Houdini/Main\SubmitHoudiniToDeadlineFunctions.pyā€, line 186, in GetFrameInfo
return GetFrameInfo(node.node(renderNode.parm(ā€œdriverā€).eval()))
NameError: global name ā€˜nodeā€™ is not defined

The SubmitDeadlineRop.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 set in the DEADLINE_PATH environment variable, and that the Deadline Client has been configured to point to a valid Repository.
[/code]
With the result that one job is submitted to the farm.

The ā€œSubmitDeadlineRop.pyā€ file is in the repo at ā€œR:\REPOSITORY\submission\Houdini\MainSubmitDeadlineRop.pyā€
Reinstalled the client on the submitting workstation but i still get the same error.
DEADLINE_PATH is set to ā€œC:\Program Files\Thinkbox\Deadline10\binā€

DL 10.0.3.2
H 16.0.705
Win 10

-b

Hey Bonask!

I did some digging and that bug cam in during 10.0 SP1. It should be quick to fix, but the integration guys know best. Iā€™ll try and push for that when they come in.

Thanks!

I noticed internally that there is some code waiting on review for this fix. As it has not officially made it in there may be issues, but if you would like to give it a test, just backup ā€œ[repo]/submission/Houdini/Main/SubmitHoudiniToDeadlineFunctions.pyā€ and copy this in its place.

SubmitHoudiniToDeadlineFunctions.py.txt (62 KB)

Thanks Edwin. Im away on vacation at the moment. Will be back in a week. Will try your fix then.

-b

Hi,

Iā€™ve checked the file, it doesnā€™t throw up the error for wedges any more. I canā€™t get it to submit the wedges as separate jobs though. Even with the checkbox ticked it submits only one job. Maybe Iā€™m missing something in the way Iā€™ve set it up but there arenā€™t any specific instructions for submitting a wedge job.

Thanks

Nick

Also, itā€™s not respecting the ā€˜Submit Houdini Sceneā€™ check box. Itā€™s still rendering directly from the original file.

Iā€™ve made a few dev issues for the team to look into once theyā€™re back tomorrow and passed that off to the right people so theyā€™re aware. I think all three Houdini issues can likely be handled pretty quickly, so feel free to chase me here and Iā€™ll escalate if it takes too long.

Hi Edwin,

To be honest I think there are a few more issues with the submitter than I realised. My colleague was away yesterday and has just told me this morning that there are a number of things not working:

The frame override isnā€™t working, it wonā€™t do chunks or override the rop output I think.

Frame dependencies arenā€™t working from the submitter it just does job dependency

He also had to modify the Mantra plugin because it wasnā€™t picking up the minor version so when it looked for the Houdini 16 executable it didnā€™t find anything because weā€™re using 16.0.705.

Iā€™d be concerned that there might also be a few other issues we havenā€™t picked up on yet. It seems like there might be a broken connection between some of the UI items and the submission.

Thanks

Nick

Oh boy. Can we schedule something? I think weā€™re releasing SP4 soon, so maybe upgrade and weā€™ll circle back. Feel free to give me a call or e-mail and weā€™ll try and hook something up. Address these days is amsler@amazon.com.

An update to the issues experienced in this thread:

  • ā€œglobal name ā€˜nodeā€™ is not definedā€: fix posted in this thread and in Deadline already
  • frame override: fix made it into 10.0.4.2
  • Frame dependencies: fix made it into 10.0.4.2
  • submit scene (+ some others): fixes are making their way into the next release
  • Submit wedges as separate jobs: fix making its way into the next release

Unless you meant something else by

Then the plugin not automatically detecting build versions of Houdini (or any application really) is normal, as we expect studios to configure the plugin to look at their specific version/location of Houdini. We only supply the default path.

Cheers

Hi Morgan,

Iā€™ll download the latest version and check out the fixes. Thanks Morgan.

The Mantra issue though is that itā€™s submitting with the version of Houdini for Mantra as ā€œ16ā€ not ā€œ16.0ā€ as it does for normal Houdini submissions. This means that the version logic in the Mantra.py file doesnā€™t work to determine the render executable because itā€™s not matching the key in the param file. All we changed was this in the RenderExecutable function (line 43 in Mantra.py):

Iā€™m assuming this is just a submission error as the version information comes through fine for the Houdini jobs and itā€™s just missing the .0 or .5 for Mantra?

Thanks

Nick

I did some digging here and found the culprit. Itā€™s this line in the Houdini submitter:

                    if exportType == "Mantra":
                        fileHandle.write( "SceneFile=%s\n" % paddedIfdFile )
                        fileHandle.write( "Version=%s\n" % hou.applicationVersion()[0] )

Iā€™ll push this through and see if we can post the fix here when it happens.

Ohhhh, that makes A LOT more sense. Yea, I did misunderstand what you were saying, sorry about that :blush:. Weā€™ve got a fix for that also making its way into the next build. But if you canā€™t wait, hereā€™s an attached file that includes the fixes talked about in this thread. The files are copied to: DeadlineRepository10/submission/Houdini/Main/

Cheers
HoudiniMain.zip (25.3 KB)

Hi,

That seems to have resolved most of the issues :slight_smile: but itā€™s still not respecting the ā€˜Frames per Taskā€™ values :frowning:

Thanks

Nick

Thatā€™s with an export job workflow? It respects my frames per task when Iā€™m doing a ā€œnormalā€ render (including wedges).

Currently the way we have it working weā€™re explicitly telling it to do 1 frame per task when doing exports (both for export job and the dependent render job), but looking at the code it seems that we can potentially make this better/more intuitive by respecting the frames per task in the export workflows.

Iā€™ve logged this internally as something we want to add.

Cheers

Hi Morgan,

Yeah, weā€™re exporting ifds with a dependent Mantra job. It used to do chunks of 10 for the export job and then single frame for the Mantra, itā€™s only in Deadline 10 that this logic has stopped. Having 10 on the export and 1 on the Mantra would be better.

Thanks

Nick

Hey Nick,

Weā€™ve updated the submitter to be able to export with frame chunks larger than 1. Look for it in upcoming release notes! :smiley:

Cheers

Privacy | Site terms | Cookie preferences