After Effects Rendering Issues

Hey guys so I am trying to run a cross platform render farm with two machines.
One being a mac Book pro Intel . running mac OS X
The other is a Dell running Vista 32bit

I am using the After Effects cs3
Im on Deadline Version: 3.1.0.35390
FranticX Version: 1.0.0.35390

When rendering I am using the Script Submit to Deadline from After Effects.
here is the errors it it giving me.

Exception during render: An error occurred in RenderTasks(): Error in CheckExitCode(): Renderer returned non-zero error code, 1 (FranticX.Processes.ManagedProcessAbort) (Deadline.Plugins.RenderPluginException)
at Deadline.Plugins.ScriptPlugin.RenderTasks(Int32 startFrame, Int32 endFrame, String& outMessage)

Originally I was getting a (RenderPluginException) error when trying to render. i then set my Configure Plugins to, C:\Program Files\Adobe\Adobe After Effects CS3\Support Files\AfterFX.exe;/Applications/Adobe After Effects CS3/Adobe After Effects CS3.app/Contents/MacOS/After Effects

I have my DeadlineRepository on a share where both slaves are referencing.
I have all my media and after effects files on another share, this share is not the same as where the Deadline Repository is. I am not sure if that is an issue as well. The render que in after effects is set up to render all the frames to that same share.

I am able to kick off the script from my mac Submit to Deadline, but then the errors come up with no frames being rendered.
When I try to run that same script on my after effects from my PC i get these errors in after effects, " After Effects warning: ERROR: The requested operation requires elevation. Unable to execute script at line 16. undefined is not an object

Also I noticed after I set my my Configure Plugins to, C:\Program Files\Adobe\Adobe After Effects CS3\Support Files\AfterFX.exe;/Applications/Adobe After Effects CS3/Adobe After Effects CS3.app/Contents/MacOS/After Effects.
When i would then kick off a render from the script on my Mac> Submit to Deadline, After Effects would start up on my pc and try to load but then fail and crash. It would do that repeatedly over and over, very strange.

Anyway Thank You for you help in Advance. I hope I was thorough enough in order to get some help with this problem.

Thank You

-J

Could you post more from your logs? From the first error it looks like AE is returning an error when exiting, but it’s hard to tell why without seeing what came before.

Something you might want to look at is making sure you have the Mapped Paths setup correctly. You can set them up in the Deadline Monitor as a Super User under Tools -> Configure Repository Options, and then select Mapped Path Setup from the list on the left.

Cody

Thanks Cody for getting back to me.

Here is the Full Log.

Error Message
Exception during render: An error occurred in RenderTasks(): Error in CheckExitCode(): Renderer returned non-zero error code, -1073741819, which represents a Memory Access Violation. Ensure you have enough memory to render the job. (FranticX.Processes.ManagedProcessAbort) (Deadline.Plugins.RenderPluginException)
at Deadline.Plugins.ScriptPlugin.RenderTasks(Int32 startFrame, Int32 endFrame, String& outMessage)

