AWS Thinkbox Discussion Forums

Terragen license error

Hello,

I am currently receiving an error on a new batch of nodes on our farm while submitting Terragen. Older nodes are successfully rendering the tasks.
FailRenderException : ERROR: Command line arguments are not supported in the Free Non-Commercial Edition.

The GUI for Terragen opens licensed on both new and old nodes.
All nodes are using deadline 10.1 and Terragen 4.1.21.
I do not see any firewall exception differences between old and new nodes.

Full error below, appreciate any guidance.
=======================================================
Error

FailRenderException : ERROR: Command line arguments are not supported in the Free Non-Commercial Edition.
at Deadline.Plugins.DeadlinePlugin.FailRender(String message) (Python.Runtime.PythonException)
File “C:\Users\XXXXX\AppData\Local\Thinkbox\Deadline10\slave\XXXX\plugins\60c8dbcac380651470918568\Terragen.py”, line 189, in HandleError
self.FailRender( self.GetRegexMatch( 0 ) )
at Python.Runtime.Dispatcher.Dispatch(ArrayList args)
at __FranticX_Processes_ManagedProcess_StdoutHandlerDelegateDispatcher.Invoke()
at FranticX.Processes.ManagedProcess.RegexHandlerCallback.CallFunction()
at FranticX.Processes.ManagedProcess.e(String dg, Boolean dh)
at FranticX.Processes.ManagedProcess.Execute(Boolean waitForExit)
at Deadline.Plugins.DeadlinePlugin.DoRenderTasks()
at Deadline.Plugins.PluginWrapper.RenderTasks(Task task, String& outMessage, AbortLevel& abortLevel)
at Deadline.Plugins.PluginWrapper.RenderTasks(Task task, String& outMessage, AbortLevel& abortLevel)

=======================================================
Type

RenderPluginException

=======================================================
Stack Trace

at Deadline.Plugins.SandboxedPlugin.d(DeadlineMessage bcw, CancellationToken bcx)
at Deadline.Plugins.SandboxedPlugin.RenderTask(Task task, CancellationToken cancellationToken)
at Deadline.Slaves.SlaveRenderThread.c(TaskLogWriter aew, CancellationToken aex)

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

2021-06-16 07:14:59: 0: Loading Job’s Plugin timeout is Disabled
2021-06-16 07:15:01: 0: Executing plugin command of type ‘Sync Files for Job’
2021-06-16 07:15:01: 0: All job files are already synchronized
2021-06-16 07:15:01: 0: Plugin Terragen was already synchronized.
2021-06-16 07:15:01: 0: Done executing plugin command of type ‘Sync Files for Job’
2021-06-16 07:15:01: 0: Executing plugin command of type ‘Initialize Plugin’
2021-06-16 07:15:01: 0: INFO: Executing plugin script ‘C:\Users\svc-XXXXXX\AppData\Local\Thinkbox\Deadline10\slave\XXXXX\plugins\60c8dbcac380651470918568\Terragen.py’
2021-06-16 07:15:01: 0: INFO: About: Terragen Plugin for Deadline
2021-06-16 07:15:01: 0: INFO: Render Job As User disabled, running as current user ‘XXXXXX’
2021-06-16 07:15:01: 0: INFO: The job’s environment will be merged with the current environment before rendering
2021-06-16 07:15:01: 0: Done executing plugin command of type ‘Initialize Plugin’
2021-06-16 07:15:01: 0: Start Job timeout is disabled.
2021-06-16 07:15:01: 0: Task timeout is disabled.
2021-06-16 07:15:01: 0: Loaded job: 001_Opener_TGN_BG_v01_db - Render 01 (60c8dbcac380651470918568)
2021-06-16 07:15:01: 0: Successfully mapped Z: to \XXXXXXX
2021-06-16 07:15:01: 0: Successfully mapped Q: to \XXXXXX
2021-06-16 07:15:01: 0: Successfully mapped K: to \XXXXXX
2021-06-16 07:15:02: 0: Executing plugin command of type ‘Start Job’
2021-06-16 07:15:02: 0: DEBUG: S3BackedCache Client is not installed.
2021-06-16 07:15:02: 0: INFO: Executing global asset transfer preload script ‘C:\Users\XXXXXX\AppData\Local\Thinkbox\Deadline10\slave\XXXXXX\plugins\60c8dbcac380651470918568\GlobalAssetTransferPreLoad.py’
2021-06-16 07:15:02: 0: INFO: Looking for legacy (pre-10.0.26) AWS Portal File Transfer…
2021-06-16 07:15:02: 0: INFO: Looking for legacy (pre-10.0.26) File Transfer controller in C:/Program Files/Thinkbox/S3BackedCache/bin/task.py…
2021-06-16 07:15:02: 0: INFO: Could not find legacy (pre-10.0.26) AWS Portal File Transfer.
2021-06-16 07:15:02: 0: INFO: Legacy (pre-10.0.26) AWS Portal File Transfer is not installed on the system.
2021-06-16 07:15:02: 0: Done executing plugin command of type ‘Start Job’
2021-06-16 07:15:02: 0: Plugin rendering frame(s): 161
2021-06-16 07:15:02: 0: Executing plugin command of type ‘Render Task’
2021-06-16 07:15:02: 0: INFO: Stdout Redirection Enabled: True
2021-06-16 07:15:02: 0: INFO: Stdout Handling Enabled: True
2021-06-16 07:15:02: 0: INFO: Popup Handling Enabled: True
2021-06-16 07:15:02: 0: INFO: QT Popup Handling Enabled: False
2021-06-16 07:15:02: 0: INFO: WindowsForms10.Window.8.app.* Popup Handling Enabled: False
2021-06-16 07:15:02: 0: INFO: Using Process Tree: True
2021-06-16 07:15:02: 0: INFO: Hiding DOS Window: True
2021-06-16 07:15:02: 0: INFO: Creating New Console: False
2021-06-16 07:15:02: 0: INFO: Running as user: XXXXXXX
2021-06-16 07:15:02: 0: INFO: Executable: “C:\Program Files\Planetside Software\Terragen 4\tgdcli.exe”
2021-06-16 07:15:02: 0: INFO: Argument: -p “Z:\XXXXXXX\03_Prod\001_Opener\001_Opener_TGN_BG_v01_db.tgd” -rendernode “Render 01” -hide -exit -r -f 161
2021-06-16 07:15:02: 0: INFO: Full Command: “C:\Program Files\Planetside Software\Terragen 4\tgdcli.exe” -p “Z:\XXXXXX\03_Prod\001_Opener\001_Opener_TGN_BG_v01_db.tgd” -rendernode “Render 01” -hide -exit -r -f 161
2021-06-16 07:15:02: 0: INFO: Startup Directory: “C:\Program Files\Planetside Software\Terragen 4”
2021-06-16 07:15:02: 0: INFO: Process Priority: BelowNormal
2021-06-16 07:15:02: 0: INFO: Process Affinity: default
2021-06-16 07:15:02: 0: INFO: Process is now running
2021-06-16 07:15:02: 0: STDOUT: Constructing trPrivateGlobals
2021-06-16 07:15:02: 0: STDOUT: <<<### APP RUN STARTED ###>>>
2021-06-16 07:15:02: 0: STDOUT: Terragen 4 build 4.1.21
2021-06-16 07:15:02: 0: STDOUT: Free Non-commercial Edition
2021-06-16 07:15:02: 0: Done executing plugin command of type ‘Render Task’

