From: Stephan Kosinski <stephan@logan.tv>
Subject: Re: [OsX 10.5.5] After Effect CS3 render issue.
   Date: Mon, 29 Sep 2008 14:49:50 -0400
Msg# 1786
View Complete Thread (6 articles) | All Threads
Last Next
Hello Greg, hello rush folks!

Thank you for the tip. Actaully it now renders the images properly 2 of the 3 machines I'm testing AErender on.

	On the two rendering machines I still get the message:

Executing: aerender -project "/Volumes/PROJECTS/dakperso/dakperso_BASE/2d/AFTER_EFFECTS/dak/TRACKING_TEST/project_files/rush_test.aep" -comp "test_ShaveAndHairCut" -s 4 -e 4 Mon Sep 29 10:52:51 loganM005 aerender[5254] <Warning>: 3891612: (connectAndCheck) Untrusted apps are not allowed to connect to or launch Window Server before login. _RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.

	.... But it renders the current image properly.

	As mentionned in the link you sent the rendered images belong to root.

	On the one of the rendering machine (loganM014)I get this message:

Executing: aerender -project "/Volumes/PROJECTS/dakperso/dakperso_BASE/2d/AFTER_EFFECTS/dak/TRACKING_TEST/project_files/rush_test.aep" -comp "test_ShaveAndHairCut" -s 3 -e 3 _RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.
PROGRESS: Launching After Effects...
aerender ERROR -600: GetProcessForPID failed at line 847
	
	.... and the image does not render.


What is strange is that when I launch the line in a ssh session the images renders well:

[loganM014:/Applications/Adobe After Effects CS3] dak% ./aerender -project "/Volumes/PROJECTS/dakperso/dakperso_BASE/2d/AFTER_EFFECTS/dak/TRACKING_TEST/project_files/rush_test.aep" -comp "test_ShaveAndHairCut" -s 3 -e 3
PROGRESS: Launching After Effects...
Mon Sep 29 11:30:55 loganM014 aerender[2265] <Warning>: 3891612: (connectAndCheck) Untrusted apps are not allowed to connect to or launch Window Server before login. _RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.
PROGRESS: ...After Effects successfully launched
PROGRESS:  9/29/08 11:31:00 AM: Starting composition test_ShaveAndHairCut.


PROGRESS:  Render Settings: Best Settings
PROGRESS:  Quality: Best
PROGRESS:  Resolution: Full
PROGRESS:  Size: 640 x 480
PROGRESS:  Proxy Use: Use No Proxies
PROGRESS:  Effects: Current Settings
PROGRESS:  Disk Cache: Read Only
PROGRESS:  Color Depth: Current Settings
PROGRESS:  Frame Blending: On For Checked Layers
PROGRESS:  Field Render: Off
PROGRESS:  Pulldown: Off
PROGRESS:  Motion Blur: On For Checked Layers
PROGRESS:  Use OpenGL: Off
PROGRESS:  Solos: Current Settings
PROGRESS:  Time Span: Custom
PROGRESS:  Start: 00003
PROGRESS:  End: 00003
PROGRESS:  Duration: 00001
PROGRESS:  Frame Rate: 30.00 (comp)
PROGRESS:  Guide Layers: All Off
PROGRESS:  Storage Overflow: On
PROGRESS:  Skip Existing Files: Off
PROGRESS:
PROGRESS:  Output Module: Lossless
PROGRESS: Output To: PROJECTS:dakperso:dakperso_BASE:IMAGES:USERS:dak:TRACKING_TEST:work:test_AFX_rush.[#####].tga
PROGRESS:  Format: Targa Sequence
PROGRESS:  Output Info: -
PROGRESS:  Start Frame: 3
PROGRESS:  Output Audio: -
PROGRESS:  Channels: RGB + Alpha
PROGRESS:  Depth: Millions of Colors+
PROGRESS:  Color: Straight
PROGRESS:  Stretch: -
PROGRESS:  Crop: -
PROGRESS:  Final Size: 640 x 480
PROGRESS:  Profile:  -
PROGRESS:  Embed Profile:
PROGRESS:
PROGRESS:  Post-Render Action: None
PROGRESS:
PROGRESS:
PROGRESS:
PROGRESS:
PROGRESS:  00003 (1): 0 Seconds
PROGRESS:  9/29/08 11:31:01 AM: Finished composition test_ShaveAndHairCut.



PROGRESS:  Total Time Elapsed: 1 Seconds



	So here are my two questions:

	- What could I have omitted when I did install rush on this machine?
- What will be the best way to add "chown" and a "chmod" command at the current image completion in order to make to rendered image belongs to the user who launched the job? Is it possible to it in the command line of the AfterEffect submit script?

command perl $G::self -render $in{AEVersion} $in{ScenePath} $in{CompName} $in{OutputPath} $batchframes $batchend $in{Retries} $in{RetryBehavior} $in{MaxLogSize} $in{PrintEnvironment} $in{RenderFlags} It will be a dirty workaround but it would be totally invisible for users and allow them to delete their images without troubles.

Thank you for your help.

Stephan.

Greg Ercolano wrote:
Stephan Kosinski wrote:
While I have to problem in rendering some maya scenes I have an issue with AfterEffect I don't know how to workaround. (well, I'm pretty lame on OsX...)

When I submit a job to one of the Mac station, here is what I get this error:

_RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.

	Pretty sure that's a variation of this problem:
	http://www.seriss.com/rush-current/issues-afterfx-6.5/index.html#OSX

	AE is odd in that it needs access to the window manager
	during rendering, on both Windows and OSX, so it's basically
	a permission issue with AE not able to access the window manager.

	The fix is most likely just a matter of:

cd '/Applications/Adobe After Effects 6.5/'
chown 0:0 aerender
chmod 4755 aerender

	..just change the "Adobe After Effects 6.5" path to the
	appropriate CS3 pathname.


Last Next