DL10 Houdini Redshift subission error

Discussion and Support of Deadline, the Render Management System
User avatar
bonsak
Posts: 353
Joined: Wed Oct 26, 2011 7:02 am
Location: Oslo, Norway
Contact:

DL10 Houdini Redshift subission error

Postby bonsak » Wed Sep 13, 2017 7:48 am

Hi
When submitting Houdini jobs with "Submit Dependent Redshift..." and "Export to Redshift Locally" checked, we get this python error:

Code: Select all

Traceback (most recent call last):
  File "//10.0.0.101/REPOSITORY/submission/Houdini/Main\SubmitHoudiniToDeadline.py", line 1257, in SubmitJobCallback
    SubmitRenderJob(job, jobOrdering, (totalJobs >1), jigsawRegionCount, jigsawRegions )
  File "//10.0.0.101/REPOSITORY/submission/Houdini/Main\SubmitHoudiniToDeadline.py", line 1080, in SubmitRenderJob
    jobIds = SHTDFunctions.SubmitRenderJob( renderNode, jobProperties, ",".join( dependencies ) )
  File "//10.0.0.101/REPOSITORY/submission/Houdini/Main\SubmitHoudiniToDeadlineFunctions.py", line 587, in SubmitRenderJob
    exportJobDependencies = ",".join( jobIds )
UnboundLocalError: local variable 'jobIds' referenced before assignment


DL 10.0.1.1
H 16.0.705
RS 2.5.29
Win 10

-b
Bonsak Schieldrop
www.racecar.no

eamsler
Posts: 1827
Joined: Thu Dec 16, 2010 1:02 pm
Location: Winnipeg, MB, Canada

Re: DL10 Houdini Redshift subission error

Postby eamsler » Wed Sep 13, 2017 10:01 am

That ought to be a quick fix. I'm disappointed that made it out at all, but we'll get it patched up. Thanks for reporting Bonsak!
Edwin Amsler
Head of Support
Thinkbox Software Inc
+1-866-419-0283 ext 804

Winnipeg

User avatar
mepp
Posts: 65
Joined: Wed Jan 15, 2014 1:57 pm

Re: DL10 Houdini Redshift subission error

Postby mepp » Mon Sep 18, 2017 12:46 pm

Sorry, I let this topic slip by me unnoticed. We had fixed this internally a little while ago, and it'll be making its way into the next build (10.0.3). In the meantime, you can use the attached files by:
  • Backing up your Houdini submission folder (ie. C:\DeadlineRepository10\submission\Houdini\Main)
  • Unzipping the attached Houdini.zip
  • Moving the unzipped files into your Houdini submission folder (same folder as step 1)

We had unfortunately introduced some silly errors with the large refactor to allow for the Deadline ROP node, sorry about that. Let me know if this works for you!

Cheers
Attachments
Houdini.zip
(25.34 KiB) Downloaded 5 times
Morgan Epp
Software Developer
Thinkbox Software Inc

User avatar
bonsak
Posts: 353
Joined: Wed Oct 26, 2011 7:02 am
Location: Oslo, Norway
Contact:

Re: DL10 Houdini Redshift subission error

Postby bonsak » Mon Sep 18, 2017 4:34 pm

Sweet! Thanks.

-b
Bonsak Schieldrop
www.racecar.no

User avatar
bonsak
Posts: 353
Joined: Wed Oct 26, 2011 7:02 am
Location: Oslo, Norway
Contact:

Re: DL10 Houdini Redshift subission error

Postby bonsak » Tue Sep 19, 2017 9:19 am

Hi
Just tried you quickfix today but now i get this error when submitting Redshift jobs (not standalone):
The correct path to Houdini is defined in Configure plugins.

Code: Select all

=======================================================
Error
=======================================================
Error: GetConfigEntry: Attempted to access non-existent config key Houdini16.0_Hython_Executable (Deadline.Plugins.RenderPluginException)
   at Deadline.Plugins.DeadlinePlugin.GetConfigEntry(String key)
   at Python.Runtime.Dispatcher.TrueDispatch(ArrayList args)
   at Python.Runtime.Dispatcher.Dispatch(ArrayList args)
   at FranticX.Processes.ManagedProcess.RenderExecutable()
   at FranticX.Processes.ManagedProcess.Execute(Boolean waitForExit)
   at Deadline.Plugins.PluginWrapper.RenderTasks(String taskId, Int32 startFrame, Int32 endFrame, String& outMessage, AbortLevel& abortLevel)

=======================================================
Type
=======================================================
RenderPluginException