=======================================================
Details

Date: 06/16/2021 07:15:04
Frames: 161
Elapsed Time: 00:00:00:05
Job Submit Date: 06/15/2021 09:56:40
Job User:XXXXXXXX
Average RAM Usage: 13395558400 (4%)
Peak RAM Usage: 13395558400 (4%)
Average CPU Usage: 2%
Peak CPU Usage: 8%
Used CPU Clocks (x10^6 cycles): 3753
Total CPU Clocks (x10^6 cycles): 187642

=======================================================
Worker Information

Worker Name: XXXXXX
Version: v10.1.9.2 Release (3d6a64d94)
Operating System: Windows 10 Enterprise
Running As Service: Yes
Machine User: XXXXXXX
IP Address: XXXXXXXX
MAC Address: XXXXXXXX
CPU Architecture: x64
CPUs: 40
CPU Usage: 6%
Memory Usage: 12.5 GB / 382.7 GB (3%)
Free Disk Space: 606.633 GB
Video Card: ASPEED Graphics Family(WDDM)

Since the error comes straight from the executable’s stdout, I would take it at face value. I could not find any mention of command line rendering arguments not being supported on the Planetside’s Terragen product comparison page, but if the executable says so, we should assume that 1) you installed the free non-commercial version, and 2) it does not support command line arguments.

Are you positive that the old render nodes have the same non-commercial build installed?

Absolutely certain. Used same installer for both installs. Terragen installs as free non-commercial and then authorizes when launched and directed to .lic. Both slave’s GUI launches as professional.

Suggestion for debugging:

Take the command line arguments from the Log, and try executing the same command line outside of Deadline on both the old and the new machines. Do you get the same error message on the new machines?
If yes, the problem is outside of what the Deadline Worker / Deadline Terragen integration is doing, and you might need to have a chat with Planetside’s support. If you get the problem only inside of Deadline, we will have to dig deeper…

Okay, sounds like a plan. Can you help point me to the log/command line argument.

Looking at old successful node I see: C:\Program Files\Planetside Software\Terragen 4\tgdcli.exe" -p “Z:\xxxx\03_Prod\001_Opener\001_Opener_TGN_BG_v01_db.tgd” -rendernode “Render 01” -hide -exit -r -f 155

Is this it?

Yes, and in the error log from your original post above, the command line is

“C:\Program Files\Planetside Software\Terragen 4\tgdcli.exe” -p “Z:\XXXXXX\03_Prod\001_Opener\001_Opener_TGN_BG_v01_db.tgd” -rendernode “Render 01” -hide -exit -r -f 161

No error on either node, both find full license and begin render

Was the Worker running under the same User as the one that run the command line outside of Deadline? When the Worker is installed on a render node, usually you enable the option to launch the Launcher and the Worker as a service, running under a specific User account. Chances are the User owning the process will have different access than an Administrator user logged in on your Windows machine.

Looks like you nailed it. License is copied to users\roaming…, is not sticky for node but by user. Work makes me have a specific account just for running service, that user did not have a copy of the lic in the file structure. Thanks for the awesome support as always.

Privacy | Site terms | Cookie preferences