Deadline10 with fusion

Discussion and Support of Deadline, the Render Management System
Makoto Chiba
Posts: 81
Joined: Thu Jan 27, 2011 3:34 pm
Location: Santa Monica, CA
Contact:

Deadline10 with fusion

Postby Makoto Chiba » Mon Oct 09, 2017 9:17 pm

hi, I updated my deadline from 8 to 10.(So, I don't tried DL9)
But blackmagic fusion7.7.1 get error and cannot render. I can submit, but fusion render node get error and don't render.
Of cource it has no problem when I used DL8. And I didn't any change for my render PCs without deadline client install.
I don't know this is reason or no, but I get
"SCRIPT ERROR: eyeonScript made a connection in StartJon.eyeonscripts but fusion failed to get a license and finish setup in time"

And about new DL fusion submitter, it cannot save "Submit Draft Job On Completion" setting.
I want to save this setting

thanks

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

Re: Deadline10 with fusion

Postby eamsler » Tue Oct 10, 2017 1:55 pm

Okay! Let's get you rendering first here. I'll open an issue for sticky settings in the mean time.

I don't expect there is licensing issues, but would you be able to provide a full render log? I don't expect we need filenames, so feel free to clean those out if you like. I just want to check for other errors.

I'll also see if we've tested with Fusion 7 recently.
Edwin Amsler
Head of Support
Thinkbox Software Inc
+1-866-419-0283 ext 804

Winnipeg

Makoto Chiba
Posts: 81
Joined: Thu Jan 27, 2011 3:34 pm
Location: Santa Monica, CA
Contact:

Re: Deadline10 with fusion

Postby Makoto Chiba » Tue Oct 10, 2017 3:23 pm

OK, I found problem.
"Repository10\plugins\Fusion\StartJob.eyeonscript" has problem.
If I replace this to Deadline8 version of script, it works.

I think "df.CurrentComp" in your script back something strange.
I checked it on my fusion console, it get not nil, But at the render node, it may back nil???

thanks

Makoto Chiba
Posts: 81
Joined: Thu Jan 27, 2011 3:34 pm
Location: Santa Monica, CA
Contact:

Re: Deadline10 with fusion

Postby Makoto Chiba » Tue Oct 10, 2017 3:54 pm

And I want you to support fusion9 in next release ;)

thanks

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

Re: Deadline10 with fusion

Postby mepp » Wed Oct 11, 2017 1:43 pm

Makoto Chiba wrote:And I want you to support fusion9 in next release

October 10, 2017 - https://docs.thinkboxsoftware.com/produ ... ne-release
Deadline 10.0.4.2

This is the fourth revision release for Deadline 10.0. It fixes a few bugs that have been reported during the 10.0 release cycle and adds some minor improvements, including support for Cinema 4D 19 and Fusion 9.


Emphasis mine. :)

Cheers
Morgan Epp
Software Developer
Thinkbox Software Inc

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

Re: Deadline10 with fusion

Postby eamsler » Fri Oct 13, 2017 10:12 am

Edwin Amsler
Head of Support
Thinkbox Software Inc
+1-866-419-0283 ext 804

Winnipeg

Makoto Chiba
Posts: 81
Joined: Thu Jan 27, 2011 3:34 pm
Location: Santa Monica, CA
Contact:

Re: Deadline10 with fusion

Postby Makoto Chiba » Fri Oct 13, 2017 5:59 pm

Morgan, Edwin,

fusion9 submitter does not have Draft function.......!!!!!!!

And all DL10 draft submit function(Pipeline Tools) is really lazy.
Because I have to open Pipeline Tools window every time if I want to use Draft. I want to have "use Draft" check box for each submitter window. Especially composite/edit apps.

Makoto Chiba
Posts: 81
Joined: Thu Jan 27, 2011 3:34 pm
Location: Santa Monica, CA
Contact:

Re: Deadline10 with fusion

