Issues with Rendering on Deadline Ayon 3.16.5

Hi @BigRoy , thank you for the feedback.
I added the “deadlinePlugin.SetProcessEnvironmentVariable(env, val)” and it WORKED!

Now I got a different error in the “Publish” job, it seems the split process of the string is messing with the path.

=======================================================
Error
=======================================================
Error: FailRenderException : Ayon executable was not found in the semicolon separated list "C;:;/;P;r;o;g;r;a;m; ;F;i;l;e;s;/;Y;n;p;u;t;/;A;Y;O;N; ;1;.;0;.;0;-;b;e;t;a;.;5;/;a;y;o;n;_;c;o;n;s;o;l;e;.;e;x;e". The path to the render executable can be configured from the Plugin Configuration in the Deadline Monitor.
   at Deadline.Plugins.DeadlinePlugin.FailRender(String message) (Python.Runtime.PythonException)
  File "C:\ProgramData\Thinkbox\Deadline10\workers\MIF-TECH000\plugins\653822b382293632241930b9\Ayon.py", line 108, in RenderExecutable
    "from the Plugin Configuration in the Deadline Monitor.")
   at Python.Runtime.Dispatcher.Dispatch(ArrayList args)
   at __FranticX_GenericDelegate0`1\[\[System_String\, System_Private_CoreLib\, Version=4_0_0_0\, Culture=neutral\, PublicKeyToken=7cec85d7bea7798e\]\]Dispatcher.Invoke()
   at FranticX.Processes.ManagedProcess.RenderExecutable()
   at Deadline.Plugins.DeadlinePlugin.RenderExecutable()
   at FranticX.Processes.ManagedProcess.Execute(Boolean waitForExit)
   at Deadline.Plugins.PluginWrapper.RenderTasks(Task task, String& outMessage, AbortLevel& abortLevel)

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

=======================================================
Stack Trace
=======================================================
   at Deadline.Plugins.SandboxedPlugin.d(DeadlineMessage bgj, CancellationToken bgk)
   at Deadline.Plugins.SandboxedPlugin.RenderTask(Task task, CancellationToken cancellationToken)
   at Deadline.Slaves.SlaveRenderThread.c(TaskLogWriter ajq, CancellationToken ajr)

=======================================================
Log
=======================================================
2023-10-24 16:03:29:  0: Render Thread - Render State transition from = 'ReceivedTask' to = 'Other'
2023-10-24 16:03:29:  0: Plugin will be reloaded because a new job has been loaded.
2023-10-24 16:03:29:  0: Loading Job's Plugin timeout is Disabled
2023-10-24 16:03:29:  0: SandboxedPlugin: Render Job As User disabled, running as current user 'autobot'
2023-10-24 16:03:31:  0: Loaded plugin Ayon
2023-10-24 16:03:31:  0: Executing plugin command of type 'Initialize Plugin'
2023-10-24 16:03:31:  0: DEBUG: InitializePlugin: debug logging enabled
2023-10-24 16:03:31:  0: DEBUG: InitializePlugin: m_pluginParamFilename = 'C:\ProgramData\Thinkbox\Deadline10\workers\MIF-TECH000\plugins\653822b382293632241930b9\Ayon.param'
2023-10-24 16:03:31:  0: DEBUG: InitializePlugin: m_pluginScriptFilename = 'C:\ProgramData\Thinkbox\Deadline10\workers\MIF-TECH000\plugins\653822b382293632241930b9\Ayon.py'
2023-10-24 16:03:31:  0: DEBUG: InitializePlugin: m_pluginPreLoadFilename = 'C:\ProgramData\Thinkbox\Deadline10\workers\MIF-TECH000\plugins\653822b382293632241930b9\PluginPreLoad.py'
2023-10-24 16:03:31:  0: DEBUG: InitializePlugin: m_jobPreLoadFilename = 'C:\ProgramData\Thinkbox\Deadline10\workers\MIF-TECH000\plugins\653822b382293632241930b9\JobPreLoad.py'
2023-10-24 16:03:31:  0: DEBUG: InitializePlugin: Checking for Plugin Pre-Load
2023-10-24 16:03:31:  0: DEBUG: InitializePlugin: Loading Plugin...
2023-10-24 16:03:31:  0: INFO: Executing plugin script 'C:\ProgramData\Thinkbox\Deadline10\workers\MIF-TECH000\plugins\653822b382293632241930b9\Ayon.py'
2023-10-24 16:03:31:  0: INFO: Plugin execution sandbox using Python version 3
2023-10-24 16:03:31:  0: DEBUG: InitializePlugin: getting job user
2023-10-24 16:03:31:  0: DEBUG: InitializePlugin: setting job filenames
2023-10-24 16:03:31:  0: DEBUG: InitializePlugin: Obtaining Deadline plugin object
2023-10-24 16:03:31:  0: DEBUG: InitializePlugin: Setting internal variables and delegates
2023-10-24 16:03:31:  0: DEBUG: InitializePlugin: Preparing Environment Variables
2023-10-24 16:03:31:  0: DEBUG: InitializePlugin: Obtaining network settings
2023-10-24 16:03:31:  0: DEBUG: InitializePlugin: Initializing Deadline plugin
2023-10-24 16:03:31:  0: INFO: Single Frames Only: False
2023-10-24 16:03:31:  0: DEBUG: This is a simple plugin job.
2023-10-24 16:03:31:  0: INFO: About: Ayon Plugin for Deadline
2023-10-24 16:03:31:  0: INFO: The job's environment will be merged with the current environment before rendering
2023-10-24 16:03:31:  0: DEBUG: InitializePlugin: returning
2023-10-24 16:03:31:  0: Done executing plugin command of type 'Initialize Plugin'
2023-10-24 16:03:31:  0: Start Job timeout is disabled.
2023-10-24 16:03:31:  0: Task timeout is disabled.
2023-10-24 16:03:31:  0: Loaded job: Publish - redshift_ropTest (653822b382293632241930b9)
2023-10-24 16:03:31:  0: Skipping P: because it is already mapped
2023-10-24 16:03:31:  0: Skipping R: because it is already mapped
2023-10-24 16:03:31:  0: Skipping S: because it is already mapped
2023-10-24 16:03:31:  0: Skipping T: because it is already mapped
2023-10-24 16:03:31:  0: Error mapping J: to \\bigfoot\editing: The operation being requested was not performed because the user has not been authenticated.
2023-10-24 16:03:31:  0: Skipping K: because it is already mapped
2023-10-24 16:03:31:  0: Error mapping Z: to \\bigfoot\rez\: The operation being requested was not performed because the user has not been authenticated.
2023-10-24 16:03:31:  0: Skipping V: because it is already mapped
2023-10-24 16:03:31:  0: Skipping Q: because it is already mapped
2023-10-24 16:03:31:  0: Executing plugin command of type 'Start Job'
2023-10-24 16:03:31:  0: DEBUG: StartJob: called
2023-10-24 16:03:31:  0: DEBUG: StartJob: Checking for Job Pre-Load
2023-10-24 16:03:31:  0: DEBUG: S3BackedCache Client is not installed.
2023-10-24 16:03:31:  0: DEBUG: GlobalAssetTransferPreLoadJob: called
2023-10-24 16:03:31:  0: INFO: Executing global asset transfer preload script 'C:\ProgramData\Thinkbox\Deadline10\workers\MIF-TECH000\plugins\653822b382293632241930b9\GlobalAssetTransferPreLoad.py'
2023-10-24 16:03:32:  0: INFO: Looking for legacy (pre-10.0.26) AWS Portal File Transfer...
2023-10-24 16:03:32:  0: INFO: Looking for legacy (pre-10.0.26) File Transfer controller in C:/Program Files/Thinkbox/S3BackedCache/bin/task.py...
2023-10-24 16:03:32:  0: INFO: Could not find legacy (pre-10.0.26) AWS Portal File Transfer.
2023-10-24 16:03:32:  0: INFO: Legacy (pre-10.0.26) AWS Portal File Transfer is not installed on the system.
2023-10-24 16:03:32:  0: DEBUG: GlobalAssetTransferPreLoadJob: returning
2023-10-24 16:03:32:  0: DEBUG: GlobalPreLoadJob: called
2023-10-24 16:03:32:  0: INFO: Executing global job preload script 'C:\ProgramData\Thinkbox\Deadline10\workers\MIF-TECH000\plugins\653822b382293632241930b9\GlobalJobPreLoad.py'
2023-10-24 16:03:32:  0: PYTHON: *** GlobalJobPreload start ...
2023-10-24 16:03:32:  0: PYTHON: >>> Getting job ...
2023-10-24 16:03:32:  0: PYTHON: >>> Injecting render job id ...
2023-10-24 16:03:32:  0: PYTHON: >>> Dependency IDs: System.String[]
2023-10-24 16:03:32:  0: INFO: Setting Process Environment Variable RENDER_JOB_IDS to 653822b382293632241930b7
2023-10-24 16:03:32:  0: PYTHON: >>> Injection end.
2023-10-24 16:03:32:  0: DEBUG: GlobalPreLoadJob: returning
2023-10-24 16:03:32:  0: DEBUG: StartJob: Starting Job...
2023-10-24 16:03:32:  0: DEBUG: StartJob: returning
2023-10-24 16:03:32:  0: Done executing plugin command of type 'Start Job'
2023-10-24 16:03:32:  0: Plugin rendering frame(s): 0
2023-10-24 16:03:32:  0: Render Thread - Render State transition from = 'Other' to = 'Rendering'
2023-10-24 16:03:32:  0: Executing plugin command of type 'Render Task'
2023-10-24 16:03:32:  0: DEBUG: RenderTasks: called
2023-10-24 16:03:32:  0: DEBUG: RenderTasks: rendering frames 0 to 0
2023-10-24 16:03:32:  0: DEBUG: ManagedProcess.Execute: debug logging enabled
2023-10-24 16:03:32:  0: DEBUG: ManagedProcess.Execute: called
2023-10-24 16:03:32:  0: DEBUG: ManagedProcess.Execute: calling PreRenderTasks()
2023-10-24 16:03:32:  0: DEBUG: ManagedProcess.Execute: setting up child process
2023-10-24 16:03:32:  0: INFO: Stdout Redirection Enabled: True
2023-10-24 16:03:32:  0: INFO: Stdout Handling Enabled: True
2023-10-24 16:03:32:  0: INFO: Popup Handling Enabled: False
2023-10-24 16:03:32:  0: INFO: Using Process Tree: True
2023-10-24 16:03:32:  0: INFO: Hiding DOS Window: True
2023-10-24 16:03:32:  0: INFO: Creating New Console: False
2023-10-24 16:03:32:  0: INFO: Running as user: autobot
2023-10-24 16:03:32:  0: INFO: Setting Process Environment Variable AYON_SERVER_URL to http://lobot:5000
2023-10-24 16:03:32:  0: INFO: Setting Process Environment Variable AYON_API_KEY to dbbebb7e349f47d7976c6c93bdaa1b26
2023-10-24 16:03:32:  0: INFO: Setting Process Environment Variable AYON_BUNDLE_NAME to 2023.09.0-full_shotgrid-2023-10-18-02_Test_Brno-02
2023-10-24 16:03:32:  0: Done executing plugin command of type 'Render Task'

=======================================================
Details
=======================================================
Date: 10/24/2023 16:03:35
Frames: 0
Elapsed Time: 00:00:00:06
Job Submit Date: 10/24/2023 16:01:55
Job User: bortega
Average RAM Usage: 11882590208 (9%)
Peak RAM Usage: 11882590208 (9%)
Average CPU Usage: 2%
Peak CPU Usage: 3%
Used CPU Clocks (x10^6 cycles): 5425
Total CPU Clocks (x10^6 cycles): 271231

=======================================================
Worker Information
=======================================================
Worker Name: MIF-TECH000
Version: v10.1.23.6 Release (773a6289d)
Operating System: Windows 10 Pro
Running As Service: Yes
Machine User: autobot
IP Address: 10.235.130.36
MAC Address: 04:42:1A:0B:D3:DE
CPU Architecture: x64
CPUs: 28
CPU Usage: 3%
Memory Usage: 11.1 GB / 127.7 GB (8%)
Free Disk Space: 1.168 TB (266.188 GB on C:\, 929.440 GB on D:\)
Video Card: NVIDIA RTX A4000
1 Like

Great! So that I believe is a bug that has already been fixed.

I think you might have an outdated Ayon Deadline Plugin. I think you might have this indentation issue in the code and you’re lacking that commit. Probably best to update your Ayon Deadline Plugin with the one from develop, so basically this folder.


However I do think there’s currently still a bug in the code where the raised error message will have the ; in-between each character since here we’re doing ";".join(exe_list) even though exe_list is actually a str that already exists of paths joined together by ;. But the bug should only mean that the error message is formatted wrong with the code in develop but it should be able to search the exe in the file list just fine.

I’ve opened this PR to maybe fix the error message itself + added the environment var fix that fixed it for you.

I tried with the updated Ayon Plugin folder and now I got this.
At least it is new error so we are making progress here, thank you.

=======================================================
Error
=======================================================
Error: Renderer returned non-zero error code, 1. Check the log for more information.
   at Deadline.Plugins.PluginWrapper.RenderTasks(Task task, String& outMessage, AbortLevel& abortLevel)

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

=======================================================
Stack Trace
=======================================================
   at Deadline.Plugins.SandboxedPlugin.d(DeadlineMessage bgj, CancellationToken bgk)
   at Deadline.Plugins.SandboxedPlugin.RenderTask(Task task, CancellationToken cancellationToken)
   at Deadline.Slaves.SlaveRenderThread.c(TaskLogWriter ajq, CancellationToken ajr)

=======================================================
Log
=======================================================
2023-10-24 18:18:39:  0: Render Thread - Render State transition from = 'ReceivedTask' to = 'Other'
2023-10-24 18:18:39:  0: Loading Job's Plugin timeout is Disabled
2023-10-24 18:18:39:  0: SandboxedPlugin: Render Job As User disabled, running as current user 'autobot'
2023-10-24 18:18:41:  0: Loaded plugin Ayon
2023-10-24 18:18:41:  0: Executing plugin command of type 'Initialize Plugin'
2023-10-24 18:18:41:  0: DEBUG: InitializePlugin: debug logging enabled
2023-10-24 18:18:41:  0: DEBUG: InitializePlugin: m_pluginParamFilename = 'C:\ProgramData\Thinkbox\Deadline10\workers\MIF-TECH000\plugins\653842a8b4f77607944faf27\Ayon.param'
2023-10-24 18:18:41:  0: DEBUG: InitializePlugin: m_pluginScriptFilename = 'C:\ProgramData\Thinkbox\Deadline10\workers\MIF-TECH000\plugins\653842a8b4f77607944faf27\Ayon.py'
2023-10-24 18:18:41:  0: DEBUG: InitializePlugin: m_pluginPreLoadFilename = 'C:\ProgramData\Thinkbox\Deadline10\workers\MIF-TECH000\plugins\653842a8b4f77607944faf27\PluginPreLoad.py'
2023-10-24 18:18:41:  0: DEBUG: InitializePlugin: m_jobPreLoadFilename = 'C:\ProgramData\Thinkbox\Deadline10\workers\MIF-TECH000\plugins\653842a8b4f77607944faf27\JobPreLoad.py'
2023-10-24 18:18:41:  0: DEBUG: InitializePlugin: Checking for Plugin Pre-Load
2023-10-24 18:18:41:  0: DEBUG: InitializePlugin: Loading Plugin...
2023-10-24 18:18:41:  0: INFO: Executing plugin script 'C:\ProgramData\Thinkbox\Deadline10\workers\MIF-TECH000\plugins\653842a8b4f77607944faf27\Ayon.py'
2023-10-24 18:18:41:  0: INFO: Plugin execution sandbox using Python version 3
2023-10-24 18:18:41:  0: DEBUG: InitializePlugin: getting job user
2023-10-24 18:18:41:  0: DEBUG: InitializePlugin: setting job filenames
2023-10-24 18:18:41:  0: DEBUG: InitializePlugin: Obtaining Deadline plugin object
2023-10-24 18:18:41:  0: DEBUG: InitializePlugin: Setting internal variables and delegates
2023-10-24 18:18:41:  0: DEBUG: InitializePlugin: Preparing Environment Variables
2023-10-24 18:18:41:  0: DEBUG: InitializePlugin: Obtaining network settings
2023-10-24 18:18:41:  0: DEBUG: InitializePlugin: Initializing Deadline plugin
2023-10-24 18:18:41:  0: INFO: Single Frames Only: False
2023-10-24 18:18:41:  0: DEBUG: This is a simple plugin job.
2023-10-24 18:18:41:  0: INFO: About: Ayon Plugin for Deadline
2023-10-24 18:18:41:  0: INFO: The job's environment will be merged with the current environment before rendering
2023-10-24 18:18:41:  0: DEBUG: InitializePlugin: returning
2023-10-24 18:18:41:  0: Done executing plugin command of type 'Initialize Plugin'
2023-10-24 18:18:41:  0: Start Job timeout is disabled.
2023-10-24 18:18:41:  0: Task timeout is disabled.
2023-10-24 18:18:41:  0: Loaded job: Publish - redshift_ropTest_new (653842a8b4f77607944faf27)
2023-10-24 18:18:41:  0: Skipping P: because it is already mapped
2023-10-24 18:18:41:  0: Skipping R: because it is already mapped
2023-10-24 18:18:41:  0: Skipping S: because it is already mapped
2023-10-24 18:18:41:  0: Skipping T: because it is already mapped
2023-10-24 18:18:41:  0: Error mapping J: to \\bigfoot\editing: A device attached to the system is not functioning.
2023-10-24 18:18:41:  0: Skipping K: because it is already mapped
2023-10-24 18:18:41:  0: Error mapping Z: to \\bigfoot\rez\: A device attached to the system is not functioning.
2023-10-24 18:18:41:  0: Skipping V: because it is already mapped
2023-10-24 18:18:41:  0: Skipping Q: because it is already mapped
2023-10-24 18:18:42:  0: Executing plugin command of type 'Start Job'
2023-10-24 18:18:42:  0: DEBUG: StartJob: called
2023-10-24 18:18:42:  0: DEBUG: StartJob: Checking for Job Pre-Load
2023-10-24 18:18:42:  0: DEBUG: S3BackedCache Client is not installed.
2023-10-24 18:18:42:  0: DEBUG: GlobalAssetTransferPreLoadJob: called
2023-10-24 18:18:42:  0: INFO: Executing global asset transfer preload script 'C:\ProgramData\Thinkbox\Deadline10\workers\MIF-TECH000\plugins\653842a8b4f77607944faf27\GlobalAssetTransferPreLoad.py'
2023-10-24 18:18:42:  0: INFO: Looking for legacy (pre-10.0.26) AWS Portal File Transfer...
2023-10-24 18:18:42:  0: INFO: Looking for legacy (pre-10.0.26) File Transfer controller in C:/Program Files/Thinkbox/S3BackedCache/bin/task.py...
2023-10-24 18:18:42:  0: INFO: Could not find legacy (pre-10.0.26) AWS Portal File Transfer.
2023-10-24 18:18:42:  0: INFO: Legacy (pre-10.0.26) AWS Portal File Transfer is not installed on the system.
2023-10-24 18:18:42:  0: DEBUG: GlobalAssetTransferPreLoadJob: returning
2023-10-24 18:18:42:  0: DEBUG: GlobalPreLoadJob: called
2023-10-24 18:18:42:  0: INFO: Executing global job preload script 'C:\ProgramData\Thinkbox\Deadline10\workers\MIF-TECH000\plugins\653842a8b4f77607944faf27\GlobalJobPreLoad.py'
2023-10-24 18:18:42:  0: PYTHON: *** GlobalJobPreload start ...
2023-10-24 18:18:42:  0: PYTHON: >>> Getting job ...
2023-10-24 18:18:42:  0: PYTHON: >>> Injecting render job id ...
2023-10-24 18:18:42:  0: PYTHON: >>> Dependency IDs: System.String[]
2023-10-24 18:18:42:  0: INFO: Setting Process Environment Variable RENDER_JOB_IDS to 653822b382293632241930b7
2023-10-24 18:18:42:  0: PYTHON: >>> Injection end.
2023-10-24 18:18:42:  0: DEBUG: GlobalPreLoadJob: returning
2023-10-24 18:18:42:  0: DEBUG: StartJob: Starting Job...
2023-10-24 18:18:42:  0: DEBUG: StartJob: returning
2023-10-24 18:18:42:  0: Done executing plugin command of type 'Start Job'
2023-10-24 18:18:42:  0: Plugin rendering frame(s): 0
2023-10-24 18:18:42:  0: Render Thread - Render State transition from = 'Other' to = 'Rendering'
2023-10-24 18:18:42:  0: Executing plugin command of type 'Render Task'
2023-10-24 18:18:42:  0: DEBUG: RenderTasks: called
2023-10-24 18:18:42:  0: DEBUG: RenderTasks: rendering frames 0 to 0
2023-10-24 18:18:42:  0: DEBUG: ManagedProcess.Execute: debug logging enabled
2023-10-24 18:18:42:  0: DEBUG: ManagedProcess.Execute: called
2023-10-24 18:18:42:  0: DEBUG: ManagedProcess.Execute: calling PreRenderTasks()
2023-10-24 18:18:42:  0: DEBUG: ManagedProcess.Execute: setting up child process
2023-10-24 18:18:42:  0: INFO: Stdout Redirection Enabled: True
2023-10-24 18:18:42:  0: INFO: Stdout Handling Enabled: True
2023-10-24 18:18:42:  0: INFO: Popup Handling Enabled: False
2023-10-24 18:18:42:  0: INFO: Using Process Tree: True
2023-10-24 18:18:42:  0: INFO: Hiding DOS Window: True
2023-10-24 18:18:42:  0: INFO: Creating New Console: False
2023-10-24 18:18:42:  0: INFO: Running as user: autobot
2023-10-24 18:18:42:  0: INFO: Setting Process Environment Variable AYON_SERVER_URL to http://lobot:5000
2023-10-24 18:18:42:  0: INFO: Setting Process Environment Variable AYON_API_KEY to dbbebb7e349f47d7976c6c93bdaa1b26
2023-10-24 18:18:42:  0: INFO: Setting Process Environment Variable AYON_BUNDLE_NAME to 2023.09.0-full_shotgrid-2023-10-18-02_Test_Brno-02
2023-10-24 18:18:42:  0: INFO: Executable: "C:/Program Files/Ynput/AYON 1.0.0-beta.5/ayon_console.exe"
2023-10-24 18:18:42:  0: INFO: Argument: --headless publish "{root[work]}/marz_pro_test/sequences/BR_1001/BR_1001_1010/work/Lighting/pyblish/renders/redshift_ropTest/redshift_ropTest_metadata.json" --targets deadline --targets farm
2023-10-24 18:18:42:  0: INFO: Full Command: "C:/Program Files/Ynput/AYON 1.0.0-beta.5/ayon_console.exe" --headless publish "{root[work]}/marz_pro_test/sequences/BR_1001/BR_1001_1010/work/Lighting/pyblish/renders/redshift_ropTest/redshift_ropTest_metadata.json" --targets deadline --targets farm
2023-10-24 18:18:42:  0: INFO: Startup Directory: "C:\Program Files\Ynput\AYON 1.0.0-beta.5"
2023-10-24 18:18:42:  0: DEBUG: ManagedProcess.Execute: launching the child process
2023-10-24 18:18:42:  0: INFO: Process Priority: BelowNormal
2023-10-24 18:18:42:  0: INFO: Process Affinity: default
2023-10-24 18:18:42:  0: INFO: Process is now running
2023-10-24 18:18:42:  0: DEBUG: ManagedProcess.Execute: waiting for child process to exit
2023-10-24 18:18:43:  0: DEBUG: ManagedProcess.Execute: m_process.IsRunning(): True    m_process.IsStdoutAvailable(): False
2023-10-24 18:18:43:  0: DEBUG: ManagedProcess.HandleStdoutLine: parsing stdout: !!! Cannot open v4 Login dialog in headless mode.
2023-10-24 18:18:43:  0: STDOUT: !!! Cannot open v4 Login dialog in headless mode.
2023-10-24 18:18:43:  0: DEBUG: ManagedProcess.HandleStdoutLine: parsing stdout: !!! Please use `AYON_SERVER_URL` to specify server address and 'AYON_API_KEY' to specify user's token.
2023-10-24 18:18:43:  0: STDOUT: !!! Please use `AYON_SERVER_URL` to specify server address and 'AYON_API_KEY' to specify user's token.
2023-10-24 18:18:43:  0: DEBUG: ManagedProcess.Execute: m_process.IsRunning(): False    m_process.IsStdoutAvailable(): False
2023-10-24 18:18:43:  0: DEBUG: ManagedProcess.Execute: child process has exited
2023-10-24 18:18:43:  0: DEBUG: ManagedProcess.Execute: checking exit code
2023-10-24 18:18:43:  0: INFO: Process exit code: 1
2023-10-24 18:18:43:  0: DEBUG: ManagedProcess.Execute: calling CheckExitCode()
2023-10-24 18:18:43:  0: DEBUG: ManagedProcess.Execute: returning
2023-10-24 18:18:43:  0: Done executing plugin command of type 'Render Task'

=======================================================
Details
=======================================================
Date: 10/24/2023 18:18:47
Frames: 0
Elapsed Time: 00:00:00:08
Job Submit Date: 10/24/2023 18:18:16
Job User: bortega
Average RAM Usage: 10542841856 (8%)
Peak RAM Usage: 10542841856 (8%)
Average CPU Usage: 2%
Peak CPU Usage: 9%
Used CPU Clocks (x10^6 cycles): 7658
Total CPU Clocks (x10^6 cycles): 382854

=======================================================
Worker Information
=======================================================
Worker Name: MIF-TECH000
Version: v10.1.23.6 Release (773a6289d)
Operating System: Windows 10 Pro
Running As Service: Yes
Machine User: autobot
IP Address: 10.235.130.36
MAC Address: 04:42:1A:0B:D3:DE
CPU Architecture: x64
CPUs: 28
CPU Usage: 2%
Memory Usage: 9.8 GB / 127.7 GB (7%)
Free Disk Space: 1.168 TB (266.177 GB on C:\, 929.532 GB on D:\)
Video Card: NVIDIA RTX A4000

Funny - that’s actually a familiar error, because it’s basically the one we solved for GlobalJobPreLoad for the render job itself. I think here you might need to now add the other self.SetEnvironmentVariable(env, val) since we’re actually trying to update local plugin job that environment variable that triggers an unmanaged executable because it’s a PluginType.Simple plugin?

And that was it!, yep it WORKS!, the job went through and it moved the work files (rendered frames under publish folder)
Just want to mention there is some errors in the log, adding here just in case the log need some polish.

So all good now, thank you @BigRoy

That’s great - those error logs are on the radar and are being worked on by @tokestuartjepsen in this PR.

Sweet!, then all good!
Thank you BigRoy

I’d like to extend my thanks with helping us through this issue. Big help from BigRoy!

Cheers,