AWS Thinkbox Discussion Forums

Terragen submission failure

I just bought Terragen, and was trying to submit a job with the submission script in Deadline monitor.

Using Deadline 6.1.0.54665, Terragen 3.1.02.0 Professional Animation.

I get the following error. Any ideas appreciated.

Error

Error in StartJob: plugin script “C:\Users\Render.AERO\AppData\Local\Thinkbox\Deadline6\slave\RENDER06\plugins\5367d399d18df01e6460154e\Terragen.py”: Python Error: SyntaxError : (‘invalid syntax’, (‘none’, 68, 99, ’ terragenExeList = self.GetConfigEntry( “Terragen”+str(self.Version)"+_RenderExecutable" )\n’)) (Python.Runtime.PythonException)
Stack Trace:

(System.Exception)
at FranticX.Scripting.PythonNetScriptEngine.HandlePythonError(Exception e)
at FranticX.Scripting.PythonNetScriptEngine.ExecuteScript(String scriptName, String script)
at Deadline.Scripting.DeadlineScriptManager.CreateScopeFromFile(String scopeName, String scriptFile, Boolean addGlobalFunctions, Boolean redirectToScriptManagerListener)
at Deadline.Plugins.ScriptPlugin.InitializeLocalScope(String scopeName, String scriptName, String scriptFile)
at Deadline.Plugins.ScriptPlugin.InitializeLocalScope(String scopeName, String scriptName, String scriptFile)
at Deadline.Plugins.ScriptPlugin.InitializeLocalPlugin(Job job)
at Deadline.Plugins.ScriptPlugin.StartJob(Job job, String& outMessage, AbortLevel& abortLevel)

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

RenderPluginException

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

at Deadline.Plugins.Plugin.StartJob(Job job)
at Deadline.Slaves.SlaveRenderThread.RenderCurrentTask(TaskLogWriter tlw)

=======================================================
Full Log

0: Task timeout is disabled.
0: Loaded job: End Tag Sky v08 Max (5367d399d18df01e6460154e)
0: Skipping M: because it is already mapped
0: Skipping S: because it is already mapped
0: INFO: Executing plugin script C:\Users\Render.AERO\AppData\Local\Thinkbox\Deadline6\slave\RENDER06\plugins\5367d399d18df01e6460154e\Terragen.py

This bug is fixed in the current 6.2 beta release. If you want to fix it manually for now, simply unzip the attached file to \your\repository\plugins\Terragen.

Cheers,
Ryan
Terragen.zip (1.84 KB)

Thanks Ryan, that got it.

Sam

A follow up to this, not so high priority.

The deadline progress bar for each frame sits at 1% until the render is complete, then jumps to 100%.

The plugin status does report the correct percentage like so:
0: Rendering final pass… 0:04:30s, 70% of final pass, 2621993 micro-triangles.

Is it possible to get the progress bar to read from that, somehow? I remember when something like this was happening with the way Vray was reporting, which works perfectly now.

Hey Sam,

Can you post a full render log from a Terragen job? We can take a look and try to whip up a stdout handler that will update the progress properly.

Thanks!
Ryan

Terragen Deadline log.txt (26.1 KB)
Log file for a frame.

Let me know if I can get you anything else…
Sam

Thanks! Attached is an updated Terragen plugin script that I think should work. First, go to \your\repository\plugins\Terragen and backup Terragen.py, just in case. Then unzip the attached script to the same folder and submit a new job. If it works as expected, you should see the progress update. If the script throws any errors, post the error message and we’ll take a look. If you run into any problems with it, just rollback to the backup of Terragen.py that you made.

Thanks!
Ryan

*Ryan, heads up, it looks like you forgot to attach the updated plugin.

Thanks for catching that! Here it is.
Terragen.zip (1.81 KB)

So I ran a test this morning with a custom console application that just dumps out the text in the log you sent yesterday, and it turns out I really got the regex wrong for calculating progress. :slight_smile:

I’ve attached a new one here that should work. Same install instructions as before.

Cheers,
Ryan
Terragen.zip (1.82 KB)

Thanks Ryan,

Just dropped the new one in and it works perfectly, updates the monitor as soon as the slave updates, every 30s.

Cheers!
Sam

Great! Thanks for confirming!

Privacy | Site terms | Cookie preferences