Postby Makoto Chiba » Fri Oct 13, 2017 6:32 pm

MOREOVER!!

DL10.0.4 get error on fusion7.
I cannot open submit dialog on it.
This version is totally mess!!!

Just in case...
I replace old version of SubmitToDeadline.eyeonscript(from 10.0.3), it works again.
fusion7 and fusion8 has pretty different script rule.
I recommend you should divide submit script for before 7, 8, 9 and later.

BTW, actually fusion8 is a bit buggy for me, so, I'm still using fusion7.

thanks

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

Re: Deadline10 with fusion

Postby eamsler » Mon Oct 16, 2017 11:59 am

We've been discussing ways of better syncing information between that integration and the submitters. Thanks very much for the feedback there.

As far as the problems with the Fusion submitter, I've escalated it over here and we'll get it tested and fixed. Are there any errors you could share? I may be able to do some testing despite not Fusion installed.
Edwin Amsler
Head of Support
Thinkbox Software Inc
+1-866-419-0283 ext 804

Winnipeg

mplec
Posts: 36
Joined: Wed Feb 01, 2017 7:55 pm

Re: Deadline10 with fusion

Postby mplec » Fri Nov 17, 2017 9:22 pm

We're encountering this and a few other problems with Fusion 9.0.1 and Deadline 10.0.4.2 on Windows 10.

I did a fresh uninstall/reinstall of Fusion and the Fusion Render Node on my local machine for testing to be sure it's got 9.0.1 in case there were problems they've fixed since 9.0.

The first problem I see in the log is this:

Code: Select all

2017-11-17 10:52:06:  0: Could not kill process with name fuscript because: Access is denied (System.ComponentModel.Win32Exception)


Windows task manager shows both with status "Running" and User name "SYSTEM". The Deadline slave is running under user accounts, not as a system service, and we do not have Render Job As User set. Are we meant to set something on these exe's or or in Windows somewhere to allow Deadline to kill these?

Code: Select all

