AFterffects Error supression

Hi,

I’m currently testing Deadline on 2 machines. I have an AfterEffects crash on some frames that throws up a dialog window :

“ASL Message Window : AfterFX.com - Application Error
The exception unknown software exception (0x40000015) occurred in the application at location 0x071738da
click on OK to teminate the program”

This halts rendering on the slave as the dialog box isn’t suppressed.

I’ve tried updating some of the settings in .py file as described in this thread : http://support.franticvfx.com/viewtopic.php?f=11&t=1877&p=7812&hilit=aftereffects+error#p7812 but it still doesn’t seem to automatically hit ‘ok’ (I even tried ‘Ok’ just in case it was down to capitalization).

This is the line as it now appears in my Aftereffects.py file :

	# Set the popup handlers.
	self.AddPopupHandler( ".*After Effects.*", "OK;Yes;Ok;&Send Error Report" )

Does anyone have any ideas what I could be doing wrong ?

cheers
ben

Hi Ben,

Could you post the entire log/error messages on the slave to this thread as the pop-up dialog handler code should be working.
Is the title of the pop-up window: “.After Effects.” or is it “ASL Message…” something? The slave log should tell us what this needs to be.

A couple of things I noticed recently, was that a standard AE CS3 install for network rendering duties, didn’t install ALL the plugins which a standard workstation install would get.
I resolved this by doing a copy from a workstation folder structure to all our nodes. I didn’t copy any plugins/effects which were hardware accelerated based as of course these wouldn’t work :slight_smile:
I also made sure that ALL our third-party plugins/effects were correctly copied over and licensed (float/standalone) if necessary.

Make sure the After Effects Audio is set to the default After Effects type before submitting the job.
Are you using TrapCode, GridIron or Dynamic Links in your AfterEffects file setup? As these can all cause trouble sometimes in network render mode.

MIke

Hi Mark,

Thank you for your reply, it’s an ASL Message window :

“ASL Message Window : AfterFX.com - Application Error
The exception unknown software exception (0x40000015) occurred in the application at location 0x071738da
click on OK to teminate the program”

