posted by Saham Ali
on Oct. 25, 2013, 4:10 p.m. (10 years, 1 month, 5 days ago)
7 Responses
0 Plus One's
0 Comments
Hey guys,?Looking for a little guidanceWe are using Vray in Maya 2014 with no issues. ?In our environment, I am using a network path for our Maya plugins, and using Vray docs to get the plugin to work via the network
http://help.chaosgroup.com/vray/help/maya/150R1/install_from_dir.htmI can successfully load Maya and choose the Vray renderer, and render locally in Maya with no issues, The problem arrises when we use deadline, and it launches Maya from a network path as well, but for some reason always errors out and says
0: STDOUT: Error: line 1: Unable to dynamically load : S:/resources/_Additional_Plugins/MAYA/Plugins/vrayformaya.mll0: STDOUT: The specified module could not be found.0: WARNING: Strict error checking off, ignoring the following error or warning.
0: STDOUT: Error: line 1: The specified module could not be found.0: WARNING: Strict error checking off, ignoring the following error or warning.0: STDOUT: Error: line 1: The specified module could not be found.
However, with all the same environmental variables, I can load Vray on the same system the deadline slave is launching, and get vray to work. The only difference is that I am launching Maya from the network in deadline as opposed to the local box when working locally.
0: INFO: Render Executable: "U:BNR_AppsMAYA2014inmayabatch.exe" 0: INFO: Render Argument: -prompt -file "C:UserssahamaliAppDataLocalThinkboxDeadline6slaveDS-SAHAMjobsData est.mb" -proj "S:/Graduates/SahamAli/Maya"
0: INFO: Startup Directory: "U:BNR_AppsMAYA2014in"0: INFO: Process Priority: BelowNormal0: INFO: Process Affinity: default0: INFO: Process is now running0: Plugin rendering frame(s): 1
0: INFO: Waiting until maya is ready to goConnecting to slave log: DS-SAHAM0: STDOUT: mental ray for Maya 2014?0: STDOUT: mental ray: version 3.11.1.4, Jan 25 2013, revision 189569
0: STDOUT: running deadline command: -getrepositoryroot0: STDOUT: file -f -options "v=0;" ?-typ "mayaBinary" -o "C:/Users/sahamali/AppData/Local/Thinkbox/Deadline6/slave/DS-SAHAM/jobsData/test.mb";addRecentFile("C:/Users/sahamali/AppData/Local/Thinkbox/Deadline6/slave/DS-SAHAM/jobsData/test.mb", "mayaBinary");
0: WARNING: Strict error checking off, ignoring the following error or warning.0: STDOUT: Error: line 1: Unable to dynamically load : S:/resources/_Additional_Plugins/MAYA/Plugins/vrayformaya.mll
0: STDOUT: The specified module could not be found.0: WARNING: Strict error checking off, ignoring the following error or warning.0: STDOUT: Error: line 1: The specified module could not be found.
0: WARNING: Strict error checking off, ignoring the following error or warning.0: STDOUT: Error: line 1: The specified module could not be found.0: STDOUT: ?(vrayformaya)
If I manually go to the location of Maya batch and launch, Itll load the Vrayformaya.mll and sit at the Mel prompt. Any ideas?
-- ? ? ? ?? ,|//,
? ? ? ? ( o - ) -oOO--(_)--Ooo----------------- Saham Ali Founder/Systems EngineerDvNT Technologies saham@dvnttechnologies.com 407.729.3584 - Direct
Andrew,Basically the below is what ended up using,What I had forgot was to add the location to the vray/bin directory into the PATH env var.After that all was savvy.
On Wed, May 7, 2014 at 4:55 PM, Andrew Spurbeck <andrew@rfx.com> wrote:
Hey Saham,
What was your final result here, where you able to get it all
fixed?
-=Andrew
On 10/25/2013 3:48 PM, Saham Ali wrote:
Jesse,
I am going to use your setup and see if i can get it
working.
Thanks for that.
On Fri, Oct 25, 2013 at 5:45 PM, Jesse
Kretschmer <jkrets@gmail.com>
wrote:
Are you absolutely positive the all the environment
variables are set correctly?
Hopefully it is just the environment. Can you run a
"set" command through deadline or otherwise get a dump
of the variables and values?
More Information
I have a lot of experience configuring and deploying
VRay. It requires a number environment variables to work
correctly. Make sure you have all of them set before
rendering. Most of the time I am seeing errors like that
are related to the vray variables not being set. It's
possible as well that your network version of Maya has
not had all the changes that VRay likes to apply when
installing.
My Setup
Here's an outline of my setup in case it is useful.
My studio needs to change vray versions frequently.
Getting each version to work is just a matter of setting
up the environment correctly. This is a dictionary from
my config tool wherein BASE represents the path to the
vray version that will be run.
Response from Andrew Spurbeck @ May 7, 2014, 6:25 p.m.
Thank you Saham,
Cheers!
-=Andrew
On 5/7/2014 3:21 PM, Saham Ali wrote:
Andrew,
Basically the below is what ended up using,
What I had forgot was to add the location to the vray/bin
directory into the PATH env var.
After that all was savvy.
On Wed, May 7, 2014 at 4:55 PM,
Andrew Spurbeck <andrew@rfx.com> wrote:
Hey Saham,
What was your final result here, where you able to
get it all fixed?
-=Andrew
On 10/25/2013 3:48 PM, Saham Ali
wrote:
Jesse,
I am going to use your setup and see if i
can get it working.
Thanks for that.
On Fri, Oct 25, 2013
at 5:45 PM, Jesse Kretschmer <jkrets@gmail.com>
wrote:
Are you absolutely positive the all
the environment variables are set
correctly?
Hopefully it is just the
environment. Can you run a "set"
command through deadline or otherwise
get a dump of the variables and
values?
More Information
I have a lot of experience
configuring and deploying VRay. It
requires a number environment
variables to work correctly. Make sure
you have all of them set before
rendering. Most of the time I am
seeing errors like that are related to
the vray variables not being set. It's
possible as well that your network
version of Maya has not had all the
changes that VRay likes to apply when
installing.
My Setup
Here's an outline of my setup in
case it is useful. My studio needs to
change vray versions frequently.
Getting each version to work is just a
matter of setting up the environment
correctly. This is a dictionary from
my config tool wherein BASE represents
the path to the vray version that will
be run.
Response from Andrew Spurbeck @ May 7, 2014, 5 p.m.
Hey Saham,
What was your final result here, where you able to get it all
fixed?
-=Andrew
On 10/25/2013 3:48 PM, Saham Ali wrote:
Jesse,
I am going to use your setup and see if i can get it
working.
Thanks for that.
On Fri, Oct 25, 2013 at 5:45 PM, Jesse
Kretschmer <jkrets@gmail.com>
wrote:
Are you absolutely positive the all the environment
variables are set correctly?
Hopefully it is just the environment. Can you run a
"set" command through deadline or otherwise get a dump
of the variables and values?
More Information
I have a lot of experience configuring and deploying
VRay. It requires a number environment variables to work
correctly. Make sure you have all of them set before
rendering. Most of the time I am seeing errors like that
are related to the vray variables not being set. It's
possible as well that your network version of Maya has
not had all the changes that VRay likes to apply when
installing.
My Setup
Here's an outline of my setup in case it is useful.
My studio needs to change vray versions frequently.
Getting each version to work is just a matter of setting
up the environment correctly. This is a dictionary from
my config tool wherein BASE represents the path to the
vray version that will be run.
Response from Saham Ali @ Oct. 25, 2013, 6:50 p.m.
Jesse,I am going to use your setup and see if i can get it working.Thanks for that.
On Fri, Oct 25, 2013 at 5:45 PM, Jesse Kretschmer <jkrets@gmail.com> wrote:
Are you absolutely positive the all the environment variables are set correctly?Hopefully it is just the environment. Can you run a "set" command through deadline or otherwise get a dump of the variables and values?
More InformationI have a lot of experience configuring and deploying VRay. It requires a number environment variables to work correctly. Make sure you have all of them set before rendering. Most of the time I am seeing errors like that are related to the vray variables not being set. It's possible as well that your network version of Maya has not had all the changes that VRay likes to apply when installing.
My SetupHere's an outline of my setup in case it is useful. My studio needs to change vray versions frequently. Getting each version to work is just a matter of setting up the environment correctly. This is a dictionary from my config tool wherein BASE represents the path to the vray version that will be run.
'MAYA_PLUG_IN_PATH':'%(BASE)s/plug-ins','MAYA_RENDER_DESC_PATH': '%(BASE)s/maya/bin/rendererDesc',?
'MAYA_SCRIPT_PATH':'%(BASE)s/scripts','PATH':'%(BASE)s/bin','PYTHONPATH':'%(BASE)s/scripts',
'VRAY_AUTH_CLIENT_FILE_PATH':'<path to vrlclient.xml>','VRAY_FOR_MAYA2014_MAIN_x64':"%(BASE)s",
'VRAY_FOR_MAYA2014_PLUGINS_x64': '%(BASE)s/vrayplugins','VRAY_PLUGINS_x64': '%(BASE)s/vrayplugins',
'VRAY_TOOLS_MAYA2014_x64':"%(BASE)s/bin",'XBMLANGPATH':'%(BASE)s/icons',
To get these paths setup, manually set the destination folders from the installer and after move <version> to the network.
Response from Jesse Kretschmer @ Oct. 25, 2013, 5:50 p.m.
Are you absolutely positive the all the environment variables are set correctly?Hopefully it is just the environment. Can you run a "set" command through deadline or otherwise get a dump of the variables and values?
More InformationI have a lot of experience configuring and deploying VRay. It requires a number environment variables to work correctly. Make sure you have all of them set before rendering. Most of the time I am seeing errors like that are related to the vray variables not being set. It's possible as well that your network version of Maya has not had all the changes that VRay likes to apply when installing.
My SetupHere's an outline of my setup in case it is useful. My studio needs to change vray versions frequently. Getting each version to work is just a matter of setting up the environment correctly. This is a dictionary from my config tool wherein BASE represents the path to the vray version that will be run.
'MAYA_PLUG_IN_PATH':'%(BASE)s/plug-ins','MAYA_RENDER_DESC_PATH': '%(BASE)s/maya/bin/rendererDesc',?
'MAYA_SCRIPT_PATH':'%(BASE)s/scripts','PATH':'%(BASE)s/bin','PYTHONPATH':'%(BASE)s/scripts',
'VRAY_AUTH_CLIENT_FILE_PATH':'<path to vrlclient.xml>','VRAY_FOR_MAYA2014_MAIN_x64':"%(BASE)s",
'VRAY_FOR_MAYA2014_PLUGINS_x64': '%(BASE)s/vrayplugins','VRAY_PLUGINS_x64': '%(BASE)s/vrayplugins',
'VRAY_TOOLS_MAYA2014_x64':"%(BASE)s/bin",'XBMLANGPATH':'%(BASE)s/icons',
To get these paths setup, manually set the destination folders from the installer and after move <version> to the network.
Response from Dan Young @ Oct. 25, 2013, 5:50 p.m.
If you call Edwin at Thinkbox you can easily do server side command returns like the aforementioned "set" to check the render user's env
Sent from my iPhone On Oct 25, 2013, at 17:45, Jesse Kretschmer <jkrets@gmail.com> wrote:
Are you absolutely positive the all the environment variables are set correctly?Hopefully it is just the environment. Can you run a "set" command through deadline or otherwise get a dump of the variables and values?
More InformationI have a lot of experience configuring and deploying VRay. It requires a number environment variables to work correctly. Make sure you have all of them set before rendering. Most of the time I am seeing errors like that are related to the vray variables not being set. It's possible as well that your network version of Maya has not had all the changes that VRay likes to apply when installing.
My SetupHere's an outline of my setup in case it is useful. My studio needs to change vray versions frequently. Getting each version to work is just a matter of setting up the environment correctly. This is a dictionary from my config tool wherein BASE represents the path to the vray version that will be run.
'MAYA_PLUG_IN_PATH':'%(BASE)s/plug-ins','MAYA_RENDER_DESC_PATH': '%(BASE)s/maya/bin/rendererDesc',
'MAYA_SCRIPT_PATH':'%(BASE)s/scripts','PATH':'%(BASE)s/bin','PYTHONPATH':'%(BASE)s/scripts',
'VRAY_AUTH_CLIENT_FILE_PATH':'<path to vrlclient.xml>','VRAY_FOR_MAYA2014_MAIN_x64':"%(BASE)s",
'VRAY_FOR_MAYA2014_PLUGINS_x64': '%(BASE)s/vrayplugins','VRAY_PLUGINS_x64': '%(BASE)s/vrayplugins',
'VRAY_TOOLS_MAYA2014_x64':"%(BASE)s/bin",'XBMLANGPATH':'%(BASE)s/icons',
To get these paths setup, manually set the destination folders from the installer and after move <version> to the network.
Response from Saham Ali @ Oct. 25, 2013, 4:35 p.m.
Deadline launches under the current logged in user.In this case, its me, the domain admin so I have rights all around.I can verify deadline launches under my username but still bombs out.
check the user under which the app is running.
if it's running as a service (i think vray slave/sat does that or can do that) then it likely doesn't have authentication on your filer (user likely does).
if you don't have a directory service proper with your NAS integrated then you will have to do it manually/fake it/make the accounts manually synced up
Hey guys,?Looking for a little guidanceWe are using Vray in Maya 2014 with no issues. ?In our environment, I am using a network path for our Maya plugins, and using Vray docs to get the plugin to work via the network
http://help.chaosgroup.com/vray/help/maya/150R1/install_from_dir.htmI can successfully load Maya and choose the Vray renderer, and render locally in Maya with no issues, The problem arrises when we use deadline, and it launches Maya from a network path as well, but for some reason always errors out and says
0: STDOUT: Error: line 1: Unable to dynamically load : S:/resources/_Additional_Plugins/MAYA/Plugins/vrayformaya.mll0: STDOUT: The specified module could not be found.0: WARNING: Strict error checking off, ignoring the following error or warning.
0: STDOUT: Error: line 1: The specified module could not be found.0: WARNING: Strict error checking off, ignoring the following error or warning.0: STDOUT: Error: line 1: The specified module could not be found.
However, with all the same environmental variables, I can load Vray on the same system the deadline slave is launching, and get vray to work. The only difference is that I am launching Maya from the network in deadline as opposed to the local box when working locally.
0: INFO: Render Executable: "U:BNR_AppsMAYA2014inmayabatch.exe" 0: INFO: Render Argument: -prompt -file "C:UserssahamaliAppDataLocalThinkboxDeadline6slaveDS-SAHAMjobsData est.mb" -proj "S:/Graduates/SahamAli/Maya"
0: INFO: Startup Directory: "U:BNR_AppsMAYA2014in"0: INFO: Process Priority: BelowNormal0: INFO: Process Affinity: default0: INFO: Process is now running0: Plugin rendering frame(s): 1
0: INFO: Waiting until maya is ready to goConnecting to slave log: DS-SAHAM0: STDOUT: mental ray for Maya 2014?0: STDOUT: mental ray: version 3.11.1.4, Jan 25 2013, revision 189569
0: STDOUT: running deadline command: -getrepositoryroot0: STDOUT: file -f -options "v=0;" ?-typ "mayaBinary" -o "C:/Users/sahamali/AppData/Local/Thinkbox/Deadline6/slave/DS-SAHAM/jobsData/test.mb";addRecentFile("C:/Users/sahamali/AppData/Local/Thinkbox/Deadline6/slave/DS-SAHAM/jobsData/test.mb", "mayaBinary");
0: WARNING: Strict error checking off, ignoring the following error or warning.0: STDOUT: Error: line 1: Unable to dynamically load : S:/resources/_Additional_Plugins/MAYA/Plugins/vrayformaya.mll
0: STDOUT: The specified module could not be found.0: WARNING: Strict error checking off, ignoring the following error or warning.0: STDOUT: Error: line 1: The specified module could not be found.
0: WARNING: Strict error checking off, ignoring the following error or warning.0: STDOUT: Error: line 1: The specified module could not be found.0: STDOUT: ?(vrayformaya)
If I manually go to the location of Maya batch and launch, Itll load the Vrayformaya.mll and sit at the Mel prompt. Any ideas?
-- ? ? ? ?? ,|//,
? ? ? ? ( o - ) -oOO--(_)--Ooo----------------- Saham Ali Founder/Systems EngineerDvNT Technologies saham@dvnttechnologies.com 407.729.3584 - Direct
? .ooO ? (? ? )? ?? Ooo. --? ( ------(? ? )------------------- ? ? \_)? ? ?? )? / ? ? ? ? ? ? ? (_/
To unsubscribe from the list send a blank e-mail to mailto:studiosysadmins-discuss-request@studiosysadmins.com?subject=unsubscribe
-- Nick Allevato | Systems Administrator? 5th Kind?Digital Asset Management www.5thkind.com | c:?661.645.3507