2017-11-17 14:07:55:  0: Plugin will be reloaded because a new job has been loaded.
2017-11-17 14:07:55:  0: Loading Job's Plugin timeout is Disabled
2017-11-17 14:07:56:  0: Loaded plugin Fusion
2017-11-17 14:07:56:  0: Executing plugin command of type 'Sync Files for Job'
2017-11-17 14:07:56:  0: All job files are already synchronized
2017-11-17 14:07:56:  0: Plugin Fusion was already synchronized.
2017-11-17 14:07:56:  0: Done executing plugin command of type 'Sync Files for Job'
2017-11-17 14:07:57:  0: Executing plugin command of type 'Initialize Plugin'
2017-11-17 14:07:57:  0: INFO: Executing plugin script 'C:\Users\mplec\AppData\Local\Thinkbox\Deadline10\slave\nvr-vfx-mplec\plugins\5a0e20566c5b76093421c9d6\Fusion.py'
2017-11-17 14:07:57:  0: INFO: About: Fusion Plugin for Deadline
2017-11-17 14:07:57:  0: INFO: Render Job As User disabled, running as current user 'mplec'
2017-11-17 14:07:57:  0: INFO: The job's environment will be merged with the current environment before rendering
2017-11-17 14:07:57:  0: Done executing plugin command of type 'Initialize Plugin'
2017-11-17 14:07:57:  0: Start Job timeout is disabled.
2017-11-17 14:07:57:  0: Task timeout is disabled.
2017-11-17 14:07:57:  0: Loaded job: fusion 9 test (5a0e20566c5b76093421c9d6)
2017-11-17 14:07:57:  0: Executing plugin command of type 'Start Job'
2017-11-17 14:07:57:  0: INFO: Executing global job preload script 'C:\Users\mplec\AppData\Local\Thinkbox\Deadline10\slave\nvr-vfx-mplec\plugins\5a0e20566c5b76093421c9d6\GlobalJobPreLoad.py'
2017-11-17 14:07:57:  0: INFO: Looking for AWS Portal File Transfer...
2017-11-17 14:07:57:  0: INFO: Looking for File Transfer controller in C:/Program Files/Thinkbox/S3BackedCache/bin/task.py...
2017-11-17 14:07:57:  0: INFO: Could not find AWS Portal File Transfer.
2017-11-17 14:07:57:  0: INFO: AWS Portal File Transfer is not installed on the system.
2017-11-17 14:07:58:  0: INFO: ScriptExecutable 'C:\Program Files\Blackmagic Design\Fusion Render Node 9\fuscript.exe' is already running, attempting to kill it.
2017-11-17 14:07:58:  0: Could not kill process with name fuscript because: Access is denied (System.ComponentModel.Win32Exception)
2017-11-17 14:07:59:  0: Could not kill process with name fuscript because: Access is denied (System.ComponentModel.Win32Exception)
[...]
2017-11-17 15:51:33:  0: Could not kill process with name fuscript because: Access is denied (System.ComponentModel.Win32Exception)
2017-11-17 15:51:34:  0: Could not kill process with name fuscript because: Access is denied (System.ComponentModel.Win32Exception)
2017-11-17 15:51:35:  0: Done executing plugin command of type 'Start Job'
2017-11-17 15:51:35:  0: An exception occurred: Error: Could not terminate existing ScriptExecutable process fuscript.exe
2017-11-17 15:51:35:     at Deadline.Plugins.PluginWrapper.StartJob(String& outMessage, AbortLevel& abortLevel) (Deadline.Plugins.RenderPluginException)
2017-11-17 15:51:35:  0: Unloading plugin: Fusion
2017-11-17 15:51:37:  Scheduler Thread - Render Thread 0 threw a major error:
2017-11-17 15:51:37:  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2017-11-17 15:51:37:  Exception Details
2017-11-17 15:51:37:  RenderPluginException -- Error: Could not terminate existing ScriptExecutable process fuscript.exe
2017-11-17 15:51:37:     at Deadline.Plugins.PluginWrapper.StartJob(String& outMessage, AbortLevel& abortLevel)
2017-11-17 15:51:37:  RenderPluginException.Cause: JobError (2)
2017-11-17 15:51:37:  RenderPluginException.Level: Major (1)
2017-11-17 15:51:37:  RenderPluginException.HasSlaveLog: True
2017-11-17 15:51:37:  RenderPluginException.SlaveLogFileName: C:\ProgramData\Thinkbox\Deadline10\logs\deadlineslave_renderthread_0-nvr-vfx-mplec-0000.log
2017-11-17 15:51:37:  Exception.Data: ( )
2017-11-17 15:51:37:  Exception.TargetSite: Deadline.Slaves.Messaging.PluginResponseMemento SendMessageToSandbox(Deadline.Net.DeadlineMessage)
2017-11-17 15:51:37:  Exception.Source: deadline
2017-11-17 15:51:37:  Exception.HResult: -2146233088
2017-11-17 15:51:37:    Exception.StackTrace:
2017-11-17 15:51:37:     at Deadline.Plugins.SandboxedPlugin.SendMessageToSandbox(DeadlineMessage messageToSend)
2017-11-17 15:51:37:     at Deadline.Plugins.SandboxedPlugin.StartJob(Job job)
2017-11-17 15:51:37:     at Deadline.Slaves.SlaveRenderThread.RenderCurrentTask(TaskLogWriter tlw)
2017-11-17 15:51:37:  <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