So it’s rendering a whole bunch of frames happily, but then it’ll fall over every now and then. I’m really not so worried that it’s crashing, this is going to happen now and then … given I’m testing Deadline I’m more worried that I can’t get Deadline to ignore the crash and retry automatically. This is the error log :

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

 
Slave Log 
l be left open; but the project is
0: STDOUT: left open only if using an already-running
0: STDOUT: instance of AE, since new invocations of AE must
0: STDOUT: always close and quit when done.
0: STDOUT: Default value is DO_NOT_SAVE_CHANGES.
0: STDOUT: "-sound sound_flag" where sound_flag specifies whether or not to play
0: STDOUT: a sound when rendering is complete. Possible
0: STDOUT: values are "ON" or "OFF".
0: STDOUT: Default value is "OFF".
0: STDOUT: "-version" displays the version number of aerender to the
0: STDOUT: console. Does not render.
0: STDOUT: 5] EXAMPLES:
0: STDOUT: To render just Comp 1 to a specified file:
0: STDOUT: aerender -project c:\projects\proj1.aep -comp "Comp 1"
0: STDOUT: -output c:\output\proj1\proj1.avi
0: STDOUT: To render everything in the render queue as is in the project file:
0: STDOUT: aerender -project c:\projects\proj1.aep
0: STDOUT: To render frames 1-10 using multi-machine render:
0: STDOUT: aerender -project c:\projects\proj1.aep -comp "Comp 1" -s 1 -e 10
0: STDOUT: -RStemplate "Multi-Machine Settings"
0: STDOUT: -OMtemplate "Multi-Machine Sequence"
0: STDOUT: -output c:\output\proj1\frames[####].psd
0: INFO: Process exit code: 3
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, 3 (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()

Hi Ben,

What OS are you running on? The popup handling is currently only built into the Windows version, so if you’re using the Mac version, that could explain the problem.

The error log you posted is showing that AE is printing out the usage instructions, so that could mean that either Deadline is passing bad arguments to after effects, or the wrong render executable is being used. On Windows, aerender.exe should be used. I think the Mac version uses aerender as well, but I can’t confirm until we get back in the office next week (we’re at NAB this week).

If this info doesn’t seem relevant to your problem, can you post the full task log instead of the error report? It will contain more info that we can look through.

Thanks!

  • Ryan

Hi Ryan,

I’m on XP, I’ll post the full log tomorrow, where in Deadline should I take this from ?

cheers
ben

Ben,
The ASL Message window needs the following code to handle that exact message window:

[code]# Set the popup handlers.
self.AddPopupHandler( “.After Effects.”, “OK;Yes” )

Handle ASL Message Window

self.AddPopupHandler( “.ASL Message Window.”, “OK” )[/code]

If it needs more than just the “OK” button pressing, then add something like “OK;&Send Error Report”, but I’ll leave that for you to test :slight_smile:

Insert this code into the AfterEffects.py file as before. Does it work? If any more pop-ups appear, then create additional “self.AddPopupHandler” entires to handle them.
However, I only ever do this if I know its safe to do and I really want to suppress the error message. Generally, if a file is erroring, I want to know about it, so I can fix it at the source :slight_smile:

Deadline logs from the launcher/monitor can be found here:
C:\Documents and Settings\All Users\Application Data\Frantic Films\Deadline\logs
(You can also just go to the help menu in the monitor, “explore log folder” to get there…)

The Log report for the particular job/s that are going wrong can be located either on the repository:
\yourserver\DeadlineRepository\reports\jobs[then the particular job ID] or a much easier way is just right-click on the troublesome job, go down to Job Reports and click on “log reports”.
In the window that then pops up, you can save ALL of these reports or just one if they are all the same and post it here.

BTW: As Ryan said, you are using the aerender.exe right?
As declared in the “configure plugins” section: (Here’s my AE v8 plugin *.exe declarations)

C:\Program Files\Adobe\Adobe After Effects CS3\Support Files\aerender.exe;C:\Program Files (x86)\Adobe\Adobe After Effects CS3\Support Files\aerender.exe;/Applications/Adobe After Effects CS3/aerender

Mike

Hi Mike,

Thanks for that, I’ve put that code into my Aftereffects.py, unfortunately Deadline isn’t supressing that ASL window still.

If I try and open the job’s logs I’ve noticed an awful lot of them are reporting as corrupt :

Log Message
Corrupt Report - See Slave Log
Log Details
Log Date/Time = Apr 22/09 11:58:13
Frames =
Slave Machine =
Slave Version =
Plugin Name =

I agree that under normal circumstances I’d really want to know about these crashes, once / if we deploy Deadline across the whole network I’d probably take that line out. I’m just testing at the moment.

Yes I’m using aerender.exe, everything is rendering ok apart from when it crashes.

Cheers
ben

Is your repository and all your slaves running exactly the same version, including build number of Deadline?
(You can right-click on a column in the deadline monitor, slaves window and select “version” as an additional data field, to check all your machines).
Mike

Monitor = Deadline Version: 3.0.33353
Slave 1 = Deadline Version: 3.0.33353
Slave 2 = Deadline Version: 3.0.33353

I’m not sure how I check the Repository version, is that via the monitor ?

If possible, can you upgrade to the latest version?
If your running 2 or less slaves, then no lic is required.
franticfilms.com/software/pr … /download/
Mike

Hi there,

Ok so they’re all on 3.1 now, I’ve kicked that AfterEffects job off again and it’s still throwing exceptions and still not supressing the ASL window.

I’m also still getting corrupt logs, but interestingly there’s more information in them.

Here’s a Corrupt log :

Log Message 
Corrupt Data In Report - See Below 



2009-04-22T15:38:26.015625+01:00 
Render-nuke02 
3 
0: Task timeout is disabled. 
0: Plugin rendering frame(s): 3 
0: INFO: Stdout Handling Enabled: True 
0: INFO: Popup Handling Enabled: True 
0: INFO: Using Process Tree: True 
0: INFO: Hiding DOS Window: True 
0: INFO: Creating New Console: False 
0: INFO: Render Executable: "C:\Program Files\Adobe\Adobe After Effects CS3\Support Files\aerender.exe" 
0: INFO: Render Argument: -project "D:\Documents and Settings\contract\Local Settings\Application Data\Frantic Films\Deadline\slave\jobsData\3D Animatic_007.aep" -comp "VW 2D Animatic" -output "\\Jupiter\Render\xxxxx_Deadline_testing\Aftereffects\VW 2D Animatic_[####].jpg" -s 3 -e 3 
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 
0: STDOUT: INFO:The following layer dependencies are missing: 
0: STDOUT: 
0: STDOUT: Text Layer: Font family: 'InterstateLight', Font style: 'Regular' 
0: STDOUT: PROGRESS: 22/04/2009 15:38:24: Starting composition _#x1C;VW 2D Animatic_#x1D;. 
0: STDOUT: 
0: STDOUT: 
0: STDOUT: PROGRESS: Render Settings: Best Settings 
0: STDOUT: PROGRESS: Quality: Best 
0: STDOUT: PROGRESS: Resolution: Full 
0: STDOUT: PROGRESS: Size: 1024 x 576 
0: STDOUT: PROGRESS: Proxy Use: Use No Proxies 
0: STDOUT: PROGRESS: Effects: Current Settings 
0: STDOUT: PROGRESS: Disk Cache: Read Only 
0: STDOUT: PROGRESS: Color Depth: Current Settings 
0: STDOUT: PROGRESS: Frame Blending: On 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: 00003 
0: STDOUT: PROGRESS: End: 00003 
0: STDOUT: PROGRESS: Duration: 00001 
0: STDOUT: PROGRESS: Frame Rate: 25.00 (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: \\Jupiter\Render\xxxxx_Deadline_testing\Aftereffects\VW 2D Animatic_[####].jpg 
0: STDOUT: PROGRESS: Format: JPEG Sequence 
0: STDOUT: PROGRESS: Output Info: - 
0: STDOUT: PROGRESS: Start Frame: 3 
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: 1024 x 576 
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: PROGRESS: 00003 (1): 0 Seconds 
0: STDOUT: PROGRESS: 22/04/2009 15:38:25: Finished composition _#x1C;VW 2D Animatic_#x1D;. 
0: STDOUT: 
0: STDOUT: 
0: STDOUT: 
0: STDOUT: PROGRESS: Total Time Elapsed: 1 Seconds 
0: INFO: Process exit code: 0 

<_SlaveVersionString>v3.1.0.35390 R 
3D%20Animatic_007.aep VW 2D Animatic 
contract 
Studio-hp04 
2009-04-22T15:38:02 
AfterEffects 
3-3 
0 



-1 
-1 
-1 
-1 
-1 
-1 
-1 


 
Log Details 
Log Date/Time = Apr 22/09 15:39:04 
Frames = 

Slave Machine = 
Slave Version = 

Plugin Name = 

Here’s a good log :

Log Message 
0: Task timeout is disabled.
0: Loaded job: 3D%20Animatic_007.aep VW 2D Animatic (999_094_999_346439b7)
0: INFO: StartJob: initializing script plugin AfterEffects
0: INFO: Handling stdout that matches regex "WARNING:(After Effects warning: .*)"
0: INFO: Handling stdout that matches regex "INFO:This project contains .*"
0: INFO: Handling stdout that matches regex ".*Error:.*"
0: INFO: Handling stdout that matches regex "PROGRESS: [0-9]+[:;]*[0-9]*[:;]*[0-9]*[:;]*[0-9]*.*"
0: INFO: Handling stdout that matches regex "PROGRESS:.*"
0: INFO: Handling stdout that matches regex ".*"
0: INFO: Ignoring popup windows with titles matching regex "Motion Sketch"
0: INFO: Ignoring popup windows with titles matching regex "The Smoother"
0: INFO: Ignoring popup windows with titles matching regex "Time Controls"
0: INFO: Ignoring popup windows with titles matching regex "Brush Tips"
0: INFO: Ignoring popup windows with titles matching regex "The Wiggler"
0: INFO: Ignoring popup windows with titles matching regex "Tracker Controls"
0: INFO: Handling popup windows with titles matching regex ".*After Effects.*" by pressing "OK;Yes"
0: INFO: Handling popup windows with titles matching regex ".*ASLMessageWindow.*" by pressing "OK"
0: INFO: About: After Effects Plugin for Deadline
0: Plugin rendering frame(s): 0
0: INFO: Stdout Handling Enabled: True
0: INFO: Popup Handling Enabled: True
0: INFO: Using Process Tree: True
0: INFO: Hiding DOS Window: True
0: INFO: Creating New Console: False
0: INFO: Render Executable: "C:\Program Files\Adobe\Adobe After Effects CS3\Support Files\aerender.exe"
0: INFO: Render Argument: -project "D:\Documents and Settings\contract\Local Settings\Application Data\Frantic Films\Deadline\slave\jobsData\3D Animatic_007.aep" -comp "VW 2D Animatic" -output "\\Jupiter\Render\xxxxx_Deadline_testing\Aftereffects\VW 2D Animatic_[####].jpg" -s 0 -e 0
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
0: STDOUT: R6025
0: STDOUT: - pure virtual function call
LICENSE-FREE MODE: Repository has two slaves including this one - no license required.
0: STDOUT: aerender version 8.0x298
0: STDOUT: USAGE:
0: STDOUT: 1] aerender renders After Effects comps. The render may be performed either
0: STDOUT: by an already running instance of AE or by a newly invoked instance. By
0: STDOUT: default, aerender will invoke a new instance of AE, even if one is
0: STDOUT: already running. To change this, see the "-reuse" flag below.
0: STDOUT: 2] aerender takes a series of optional arguments.
0: STDOUT: Some are single flags, like "-reuse". Some come in flag-argument
0: STDOUT: pairs, like "-project project_path". And one comes in a triplet,
0: STDOUT: -mem_usage image_cache_percent max_mem_percent.
0: STDOUT: 3] aerender with 0 arguments, or with any argument equaling "-help" 
0: STDOUT: or "-h", prints this usage message.
0: STDOUT: 4] The arguments are:
0: STDOUT: "-h" print this usage message
0: STDOUT: "-help" print this usage message
0: STDOUT: "-reuse" use this flag if you want to try and reuse
0: STDOUT: an already running instance of AE to perform the
0: STDOUT: render. By default, aerender will launch a new
0: STDOUT: instance of After Effects, even if one is already
0: STDOUT: running. But, if AE is already running, and the
0: STDOUT: "-reuse" flag is provided, then aerender will
0: STDOUT: ask the already running instance of AE to perform
0: STDOUT: the render. Whenever aerender launches a new
0: STDOUT: instance of AE, it will tell AE to quit when
0: STDOUT: rendering is completed; otherwise, it will not
0: STDOUT: quit AE. Also, the preferences will be written
0: STDOUT: to file upon quit when the "-reuse" flag is
0: STDOUT: specified; otherwise it will not be written.
0: STDOUT: "-project project_path" where project_path is a file path or URI
0: STDOUT: specifying a project file to open. 
0: STDOUT: If none is provided, aerender will work with the
0: STDOUT: currently open project.
0: STDOUT: If no project is open and no project is provided,
0: STDOUT: an error will result.
0: STDOUT: "-comp comp_name" where comp_name specifies a comp to be rendered.
0: STDOUT: If the comp is in the render queue already, and
0: STDOUT: in a queueable state, then (only) the first
0: STDOUT: queueable instance of that comp on the render
0: STDOUT: queue will be rendered. If the comp is in the
0: STDOUT: project but not in the render queue, then it will
0: STDOUT: be added to the render queue and rendered.
0: STDOUT: If no -comp argument is provided, aerender will
0: STDOUT: render the entire render queue as is. In this
0: STDOUT: case (no -comp), the only other arguments used
0: STDOUT: will be -project, -log, -v, -mem_usage, and
0: STDOUT: -close; the -RStemplate, -OMtemplate, -output,
0: STDOUT: -s, -e, and -i arguments will be ignored.
0: STDOUT: "-rqindex index_in_render_queue" where index_in_render_queue specifies a
0: STDOUT: render queue item to be rendered. Options that make
0: STDOUT: sense when rendering a single render queue item
0: STDOUT: are available like with the -comp flag.
0: STDOUT: "-RStemplate render_settings_template" where render_settings_template
0: STDOUT: is the name of a template to apply to the render
0: STDOUT: queue item.If the template does not exist it is
0: STDOUT: an error.
0: STDOUT: Default is to use the render template already
0: STDOUT: defined for the item.
0: STDOUT: "-OMtemplate output_module_template" where output_module_template
0: STDOUT: is the name of a template to apply to the
0: STDOUT: output module. If the template does not exist
0: STDOUT: it is an error.
0: STDOUT: Default is to use the template already defined
0: STDOUT: for the output module.
0: STDOUT: "-output output_path" where output_path is a file path or URI
0: STDOUT: specifying the destination render file.
0: STDOUT: Default is the path already in the project file.
0: STDOUT: "-log logfile_path" where logfile_path is a file path or URI
0: STDOUT: specifying the location of the log file.
0: STDOUT: Default is stdout.
0: STDOUT: "-s start_frame" where start_frame is the first frame to render.
0: STDOUT: Default is the start frame in the file.
0: STDOUT: "-e end_frame" where end_frame is the last frame to render.
0: STDOUT: Note, this is "inclusive;" the final frame
0: STDOUT: will be rendered.
0: STDOUT: Default is the end frame in the file.
0: STDOUT: "-i increment" where increment is the number of frames to
0: STDOUT: advance before rendering a new frame. A value
0: STDOUT: of 1 (the default) results in a normal rendering
0: STDOUT: of all frames. Higher increments will repeat the
0: STDOUT: same (frame increment-1) times and then render a
0: STDOUT: new one, starting the cycle again. Higher values
0: STDOUT: result in faster renders but choppier motion.
0: STDOUT: Default is 1.
0: STDOUT: "-mem_usage image_cache_percent max_mem_percent"
0: STDOUT: where image_cache_percent specifies the maximum
0: STDOUT: percent of memory used to cache already rendered
0: STDOUT: images/footage, and max_mem_percent specifies
0: STDOUT: the total percent of memory that can be 
0: STDOUT: used by After Effects.
0: STDOUT: "-mp" use this flag to use multiple processes to
0: STDOUT: render multiple frames simultaneously 
0: STDOUT: "-v verbose_flag" where verbose_flag specifies the type of
0: STDOUT: messages reported. Possible values are ERRORS
0: STDOUT: (prints only fatal and problem errors) or 
0: STDOUT: ERRORS_AND_PROGRESS (prints progress of rendering
0: STDOUT: as well).
0: STDOUT: Default value is ERRORS_AND_PROGRESS.
0: STDOUT: "-close close_flag" where close_flag specifies whether or not to
0: STDOUT: close the project when done rendering, and
0: STDOUT: whether or not to save changes. If close_flag is
0: STDOUT: DO_NOT_SAVE_CHANGES, project will be closed
0: STDOUT: without saving changes. If close_flag is
0: STDOUT: SAVE_CHANGES, project will be closed and changes
0: STDOUT: will be saved. If close_flag is DO_NOT_CLOSE the
0: STDOUT: project will be left open; but the project is
0: STDOUT: left open only if using an already-running
0: STDOUT: instance of AE, since new invocations of AE must
0: STDOUT: always close and quit when done.
0: STDOUT: Default value is DO_NOT_SAVE_CHANGES.
0: STDOUT: "-sound sound_flag" where sound_flag specifies whether or not to play
0: STDOUT: a sound when rendering is complete. Possible
0: STDOUT: values are "ON" or "OFF".
0: STDOUT: Default value is "OFF".
0: STDOUT: "-version" displays the version number of aerender to the
0: STDOUT: console. Does not render.
0: STDOUT: 5] EXAMPLES:
0: STDOUT: To render just Comp 1 to a specified file:
0: STDOUT: aerender -project c:\projects\proj1.aep -comp "Comp 1"
0: STDOUT: -output c:\output\proj1\proj1.avi
0: STDOUT: To render everything in the render queue as is in the project file:
0: STDOUT: aerender -project c:\projects\proj1.aep
0: STDOUT: To render frames 1-10 using multi-machine render:
0: STDOUT: aerender -project c:\projects\proj1.aep -comp "Comp 1" -s 1 -e 10
0: STDOUT: -RStemplate "Multi-Machine Settings"
0: STDOUT: -OMtemplate "Multi-Machine Sequence"
0: STDOUT: -output c:\output\proj1\frames[####].psd
0: INFO: Process exit code: 3


 
Log Details 
Log Date/Time = Apr 22/09 16:36:44 
Frames = 0-0 

Slave Machine = Render-nuke01 
Slave Version = v3.1.0.35390 R 

Plugin Name = AfterEffects 

Here’s an error log from one of the exceptions :

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

 
Slave Log 
l be left open; but the project is
0: STDOUT: left open only if using an already-running
0: STDOUT: instance of AE, since new invocations of AE must
0: STDOUT: always close and quit when done.
0: STDOUT: Default value is DO_NOT_SAVE_CHANGES.
0: STDOUT: "-sound sound_flag" where sound_flag specifies whether or not to play
0: STDOUT: a sound when rendering is complete. Possible
0: STDOUT: values are "ON" or "OFF".
0: STDOUT: Default value is "OFF".
0: STDOUT: "-version" displays the version number of aerender to the
0: STDOUT: console. Does not render.
0: STDOUT: 5] EXAMPLES:
0: STDOUT: To render just Comp 1 to a specified file:
0: STDOUT: aerender -project c:\projects\proj1.aep -comp "Comp 1"
0: STDOUT: -output c:\output\proj1\proj1.avi
0: STDOUT: To render everything in the render queue as is in the project file:
0: STDOUT: aerender -project c:\projects\proj1.aep
0: STDOUT: To render frames 1-10 using multi-machine render:
0: STDOUT: aerender -project c:\projects\proj1.aep -comp "Comp 1" -s 1 -e 10
0: STDOUT: -RStemplate "Multi-Machine Settings"
0: STDOUT: -OMtemplate "Multi-Machine Sequence"
0: STDOUT: -output c:\output\proj1\frames[####].psd
0: INFO: Process exit code: 3
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, 3 (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()

Ben,
Have you installed the Microsoft Visual C++ 2005 Redistributable’s & .NET framework v2 (x86 & x64) software yet?

I think this error message means that you might be missing them?

From the good log:
0: STDOUT: R6025
0: STDOUT: - pure virtual function call

You need to make sure all your machines are up to date with Microsoft .NET framework installs (for both bit builds)

franticfilms.com/software/su … alling.php

The ASL Message Window python code statement must MATCH EXACTLY the name as it appears in the title of the pop-up window.
ie: Is it “ASL Message Window” or “ASLMessageWindow”…

Thinking about it, if you are missing the .NET framework / C++ redist’s software, that might explain why the pop-up code isn’t working…

Mike

Hi,

We have since purchased deadline but we are still having problems with the error supression. It is the same as before when an error occurs in after effects the dialog pops up and the slave hangs until ok is clicked, this means that renders slow down and finally hang on the final checked out uncompleted frames.

any ideas on why this happens

thanks

Jo

Hi Jo,

It would appear that this particular popup cannot be detected. Deadline’s default behavior when it detects a popup that doesn’t have a “handler” is to fail the render with the dump of the offending popup, so the fact that you’re not even seeing this behavior is an indication that Deadline cannot detect the popup in the first place.

Deadline would be checking the main aerender.exe process and any subprocesses that it starts up for popups, so it may be possible that this particular error is coming from Windows and not the aerender.exe process, which unfortunately Deadline does not handle.

What I still don’t understand is why some of the logs show the usage instructions for aerender.exe. The only thing that should cause this is if the command line arguments are formatted incorrectly, but they look OK as far as I can tell:

One thing that might be an issue though is the spaces in the comp and output names. I know AE has had problems with these sorts of things in the past, and maybe they still cause underlying issues.

Here are some things to check to try and diagnose the problem further:

  1. Is the problem limited to specific render nodes, or does it happen randomly across all of them? It may be that there are a few bad apples in the farm that are responsible for most of the problems. Keep a tally of which machine(s) the problem occurs on over a few days and see if you notice any patterns.
  2. Is the problem limited to specific AE project files, or does it happen randomly for all of them? It may be that the files you have problems with have something in common, like a plugin, a font, a comp naming convention (ie: spaces in the name), etc. Again, keep a tally over a few days to see if you can narrow down the potential cause of the problem.
  3. Have you or are you able to triy out AE CS4 to see if the problem persists?

Cheers,

  • Ryan