AE apple event at line 751

Hey, I have an After Effects job that shows Completed in the Tasks tab, but there are no rendered frames. The “AESend failed to send apple event at line 751” error seems familiar to me but I don’t really know what it means. Thanks for any help!

  • Jance

Here’s one of the logs:

Log Message
0: Task timeout is disabled.
0: Plugin rendering frame(s): 111-120
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: “/Applications/Adobe After Effects CS4/aerender”
0: INFO: CheckPathMapping: Swapped “/Volumes/01_CURRENT_JOBS/ROYAL_LINDY_6763/MS_PRODUCTION_SVR/Royal_Lindy_6763P/03_Projects_Files/01_Aep/001_Education_Rushmore/01_BG_Left/jca/jca_001_001_l_000_006.aep” with “/Volumes/01_CURRENT_JOBS/ROYAL_LINDY_6763/MS_PRODUCTION_SVR/Royal_Lindy_6763P/03_Projects_Files/01_Aep/001_Education_Rushmore/01_BG_Left/jca/jca_001_001_l_000_006.aep”
0: INFO: CheckPathMapping: Swapped “/Volumes/01_CURRENT_JOBS/ROYAL_LINDY_6763/MS_RENDER_SVR/Royal_Lindy_6763R/01_Output/001/001/001_001_l_000_006/jca_001_001_l_000_006_pxy/jca_001_001_l_000_006_pxy_[#####].jpg” with “/Volumes/01_CURRENT_JOBS/ROYAL_LINDY_6763/MS_RENDER_SVR/Royal_Lindy_6763R/01_Output/001/001/001_001_l_000_006/jca_001_001_l_000_006_pxy/jca_001_001_l_000_006_pxy_[#####].jpg”
0: INFO: Render Argument: -project “/Volumes/01_CURRENT_JOBS/ROYAL_LINDY_6763/MS_PRODUCTION_SVR/Royal_Lindy_6763P/03_Projects_Files/01_Aep/001_Education_Rushmore/01_BG_Left/jca/jca_001_001_l_000_006.aep” -comp “1280_15” -s 111 -e 120 -output “/Volumes/01_CURRENT_JOBS/ROYAL_LINDY_6763/MS_RENDER_SVR/Royal_Lindy_6763R/01_Output/001/001/001_001_l_000_006/jca_001_001_l_000_006_pxy/jca_001_001_l_000_006_pxy_[#####].jpg”
0: INFO: Startup Directory: “/Applications/Adobe After Effects CS4”
0: INFO: Process Priority: BelowNormal
0: INFO: Process is now running
0: STDOUT: aerender version 9.0.2x42
0: STDOUT: PROGRESS: Launching After Effects…
0: STDOUT: aerender ERROR -609: AESend failed to send apple event at line 751
0: INFO: Process exit code: 0
0: INFO: CheckPathMapping: Swapped “/Volumes/01_CURRENT_JOBS/ROYAL_LINDY_6763/MS_RENDER_SVR/Royal_Lindy_6763R/01_Output/001/001/001_001_l_000_006/jca_001_001_l_000_006_pxy/jca_001_001_l_000_006_pxy_[#####].jpg” with “/Volumes/01_CURRENT_JOBS/ROYAL_LINDY_6763/MS_RENDER_SVR/Royal_Lindy_6763R/01_Output/001/001/001_001_l_000_006/jca_001_001_l_000_006_pxy/jca_001_001_l_000_006_pxy_[#####].jpg”

Log Details
Log Date/Time = Sep 14/09 13:51:17
Frames = 111-120

Slave Machine = Render-116-8c-cs4
Slave Version = v3.1.0.36430 R

Plugin Name = AfterEffects

Check out this site, its ace at helping you render wrangle an AE project issue:
aeerrors.myleniumstuff.de

Looking at your error on the web database, I nearest one I could find is this:

[code]AErender Error -1712: AESend failed to send apple event at line 674.
December 14th, 2008
Message text:

AErender Error -1712: AESend failed to send apple event at line 674.

Message interpretation:

The render engine failed to properly register with the command processor of the operating system.

Possible causes:

In the above example, the render engine was fired using a render manager. Possibly its commands were redirected using AppleScript to allow remote control over the network. Due to security restrictions, the process was not correctly registered and gained no access to required system functions.

Resolution or workaround:

Not applicable.

Applies to: 5.5, 6.0, 6.5, 7.0, CS3, CS4, Mac intel, Mac PPC[/code]

Mike

Thanks - good resource for AE errors. But, I’m not sure what to do about that error, AND the Deadline monitor shows Status Completed, no red line, no obvious indication of anything wrong, but there are no rendered frames. Seems like maybe a bug?

  • Jance

We just need to add a stdout handler to the AE plugin to catch this error message. Usually when AE throws an error during rendering, it returns a non-zero error code, which tells Deadline that the render failed. Since that’s not the case here, we need to catch that specific error message and fail the render.

I’ve attached a patch here that should take care of this. To install, first make a backup copy of \your\repository\plugins\AfterEffects\AfterEffects.py, then unzip the attached fie to \your\your\repository\plugins\AfterEffects and say Yes when asked to overwrite the file. Now you should be good to go. Test this out and let us know if you continue to have problems.

Cheers,

Ryan, sorry we have just been slammed. We’re planning to test this patch this week. I’ll post here with any results.

Thanks!

  • Jance

Just wanted to let everyone know that deadline now properly identifies the AESend error after this patch and requeues the task.