=======================================================
Stack Trace
=======================================================
   at Deadline.Plugins.SandboxedPlugin.SendMessageToSandbox(DeadlineMessage messageToSend)
   at Deadline.Plugins.SandboxedPlugin.RenderTask(String taskId, Int32 startFrame, Int32 endFrame)
   at Deadline.Slaves.SlaveRenderThread.RenderCurrentTask(TaskLogWriter tlw)

=======================================================
Log
=======================================================
2017-09-19 15:15:59:  0: Loading Job's Plugin timeout is Disabled
2017-09-19 15:16:01:  0: Executing plugin command of type 'Sync Files for Job'
2017-09-19 15:16:01:  0: All job files are already synchronized
2017-09-19 15:16:01:  0: Synchronizing Plugin Houdini from \\10.0.0.101\REPOSITORY\plugins\Houdini took: 0 seconds
2017-09-19 15:16:01:  0: Done executing plugin command of type 'Sync Files for Job'
2017-09-19 15:16:01:  0: Executing plugin command of type 'Initialize Plugin'
2017-09-19 15:16:01:  0: INFO: Executing plugin script 'C:\Users\racecar\AppData\Local\Thinkbox\Deadline10\slave\RENDER103\plugins\59c1267e967dc5cc30b7ff99\Houdini.py'
2017-09-19 15:16:02:  0: INFO: About: Houdini Plugin for Deadline
2017-09-19 15:16:02:  0: INFO: Render Job As User disabled, running as current user 'racecar'
2017-09-19 15:16:02:  0: INFO: The job's environment will be merged with the current environment before rendering
2017-09-19 15:16:02:  0: Done executing plugin command of type 'Initialize Plugin'
2017-09-19 15:16:02:  0: Start Job timeout is disabled.
2017-09-19 15:16:02:  0: Task timeout is disabled.
2017-09-19 15:16:02:  0: Loaded job: sc01-cities-04.hip - /obj/Render/Full (59c1267e967dc5cc30b7ff99)
2017-09-19 15:16:02:  0: Executing plugin command of type 'Start Job'
2017-09-19 15:16:02:  0: INFO: Executing global job preload script 'C:\Users\racecar\AppData\Local\Thinkbox\Deadline10\slave\RENDER103\plugins\59c1267e967dc5cc30b7ff99\GlobalJobPreLoad.py'
2017-09-19 15:16:02:  0: INFO: Looking for AWS Portal File Transfer...
2017-09-19 15:16:02:  0: INFO: Looking for File Transfer controller in C:/Program Files/Thinkbox/S3BackedCache/bin/task.py...
2017-09-19 15:16:02:  0: INFO: Could not find AWS Portal File Transfer.
2017-09-19 15:16:02:  0: INFO: AWS Portal File Transfer is not installed on the system.
2017-09-19 15:16:02:  0: Done executing plugin command of type 'Start Job'
2017-09-19 15:16:02:  0: Plugin rendering frame(s): 26-50
2017-09-19 15:16:02:  0: Executing plugin command of type 'Render Task'
2017-09-19 15:16:02:  0: INFO: Starting Houdini Job
2017-09-19 15:16:02:  0: INFO: Stdout Redirection Enabled: True
2017-09-19 15:16:02:  0: INFO: Stdout Handling Enabled: True
2017-09-19 15:16:02:  0: INFO: Popup Handling Enabled: True
2017-09-19 15:16:02:  0: INFO: QT Popup Handling Enabled: False
2017-09-19 15:16:02:  0: INFO: WindowsForms10.Window.8.app.* Popup Handling Enabled: False
2017-09-19 15:16:02:  0: INFO: Using Process Tree: True
2017-09-19 15:16:02:  0: INFO: Hiding DOS Window: True
2017-09-19 15:16:02:  0: INFO: Creating New Console: False
2017-09-19 15:16:02:  0: INFO: Running as user: racecar
2017-09-19 15:16:02:  0: Done executing plugin command of type 'Render Task'

=======================================================
Details
=======================================================
Date: 09/19/2017 15:15:55
Frames: 26-50
Elapsed Time: 00:00:00:06
Job Submit Date: 09/19/2017 15:15:27
Job User: bonsa
Average RAM Usage: 7202181120 (6%)
Peak RAM Usage: 7202181120 (6%)
Average CPU Usage: 0%
Peak CPU Usage: 0%
Used CPU Clocks (x10^6 cycles): 0
Total CPU Clocks (x10^6 cycles): 88021