Slave Log
\Jomputer1\share\DeadlineRepositoryR\Jomputer1\share\DeadlineRepositoryE\Jomputer1\share\DeadlineRepositoryP\Jomputer1\share\DeadlineRepositoryL\Jomputer1\share\DeadlineRepositoryA\Jomputer1\share\DeadlineRepositoryC\Jomputer1\share\DeadlineRepositoryE\Jomputer1\share\DeadlineRepositoryM\Jomputer1\share\DeadlineRepositoryE\Jomputer1\share\DeadlineRepositoryN\Jomputer1\share\DeadlineRepositoryT\Jomputer1\share\DeadlineRepository \Jomputer1\share\DeadlineRepositoryC\Jomputer1\share\DeadlineRepositoryO\Jomputer1\share\DeadlineRepositoryM\Jomputer1\share\DeadlineRepositoryP\Jomputer1\share\DeadlineRepository_\Jomputer1\share\DeadlineRepository[\Jomputer1\share\DeadlineRepository#\Jomputer1\share\DeadlineRepository#\Jomputer1\share\DeadlineRepository#\Jomputer1\share\DeadlineRepository#\Jomputer1\share\DeadlineRepository#\Jomputer1\share\DeadlineRepository]\Jomputer1\share\DeadlineRepository.\Jomputer1\share\DeadlineRepositoryt\Jomputer1\share\DeadlineRepositoryg\Jomputer1\share\DeadlineRepositorya\Jomputer1\share\DeadlineRepository" -s 0 -e 0 -mp
0: INFO: Startup Directory: “C:\Program Files\Adobe\Adobe After Effects CS3\Support Files”
0: INFO: Process Priority: BelowNormal
0: INFO: Process is now running
---- August 03 2009 – 06:41 PM ----
0: INFO: Process exit code: -1073741819
Scheduler Thread - Render Thread 0 threw an error:
Scheduler Thread - Exception during render: An error occurred in RenderTasks(): Error in CheckExitCode(): Renderer returned non-zero error code, -1073741819, which represents a Memory Access Violation. Ensure you have enough memory to render the job. (FranticX.Processes.ManagedProcessAbort) (Deadline.Plugins.RenderPluginException)

at Deadline.Plugins.ScriptPlugin.RenderTasks(Int32 startFrame, Int32 endFrame, String& outMessage)

Error Type
RenderPluginException

Error Stack Trace
at Deadline.Plugins.Plugin.RenderTask(Int32 startFrame, Int32 endFrame)
at Deadline.Slaves.SlaveRenderThread.RenderCurrentTask()

This log is from a new render from a different comp I am trying to render as well. Same errors as before there is just this new “which represents a Memory Access Violation” as well.

As for the Mapped Paths setup in the Deadline Monitor as a Super User under Tools -> Configure Repository Options
I have my Configure Repository Options under Mapped Path Setup (For Mixed Farms) I have my windows path set up for \Jomputer1\share\DeadlineRepository

I hope this helps,

Thank You

It looks like you don’t have a Replace Path specified in the Mapped Paths setup which is causing it to insert the path between every character:

“\Jomputer1\share\DeadlineRepositoryR\Jomputer1\share\DeadlineRepositoryE\Jomputer1\share\DeadlineRepositoryP\Jomputer1\share\DeadlineRepositoryL\Jomputer1\share…”

The Replace Path should be the path that you would like to replace on the each operating system. For example, if you submit from a Windows machine and the comp is located in “\myShare” you may want it to be “/Volumes/myShare/” on the Mac. So you would specify “\myShare” as the replace path and “/Volumes/myShare/” as the Mac path. You can leave the Windows path empty and it will not replace it. Likewise, if you’re submitting from a Mac, you may want to set “/Volumes/myShare/” as the replace path and “\myShare” as the Windows path.

Cody

I’m trying to get Mac jobs to translate to PC slaves.

MAC output directory /Volumes/DATA/‘job folder goes here’
Should become for the PC slaves \Storage\Data’Job folder goes here’

Can someone tell me why this isn’t working… You can see from the error message that it’s not translating /volumes/data/ to \storage\data\ and thinks it must be on drive C: of each slave.
jobsetting.jpg


edit mapped path.jpg

Try adding a second Mapped Path with “/Volumes/DATA/” as the replace path and “\Storage\Data” as the windows path. The Mapped Path in the screenshot will replace “\Storage\Data” with “/Volumes/DATA/” on the Mac, but not the other way around. For that you need a the second Mapped Path.

-Cody

I only ever want to translate the Mac paths to PC tho… Having both in wont swap the PC ones to MAC will they??

If you only want to be translating Mac paths to PC then you can modify the Mapped Path that you have in the screenshot instead of creating a second one. Just change the Replace Path with “/Volumes/DATA/” and keep the Windows and Mac paths you have entered.

-Cody

Well that works for translating the output of the file but what about files used within the AE profject created on a Mac.


Error Message
Exception during render: An error occurred in RenderTasks(): aerender Error: After Effects error: Unable to Render: File Not Found: DATA\ORACEA 3 KAREN\character_ref\KAREN_AT_40_JULY_9_ROSACEA.jpg (FranticX.Processes.ManagedProcessAbort) (Deadline.Plugins.RenderPluginException)
at Deadline.Plugins.ScriptPlugin.RenderTasks(Int32 startFrame, Int32 endFrame, String& outMessage)

Slave Log
n For Checked Layers
0: STDOUT: PROGRESS: Field Render: Off
0: STDOUT: PROGRESS: Pulldown: Off
0: STDOUT: PROGRESS: Motion Blur: On For Checked Layers
0: STDOUT: PROGRESS: Use OpenGL: Off
0: STDOUT: PROGRESS: Solos: Current Settings
0: STDOUT: PROGRESS: Time Span: Custom
0: STDOUT: PROGRESS: Start: 0;00;00;00
0: STDOUT: PROGRESS: End: 0;00;00;00
0: STDOUT: PROGRESS: Duration: 0;00;00;01
0: STDOUT: PROGRESS: Frame Rate: 29.97 (comp)
0: STDOUT: PROGRESS: Guide Layers: All Off
0: STDOUT: PROGRESS: Storage Overflow: On
0: STDOUT: PROGRESS: Skip Existing Files: Off
0: STDOUT: PROGRESS:
0: STDOUT: PROGRESS: Output Module: Lossless
0: STDOUT: PROGRESS: Output To: T:\ChrisTestFolder\pinball2\Comp 1_[#####].tga
0: STDOUT: PROGRESS: Format: Targa Sequence
0: STDOUT: PROGRESS: Output Info: -
0: STDOUT: PROGRESS: Start Frame: 0
0: STDOUT: PROGRESS: Output Audio: -
0: STDOUT: PROGRESS: Channels: RGB
0: STDOUT: PROGRESS: Depth: Millions of Colors
0: STDOUT: PROGRESS: Color: Premultiplied
0: STDOUT: PROGRESS: Stretch: -
0: STDOUT: PROGRESS: Crop: -
0: STDOUT: PROGRESS: Final Size: 720 x 480
0: STDOUT: PROGRESS: Profile: -
0: STDOUT: PROGRESS: Embed Profile:
0: STDOUT: PROGRESS:
0: STDOUT: PROGRESS: Post-Render Action: None
0: STDOUT: PROGRESS:
0: STDOUT: PROGRESS:
0: STDOUT: PROGRESS:
0: STDOUT: PROGRESS:
0: STDOUT: aerender Error: After Effects error: Unable to Render: File Not Found: DATA\ORACEA 3 KAREN\character_ref\KAREN_AT_40_JULY_9_ROSACEA.jpg
Scheduler Thread - Render Thread 0 threw an error:
Scheduler Thread - Exception during render: An error occurred in RenderTasks(): aerender Error: After Effects error: Unable to Render: File Not Found: DATA\ORACEA 3 KAREN\character_ref\KAREN_AT_40_JULY_9_ROSACEA.jpg (FranticX.Processes.ManagedProcessAbort) (Deadline.Plugins.RenderPluginException)

at Deadline.Plugins.ScriptPlugin.RenderTasks(Int32 startFrame, Int32 endFrame, String& outMessage)

Error Type
RenderPluginException

Error Stack Trace
at Deadline.Plugins.Plugin.RenderTask(Int32 startFrame, Int32 endFrame)
at Deadline.Slaves.SlaveRenderThread.RenderCurrentTask()

Because Deadline is aware of the output path (it’s passing it directly to the AE command line renderer), it’s possible for it to translate the path. However, Deadline can’t translate the paths within the AE project file because the project file is binary, and the AE command line renderer doesn’t have an option for alternative paths to search.

AE’s documentation has a section on multi-platform rendering considerations:
help.adobe.com/en_US/AfterEffect … 7fbba.html

Cheers,

  • Ryan

Ok well that article says that the AE project will try and find the assets in the subfolders of the directory the AE file happens to be in which may do the trick so long as the slaves load the AE from that directory and not the repository (which is where i understand the salves get the ae project from)

If i was to UNCHECK the 'submit after effects project file will this leave the AE file where it is for the slaves to access?

Thanks

Chris

Yes, that should do the trick. If all goes well, let us know and we’ll update our documentation to mention this.

Cheers,

  • Ryan

We’re having a very similar issue when submitting jobs to Deadline. But we’re not using the Plugin window, we’re submitting them in code. Is there a parameter we can set so the file stays on the network and doesn’t move to the repository?

In the plugin info file being submitted. This is the 2nd file, which normally contains settings like Comp, Version, Output, etc. Ensure that this line is also included:

SceneFile=\\network\path\to\project.aep

When Deadline sees the SceneFile setting, it uses that to load the project file, instead of trying to load a project file that would have normally been submitted with the job.

Cheers,

  • Ryan