Nuke Expression write node not rendering in Deadline

hello, I’ve been having an issue with the expressions in Nuke when it comes to rendering via Deadline. Here’s what the setup is.

I’m using the “Auto Write Nuke v1.0” from Nukapedia. The expression I have in the “File” section is as follows.
“[value ShotRenderFolder][value shotVersion]/[value shotVersion]_####.exr”

When I render locally, all is great. Files render with proper file name and makes me smile.

When I render on Deadline the files doesn’t write. When I add in a direct path manually (without the expression) . The file writes fine on Deadline.

So I’m not sure what’s happening or not happening, Any thoughts on why this would happen?

Would you be able to share a task report where files aren’t getting written? My assumption is the Deadline is calling Nuke in a way that keeps those tokens from getting translated, but I’m not sure how that would look.

=======================================================
Log

2023-08-28 11:38:38: 0: Render Thread - Render State transition from = ‘ReceivedTask’ to = ‘Other’
2023-08-28 11:38:38: 0: Plugin will be reloaded because a new job has been loaded.
2023-08-28 11:38:38: 0: Loading Job’s Plugin timeout is Disabled
2023-08-28 11:38:38: 0: SandboxedPlugin: Render Job As User disabled, running as current user ‘xyz’
2023-08-28 11:38:40: 0: Loaded plugin Nuke
2023-08-28 11:38:40: 0: Executing plugin command of type ‘Initialize Plugin’
2023-08-28 11:38:40: 0: INFO: Executing plugin script ‘C:\ProgramData\Thinkbox\Deadline10\workers\fiona\plugins\64ece9addb6afad050e32d3c\Nuke.py’
2023-08-28 11:38:40: 0: INFO: Plugin execution sandbox using Python version 3
2023-08-28 11:38:40: 0: INFO: About: Nuke Plugin for Deadline
2023-08-28 11:38:40: 0: INFO: The job’s environment will be merged with the current environment before rendering
2023-08-28 11:38:40: 0: Done executing plugin command of type ‘Initialize Plugin’
2023-08-28 11:38:40: 0: Start Job timeout is disabled.
2023-08-28 11:38:40: 0: Task timeout is disabled.
2023-08-28 11:38:40: 0: Loaded job: Autowrite_v001_RenderTest_JLO.nk (64ece9addb6afad050e32d3c)
2023-08-28 11:38:40: 0: Skipping Z: because it is already mapped
2023-08-28 11:38:40: 0: Executing plugin command of type ‘Start Job’
2023-08-28 11:38:40: 0: DEBUG: S3BackedCache Client is not installed.
2023-08-28 11:38:40: 0: INFO: Executing global asset transfer preload script ‘C:\ProgramData\Thinkbox\Deadline10\workers\fiona\plugins\64ece9addb6afad050e32d3c\GlobalAssetTransferPreLoad.py’
2023-08-28 11:38:40: 0: INFO: Looking for legacy (pre-10.0.26) AWS Portal File Transfer…
2023-08-28 11:38:40: 0: INFO: Looking for legacy (pre-10.0.26) File Transfer controller in C:/Program Files/Thinkbox/S3BackedCache/bin/task.py…
2023-08-28 11:38:40: 0: INFO: Could not find legacy (pre-10.0.26) AWS Portal File Transfer.
2023-08-28 11:38:40: 0: INFO: Legacy (pre-10.0.26) AWS Portal File Transfer is not installed on the system.
2023-08-28 11:38:40: 0: INFO: Prepping OFX cache
2023-08-28 11:38:40: 0: INFO: Checking Nuke temp path: C:\Users\xyz\AppData\Local\Temp\nuke
2023-08-28 11:38:40: 0: INFO: Path already exists
2023-08-28 11:38:40: 0: INFO: OFX cache prepped
2023-08-28 11:38:40: 0: INFO: Starting monitored managed process Nuke
2023-08-28 11:38:40: 0: INFO: Enable Path Mapping: True
2023-08-28 11:38:40: 0: INFO: Stdout Redirection Enabled: True
2023-08-28 11:38:40: 0: INFO: Stdout Handling Enabled: True
2023-08-28 11:38:40: 0: INFO: Popup Handling Enabled: True
2023-08-28 11:38:40: 0: INFO: QT Popup Handling Enabled: False
2023-08-28 11:38:40: 0: INFO: WindowsForms10.Window.8.app.* Popup Handling Enabled: False
2023-08-28 11:38:40: 0: INFO: Using Process Tree: True
2023-08-28 11:38:40: 0: INFO: Hiding DOS Window: True
2023-08-28 11:38:40: 0: INFO: Creating New Console: False
2023-08-28 11:38:40: 0: INFO: Running as user: xyz
2023-08-28 11:38:40: 0: INFO: Executable: “C:\Program Files\Nuke11.3v6\Nuke11.3.exe”
2023-08-28 11:38:40: 0: INFO: Setting Process Environment Variable EDDY_DEVICE_LIST to
2023-08-28 11:38:40: 0: INFO: This Worker is in the interactive license list - an interactive license will be used instead of a render license
2023-08-28 11:38:40: 0: INFO: Argument: -V 2 -i -t “C:\ProgramData\Thinkbox\Deadline10\workers\fiona\jobsData\64ece9addb6afad050e32d3c\thread0_temp8RvNL0\Autowrite_v001_RenderTest_JLO.nk”
2023-08-28 11:38:40: 0: INFO: Full Command: “C:\Program Files\Nuke11.3v6\Nuke11.3.exe” -V 2 -i -t “C:\ProgramData\Thinkbox\Deadline10\workers\fiona\jobsData\64ece9addb6afad050e32d3c\thread0_temp8RvNL0\Autowrite_v001_RenderTest_JLO.nk”
2023-08-28 11:38:40: 0: INFO: Startup Directory: “C:\Program Files\Nuke11.3v6”
2023-08-28 11:38:40: 0: INFO: Process Priority: BelowNormal
2023-08-28 11:38:40: 0: INFO: Process Affinity: default
2023-08-28 11:38:40: 0: INFO: Process is now running
2023-08-28 11:38:40: 0: Done executing plugin command of type ‘Start Job’
2023-08-28 11:38:40: 0: Plugin rendering frame(s): 1
2023-08-28 11:38:40: 0: Render Thread - Render State transition from = ‘Other’ to = ‘Rendering’
2023-08-28 11:38:41: 0: Executing plugin command of type ‘Render Task’
2023-08-28 11:38:41: 0: INFO: Rendering write node auto_write_node5
2023-08-28 11:38:41: 0: STDOUT: Nuke 11.3v6, 64 bit, built Nov 7 2019.
2023-08-28 11:38:41: 0: STDOUT: Copyright (c) 2019 The Foundry Visionmongers Ltd. All Rights Reserved.
2023-08-28 11:38:41: 0: STDOUT: Loading C:/Program Files/Nuke11.3v6/plugins/_pathsetup.py
2023-08-28 11:38:42: 0: STDOUT: Loading C:/Program Files/Nuke11.3v6/plugins/init.tcl
2023-08-28 11:38:42: 0: STDOUT: Loading C:/Program Files/Nuke11.3v6/plugins/init.py
2023-08-28 11:38:42: 0: STDOUT: Loading C:/Program Files/Nuke11.3v6/plugins/setenv.tcl
2023-08-28 11:38:42: 0: STDOUT: Loading C:/Program Files/Nuke11.3v6/plugins/formats.tcl
2023-08-28 11:38:42: 0: STDOUT: Loading C:/Users/xyz/.nuke/init.py
2023-08-28 11:38:43: 0: STDOUT: Loading C:/Program Files/Nuke11.3v6/plugins/getenv.tcl
2023-08-28 11:38:43: 0: STDOUT: Loading C:/Program Files/Nuke11.3v6/plugins/OCIOColorSpace.dll
2023-08-28 11:38:43: 0: STDOUT: Loading C:/Program Files/Nuke11.3v6/plugins/exrReader.dll
2023-08-28 11:38:43: 0: STDOUT: Loading C:/Program Files/Nuke11.3v6/plugins/ColorWheel.dll
2023-08-28 11:38:43: 0: STDOUT: Loading C:/Program Files/Nuke11.3v6/plugins/exrWriter.dll
2023-08-28 11:38:43: 0: STDOUT: [11:38:43 Pacific Daylight Time] Read nuke script: C:/ProgramData/Thinkbox/Deadline10/workers/Fiona/jobsData/64ece9addb6afad050e32d3c/thread0_temp8RvNL0/Autowrite_v001_RenderTest_JLO.nk
2023-08-28 11:38:43: 0: STDOUT: Writing C:/ProgramData/Thinkbox/Deadline10/workers/Fiona/jobsData/64ece9addb6afad050e32d3c\output/BTY_renders/Autowrite_v001_RenderTest_JLO/Autowrite_v001_RenderTest_JLO_Farm.0001.exr
2023-08-28 11:38:43: 0: STDOUT: Writing C:/ProgramData/Thinkbox/Deadline10/workers/Fiona/jobsData/64ece9addb6afad050e32d3c\output/BTY_renders/Autowrite_v001_RenderTest_JLO/Autowrite_v001_RenderTest_JLO_Farm.0001.exr took 0.45 seconds
2023-08-28 11:38:43: 0: STDOUT: Total render time: 0.45 seconds
2023-08-28 11:38:43: 0: STDOUT: .9Frame 1 (1 of 1)
2023-08-28 11:38:43: 0: STDOUT: READY FOR INPUT
2023-08-28 11:38:43: 0: Done executing plugin command of type ‘Render Task’
2023-08-28 11:38:43: 0: Render time for frame(s): 3.450 s
2023-08-28 11:38:43: 0: Total time for task: 6.438 s
2023-08-28 11:38:44: 0: Saving task log…

Interesting! I’ve done nothing with Nuke plugins; does that plugin maybe need to be installed on the ‘fiona’ machine in addition to being on your local machine? That would explain why it’s not being parsed correctly.

Or does the plugin not work when the Nuke script is run through terminal mode? We can test that by unchecking ‘Use Batch Mode’ at submission time. That way Deadline will have Nuke run specific write node(s) versus using the defaults in the Nuke script.

It may not make a difference, but it may show us more information.

Thanks!