=======================================================
Slave Information
=======================================================
Slave Name: RENDER103
Version: v10.0.1.1 Release (218322271)
Operating System: Windows 10 Pro
Running As Service: No
Machine User: racecar
IP Address: 10.0.0.146
MAC Address: 38:D5:47:CA:3D:B8
CPU Architecture: x64
CPUs: 36
CPU Usage: 2%
Memory Usage: 6.7 GB / 127.9 GB (5%)
Free Disk Space: 1.693 TB
Video Card: NVIDIA GeForce GTX 1080 Ti
Bonsak Schieldrop
www.racecar.no

User avatar
mepp
Posts: 65
Joined: Wed Jan 15, 2014 1:57 pm

Re: DL10 Houdini Redshift subission error

Postby mepp » Tue Sep 19, 2017 10:01 am

Hmm... It appears that with the newest version of our Houdini submitter also came with some tweaks to allow for side-by-side minor versions of the Houdini application.

I'll try to make sure I grab all the files that changed for Houdini, but I'll mention that 10.0.3.2 was released yesterday, which will contain the most recent version of all the Houdini files.

As for files which I BELIEVE you need:
  • HoudiniPluginFiles.zip
    (10.53 KiB) Downloaded 2 times
    files should be unzipped and copied to ``DeadlineRepository10/plugins/Houdini``
  • MantraPluginFiles.zip
    (3.19 KiB) Downloaded 4 times
    files should be unzipped and copied to ``DeadlineRepository10/plugins/Mantra``
  • HoudiniMantraSubmission.zip
    (15.86 KiB) Downloaded 3 times
    files should be unzipped and copied to ``DeadlineRepository10/scripts/Submission``

Let me know if something is still off.

Cheers
Morgan Epp
Software Developer
Thinkbox Software Inc

User avatar
bonsak
Posts: 353
Joined: Wed Oct 26, 2011 7:02 am
Location: Oslo, Norway
Contact:

Re: DL10 Houdini Redshift subission error

Postby bonsak » Wed Sep 20, 2017 2:41 am

- Deleted everything in the repo/submission/houdini dir
- Updated Repo with the 10.0.3.2 installer.
- All slaves autoupdated.
- Manually installed both the Deadline client and the Houdini client submitter on one worksation (win 10) to be sure
> Still get the same error (GetConfigEntry) when submitting Houdini/redshift jobs (not standalone)

- Swapped the contents of the repo/submission/houdini/main with the files from our 10.0.1.1 repo install
> This works. Except for the Redshift standalone error.

-b
Bonsak Schieldrop
www.racecar.no

User avatar
mepp
Posts: 65
Joined: Wed Jan 15, 2014 1:57 pm

Re: DL10 Houdini Redshift subission error

Postby mepp » Wed Sep 20, 2017 5:03 pm

Hey Bonsak,

This bug would be occurring in repo/plugins/houdini, not the submission side. As in, on the submission side we're now appending the minor version number, and the the plugin needs to be updated to also know about that minor version.

When I updated my repo to 10.0.3.2 to test this, I had to update the path to the executable, but it was finding the config entry (with the minor version). If you're still experiencing this issue after updating the plugin directory, it's probably worth to signal Deadline to update the database by going to Tools -> Configure Plugins -> Houdini and modifying the path to the executable (even if it's correct). Deadline will think it's "dirty" and update the db meaning everything should be good from there.

Let me know how that goes.

Cheers
Morgan Epp
Software Developer
Thinkbox Software Inc

User avatar
bonsak
Posts: 353
Joined: Wed Oct 26, 2011 7:02 am
Location: Oslo, Norway
Contact:

Re: DL10 Houdini Redshift subission error

Postby bonsak » Thu Sep 21, 2017 9:09 am

mepp wrote: If you're still experiencing this issue after updating the plugin directory, it's probably worth to signal Deadline to update the database by going to Tools -> Configure Plugins -> Houdini and modifying the path to the executable (even if it's correct). Deadline will think it's "dirty" and update the db meaning everything should be good from there.

That makes perfect sense. Updated the path and every thing seems to work as it should now. Thanks.

-b
Bonsak Schieldrop
www.racecar.no

User avatar
mepp
Posts: 65
Joined: Wed Jan 15, 2014 1:57 pm

Re: DL10 Houdini Redshift subission error

Postby mepp » Thu Sep 21, 2017 9:17 am

Nice! :twisted: Glad that's working for you.

Cheers
Morgan Epp
Software Developer
Thinkbox Software Inc


Return to “Thinkbox Software - Deadline”

Who is online

Users browsing this forum: No registered users and 3 guests