Hey All,
I have some envvars that I need to have the qubeproxy user run before starting render jobs. I found the "export_environment" option in the manual, and that seems to work for the LinuxMachines... but on the Mac I'm still not getting all the EnvVars that I need...
For example, in the below 4 env commands you can see that the projects directory var, $KS_PROJECTS which is defined in my .profile, exists in the LinuxBoxes env (local and via qube job)... But, on the Mac $KS_PROJECTS only exists with the local login... and not from the qube command-line job...
Anyone have any ideas why that would be?
Thanks,
Matt
##########################################################
### Render01.local env via Qube "Command-line Job" ###################
----------------------------------
- Worker 7112.0
----------------------------------
[Jun 3, 2008 18:42:30] render01.local : job type version:
loading command line executor.
job id: 7112
COMMAND: env
HOSTNAME=render01.local
TERM=xterm-color
SHELL=/bin/bash
QBPGRPID=7112
HISTSIZE=1000
USER=qubeproxy
LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35:
QB_DIR=/usr/local/pfx/qube/
MENTALRAY_PATH=/usr/autodesk/mi356/bin:/usr/autodesk/mi3561/bin
QB_SUPERVISOR=10.0.0.145
KS_PROJECTS=/Volumes/VFX/Projects
PATH=/usr/kerberos/bin:/usr/lib/ccache:/usr/local/bin:/bin:/usr/bin:/usr/local/pfx/qube/bin:/usr/local/pfx/qube/sbin:/usr/autodesk/mi356/bin:/usr/autodesk/mi3561/bin:/home/qubeproxy/bin
MAIL=/var/spool/mail/qubeproxy
QBSUBID=0
PWD=/
INPUTRC=/etc/inputrc
LANG=en_US.UTF-8
QBDIR=/usr/local/pfx/qube
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SPM_HOST=10.0.0.122
QBJOBID=7112
HOME=/home/qubeproxy
SHLVL=2
QB_DOMAIN=
LOGNAME=qubeproxy
CVS_RSH=ssh
LESSOPEN=|/usr/bin/lesspipe.sh %s
G_BROKEN_FILENAMES=1
_=/bin/env
INFO: execution successful.
[Jun 3, 2008 18:42:31] render01.local : dso complete
##################################
### Render01 env via local bash ###########################
[root@render01 bin]# su - qubeproxy
[qubeproxy@render01 ~]$ env
HOSTNAME=render01.local
SHELL=/bin/bash
TERM=xterm-color
HISTSIZE=1000
USER=qubeproxy
LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35:
MENTALRAY_PATH=/usr/autodesk/mi356/bin:/usr/autodesk/mi3561/bin
KS_PROJECTS=/Volumes/VFX/Projects
MAIL=/var/spool/mail/qubeproxy
PATH=/usr/kerberos/bin:/usr/lib/ccache:/usr/local/bin:/bin:/usr/bin:/usr/local/pfx/qube/bin:/usr/local/pfx/qube/sbin:/usr/autodesk/mi356/bin:/usr/autodesk/mi3561/bin:/home/qubeproxy/bin
INPUTRC=/etc/inputrc
PWD=/home/qubeproxy
LANG=en_US.UTF-8
QBDIR=/usr/local/pfx/qube
SPM_HOST=10.0.0.122
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SHLVL=1
HOME=/home/qubeproxy
LOGNAME=qubeproxy
CVS_RSH=ssh
LESSOPEN=|/usr/bin/lesspipe.sh %s
G_BROKEN_FILENAMES=1
_=/bin/env
#############################################
#############################################
######################################################
### Mac Qube "Command-line Job" ##################################
----------------------------------
- Worker 7117.0
----------------------------------
[Jun 3, 2008 18:51:27] vfx06.local : job type version:
loading command line executor.
job id: 7117
COMMAND: env
SHELL=/bin/bash
QBPGRPID=7117
TMPDIR=/var/folders/8w/8wCwZTsrGiC2maXsJ1-46++++TI/-Tmp-/
Apple_PubSub_Socket_Render=/tmp/launch-n4qNNo/Render
RESOURCEPATH=/Applications/pfx/qube/qube.app/Contents/Resources
USER=vfx06
COMMAND_MODE=legacy
SSH_AUTH_SOCK=/tmp/launch-2QxpOW/Listeners
__CF_USER_TEXT_ENCODING=0x1F5:0:0
QB_DIR=/Applications/pfx/qube/
QB_SUPERVISOR=10.0.0.145
PATH=/usr/bin:/bin:/usr/sbin:/sbin
QBSUBID=0
PWD=/Applications/pfx/qube/qube.app/Contents/Resources
PYTHONHOME=/Applications/pfx/qube/qube.app/Contents/Resources
SHLVL=1
QBJOBID=7117
HOME=/Users/vfx06
QB_DOMAIN=
PYTHONPATH=/Applications/pfx/qube/qube.app/Contents/Resources
LOGNAME=vfx06
ARGVZERO=/Applications/pfx/qube/qube.app/Contents/MacOS/qube
EXECUTABLEPATH=/Applications/pfx/qube/qube.app/Contents/MacOS/qube
DISPLAY=/tmp/launch-QKACUb/:0
SECURITYSESSIONID=89ca70
_=/usr/bin/env
INFO: execution successful.
[Jun 3, 2008 18:51:27] vfx06.local : dylib complete
[Jun 3, 2008 18:51:27] vfx06.local : received confirmation from worker.
######################################################
### Mac env local bash ################################################################
vfx06:~ vfx06$ env
MANPATH=/usr/share/man:/usr/local/share/man:/usr/X11/man
TERM_PROGRAM=Apple_Terminal
TERM=xterm-color
SHELL=/bin/bash
TMPDIR=/var/folders/8w/8wCwZTsrGiC2maXsJ1-46++++TI/-Tmp-/
Apple_PubSub_Socket_Render=/tmp/launch-n4qNNo/Render
TERM_PROGRAM_VERSION=240
MAYA_SCRIPT_PATH=:/Volumes/VFX/Projects/Space_Buddies/Assets/Tools/Scripts:/Volumes/VFX/Projects/Space_Buddies/Assets/Tools/Scripts
USER=vfx06
COMMAND_MODE=unix2003
SSH_AUTH_SOCK=/tmp/launch-2QxpOW/Listeners
MAYA_PLUG_IN_PATH=/Applications/Autodesk/maya2008/Maya.app/Contents/Maya.app/Contents/MacOS/plug-ins/
__CF_USER_TEXT_ENCODING=0x1F5:0:0
ENVTEST=yes
NR_ICON_PATH=/Volumes/VFX/Projects/Space_Buddies/Assets/Tools/shake_macros/icons
KS_PROJECTS=/Volumes/VFX/Projects
MAYA_PYTHON_PATH=/Applications/Autodesk/maya2008/Maya.app/Contents/Maya.app/Contents/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages:/Applications/Autodesk/maya2008/Maya.app/Contents/Maya.app/Contents/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/maya:/Users/vfx01/Documents/eclipse/mayaDev
PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/Applications/QuickTime
Player.app/Contents/MacOS:/Applications/Shake/shake.app/Contents/MacOS:/Applications/pfx/qube/bin:/Applications/Autodesk/maya2008/Maya.app/Contents/bin:/Applications/Autodesk/maya2008/Maya.app/Contents/bin:/Users/vfx06/bin:/Applications/QuickTime
Player.app/Contents/MacOS:/Applications/Shake/shake.app/Contents/MacOS:/Applications/pfx/qube/bin:/Applications/Autodesk/maya2008/Maya.app/Contents/bin:/Applications/Autodesk/maya2008/Maya.app/Contents/bin:/Users/vfx06/bin
PWD=/Users/vfx06
LANG=en_CA.UTF-8
MAYA_LOCATION=/Applications/Autodesk/maya2008/Maya.app/Contents
KS_PROJECTS_LOCAL=/Users/vfx06/Projects
SHLVL=1
HOME=/Users/vfx06
PYTHONPATH=/Applications/Autodesk/maya2008/Maya.app/Contents/Maya.app/Contents/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages:/Applications/Autodesk/maya2008/Maya.app/Contents/Maya.app/Contents/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/maya
LOGNAME=vfx06
NR_INCLUDE_PATH=/Volumes/VFX/Projects/Space_Buddies/Assets/Tools/shake_macros/include
DISPLAY=/tmp/launch-QKACUb/:0
SECURITYSESSIONID=89ca70
_=/usr/bin/env
######################