Author Topic: Path translation Maya/AE  (Read 13281 times)

haich11

  • Sr. Member
  • ****
  • Posts: 32
Path translation Maya/AE
« on: February 10, 2010, 11:14:53 AM »
Hi,

I recently moved my Supervisor from OSX to PC due to me doing something unspeakable to the mysql database.

We use Qube mainly for AE and Maya jobs. While rendering to Maya is working as it used to I'm now having issues with AE which I think are down to path translation.

e.g.

I can render through Maya BatchRender to /mfserver/Jobs/0000 Test Project/Assets/Renders

but I can't render to that same path through AE using OSX workers.

I also have worker installed on the Supervisor (PC) and that can render using AE which is why I'm thinking this is a path issue.

My environment is now Supervisor on PC and workers all OSX. The workers are all hooked up via NFS to our server (where the files are rendered to) and through sym links (Volumes/Jobs mfserver/Jobs). As I said, this set up was working fine with Supervisor on OSX whether workers were PC or OSX.

I've looked at various posts on this forum about Path Translation but slightly confused about the fact that it's working within Maya but not AE.

Thanks.

jburk

  • Administrator
  • *****
  • Posts: 493
Re: Path translation Maya/AE
« Reply #1 on: February 10, 2010, 04:13:49 PM »
Something else must have changed; the path translation is independent of the supervisor.  It's all done on the workers or clients.

Did anything else get changed around the same time?

Curious though, did you install the same version supe on the PC as you had on the OSX box?

haich11

  • Sr. Member
  • ****
  • Posts: 32
Re: Path translation Maya/AE
« Reply #2 on: February 10, 2010, 05:26:39 PM »
Installers I've got are:

qube-supervisor-5.4-0.mpkg
qube-supervisor-5.4-0-Windows-x86.msi

So running that on both OSX and PC.

Confident nothing's changed on the workers.

?

haich11

  • Sr. Member
  • ****
  • Posts: 32
Re: Path translation Maya/AE
« Reply #3 on: February 10, 2010, 05:44:31 PM »
This is my Stdout


Code: [Select]
----------------------------------
-     Worker 318.0
----------------------------------

This is perl, v5.8.8 built for darwin-thread-multi-2level
(with 4 registered patches, see perl -V for more detail)

Copyright 1987-2006, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

[Feb 10, 2010 11:57:05] Dina.local : job type version: 5.4-0
INFO: loaded qb module and setup assignment.
INFO: perl module booted and running.

$ENV = {
  'HOME' => '/Users/qubeproxy',
  'QBJOBID' => '318',
  'HOST' => 'Dina.local',
  'QBSUBID' => '0',
  'MANPATH' => '/usr/share/man:/usr/local/share/man:/usr/X11/man',
  'OSTYPE' => 'darwin',
  'PWD' => '/Applications/pfx/qube/qube.app/Contents/Resources',
  'VENDOR' => 'apple',
  'QB_SUPERVISOR' => '',
  'QBPGRPID' => '318',
  'USER' => 'qubeproxy',
  'LOGNAME' => 'qubeproxy',
  'GROUP' => 'qubeproxy',
  'SHLVL' => '2',
  'QB_DIR' => '/Applications/pfx/qube/',
  '_' => '/usr/bin/perl',
  'PATH' => '/bin:/usr/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin',
  'MACHTYPE' => 'i386',
  'QB_DOMAIN' => 'qube',
  'SHELL' => '/bin/tcsh',
  'HOSTTYPE' => 'intel-pc'
};


$PKG = {
  'appversion' => '9.0',
  'Output_file_path' => '/mfserver/Jobs/0000 Test Project/Assets/Renders/AE Test',
  'Project_path' => '/mfserver/Jobs/0000 Test Project/Scenes/AE/AETest.aep'
};

INFO: [cwd=/Applications/pfx/qube/qube.app/Contents/Resources]

INFO: testing input files for read permission
INFO: [/mfserver/Jobs/0000 Test Project/Scenes/AE/AETest.aep]... [OK!]
INFO: all input files are readable!
INFO: searching the following paths for an executable
  /bin
  /usr/bin
  /usr/sbin
  /sbin
  /usr/local/bin
  /usr/X11/bin
  C:/Program Files/Adobe/Adobe After Effects CS3/Support Files
  C:/Program Files/Adobe/Adobe After Effects 7.0/Support Files
  C:/Program Files/Adobe/After Effects 6.5/Support Files
  /Applications/Adobe After Effects CS3
  /Applications/Adobe After Effects 7.0
  /Applications/Adobe After Effects 6.5
  /Applications/Adobe After Effects CS4
  /Applications/Adobe After Effects CS3


want [ver=9.0]
INFO: [/Applications/Adobe After Effects CS3/aerender]... [ver=8.0]
INFO: [/Applications/Adobe After Effects CS4/aerender]... [ver=9.0]
INFO: using executable [/Applications/Adobe After Effects CS4/aerender]

INFO: testing write-permission of the project path [/mfserver/Jobs/0000 Test Project/Scenes/AE] for log-writing
INFO: testing output directories for write-permission
INFO: [/mfserver/Jobs/0000 Test Project/Scenes/AE]... [OK!]
INFO: all output directories are writable!
INFO: testing output directories for write-permission
INFO: [/mfserver/Jobs/0000 Test Project/Assets/Renders]... [OK!]
INFO: all output directories are writable!

command: "/Applications/Adobe After Effects CS4/aerender" -project "/mfserver/Jobs/0000 Test Project/Scenes/AE/AETest.aep"  -output "/mfserver/Jobs/0000 Test Project/Assets/Renders/AE Test"  -v ERRORS_AND_PROGRESS

INFO: running: "/Applications/Adobe After Effects CS4/aerender" -project "/mfserver/Jobs/0000 Test Project/Scenes/AE/AETest.aep"  -output "/mfserver/Jobs/0000 Test Project/Assets/Renders/AE Test"  -v ERRORS_AND_PROGRESS
_RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.
aerender version 9.0.2x42
PROGRESS: Launching After Effects...
aerender ERROR -609: AESend failed to send apple event at line 751
INFO: exitcode=0

INFO: Reporting to supe: qb::reportjob('complete')
received confirmation from worker.
=0

INFO: Reporting to supe: qb::reportjob('complete')
received confirmation from worker.
r.

jburk

  • Administrator
  • *****
  • Posts: 493
Re: Path translation Maya/AE
« Reply #4 on: February 10, 2010, 07:11:34 PM »
The root of the issue is "FAILED TO establish the default connection to the WindowServer".  There's probably someone logged into the worker.

Did you recently upgrade your AfterEffects?

The work-around is to set the aerender executable to be owned by root, and then set the permissions on aerender so that the process runs as root.

sudo chown root /Applications/Adobe After Effects CS4/aerender
sudo chmod +s /Applications/Adobe After Effects CS4/aerender


haich11

  • Sr. Member
  • ****
  • Posts: 32
Re: Path translation Maya/AE
« Reply #5 on: February 11, 2010, 11:09:57 AM »
Thanks very much. That seemed to do it although we hadn't done any upgrades recently so I wouldn't have expected that to change?

On a slightly different note. We have a few machines on Snow Leopard. Rendering in Maya seems to unaffected but After Effects doesn't like the version of Perl. I know it's not supported as yet in Qube but is that as expected for you guys?