(Note that I added the log line about attempting to kill it to see which one it's on before it times out and gives the fail message.)

Even if I kill them manually from the task manager (which doesn't require me to elevate to admin) they reappear a moment later and when I retry the task, as soon as the task gets into the starting state the log issues the failure to kill messages again. As far as I can tell from the Windows task manager Services panel, the fusion server get installed to startup at login and restart if it fails.

I commented out the bit of Fusion.py that does the check and kill on self.scriptExecutable and retried the task...

Now I get the problems Makoto Chiba is encountering:

Code: Select all

SCRIPT ERROR: eyeonScript made a connection in StartJon.eyeonscript but fusion failed to get a license and finish setup in time


If I run stuff manually from the dos cmd prompt, first:

Code: Select all

"C:\Program Files\Blackmagic Design\Fusion Render Node 9\FusionRenderNode.exe" /quiet /listen /verbose /log "C:\Users\mplec\AppData\Local\Thinkbox\Deadline10\slave\nvr-vfx-mplec\jobsData\5a0e20566c5b76093421c9d6\fusionLog_tempqbTAw0\fusion.log"

and then:

Code: Select all

"C:\Program Files\Blackmagic Design\Fusion Render Node 9\fuscript.exe" "C:\Users\mplec\AppData\Local\Thinkbox\Deadline10\slave\nvr-vfx-mplec\plugins\5a0e20566c5b76093421c9d6\StartJob.eyeonscript" "C:\Users\mplec\AppData\Local\Thinkbox\Deadline10\slave\nvr-vfx-mplec\jobsData\5a0e20566c5b76093421c9d6\thread0_temp4ocxz0\arnold5_simple_vr_comp.comp" 30

I get the same StartJon error and nothing is printed to the log running the fuscript.exe after the last bit from the node startup ("Initialising Scripting Subsystem"). "fuscript" indeed.

Here's what I get stepping through StartupJob.eyeonscript manually:

Code: Select all

C:\Users\mplec>"C:\Program Files\Blackmagic Design\Fusion Render Node 9\fuscript.exe" -i

Fusion Script Interpreter
Copyright (C) 2005 - 2017 Blackmagic Design Pty. Ltd.

Lua> df = Fusion("127.0.0.1")
Lua> print(df)
FusionUI (0x0000000000582030) [App: 'Fusion' on 127.0.0.1, UUID: 8f3b5a34-ed85-48ab-8801-4d40cb954824]
Lua> print(df.CurrentComp)
nil
Lua> io.flush()
Lua> fl = df:GetCompList()
Lua> for i=1, table.getn(fl) do
Lua>> print( "STARTJOB: Closing comp " .. i )
Lua>> io.flush()
Lua>> fl[i]:Close()
Lua>> end
Lua>
Lua> print(table.getn(fl))
0
Lua> comp = df:LoadComp("C:\\Users\\mplec\\AppData\\Local\\Thinkbox\\Deadline10\\slave\\nvr-vfx-mplec\\jobsData\\5a0e20566c5b76093421c9d6\\thread0_temp4ocxz0\\arnold5_simple_vr_comp.comp", true)
Lua> print(comp)
Composition (0x000000000960EC00) [App: 'Fusion' on 127.0.0.1, UUID: 8f3b5a34-ed85-48ab-8801-4d40cb954824]
Lua> comp:Lock()


That all looks ok so I removed the check for df.CurrentComp and retried the job but it failed with:

Code: Select all

2017-11-17 19:06:25:  0: STDOUT: SCRIPT ERROR: Fusion failed to load the comp 'C:\Users\mplec\AppData\Local\Thinkbox\Deadline10\slave\nvr-vfx-mplec\jobsData\5a0e20566c5b76093421c9d6\thread0_templB0Vw0\arnold5_simple_vr_comp.comp'. This could be due to a missing or incompatible plugin.

So I put a few more prints in and df:LoadComp( arg[1], true ) is returning nil.

However, when I start the render node manually from the cmd prompt and then run the fuscript.exe with the same script it loads the comp ok.

I'm stumped for now so I'll leave it here in case this rings bells for anyone and see if anything looks different Monday.


Return to “Thinkbox Software - Deadline”

Who is online

Users browsing this forum: No registered users and 2 guests