Announcement

Collapse
No announcement yet.

Network Install

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Network Install

    I've followed the network installation instructions on the spot3d page, and everything seems to be in order except for mayabatch. I get the "Unable to dynamically load" error when trying to use mayabatch on my farm. It's locating the vrayformaya.mll and the PATH settings look correct, but it's giving the "The specified procedure could not be found." error. Standalone and DR runs no problem.
    Any suggestions?

  • #2
    can you post your cmd environment declaration here so we can look at it?
    Dmitry Vinnik
    Silhouette Images Inc.
    ShowReel:
    https://www.youtube.com/watch?v=qxSJlvSwAhA
    https://www.linkedin.com/in/dmitry-v...-identity-name

    Comment


    • #3
      Sorry, but what do you mean by cmd environment declaration? Do you want to see my variables, or the command line the farm is attempting to use? In the case of the latter:

      0: INFO: Render Executable: "C:\Program Files\Autodesk\Maya2013\bin\Render.exe"
      0: INFO: Rendering to network drive
      0: INFO: Rendering with Maya version 2013.0
      0: INFO: Rendering with VRay.
      0: INFO: Render Argument: -r vray -s 1000 -e 1000 -b 1 -rd "Z:/jobs/test_job/spot_1/shots/001/images" -proj "Z:/jobs/test_job/spot_1/shots/001/projects/maya/batchTest" "Z:\jobs\test_job\spot_1\shots\001\projects\maya\b atchTest\workshop\spot_1_001_batchTest_v0002.mb"
      0: INFO: Startup Directory: "C:\Program Files\Autodesk\Maya2013\bin"
      0: INFO: Process Priority: BelowNormal
      0: INFO: Process is now running
      0: STDOUT: Starting "C:\Program Files\Autodesk\Maya2013\bin\mayabatch.exe"
      0: STDOUT: mental ray for Maya 2013
      0: STDOUT: mental ray: version 3.10.1.4, Jan 31 2012, revision 165283
      0: INFO: Deadline is ignoring error: "Error: line 1: Unable to dynamically load : Z:/software/_softwarerepo/vray/maya_vray/plug-ins/vrayformaya.mll" because plugin setting Strict Error Checking is enabled and this error is not usually fatal.
      0: STDOUT: Error: line 1: Unable to dynamically load : Z:/software/_softwarerepo/vray/maya_vray/plug-ins/vrayformaya.mll
      0: STDOUT: The specified procedure could not be found.
      0: INFO: Deadline is ignoring error: "Error: line 1: The specified procedure could not be found." because plugin setting Strict Error Checking is enabled and this error is not usually fatal.
      0: STDOUT: Error: line 1: The specified procedure could not be found.
      0: INFO: Deadline is ignoring error: "Error: line 1: The specified procedure could not be found." because plugin setting Strict Error Checking is enabled and this error is not usually fatal.
      0: STDOUT: Error: line 1: The specified procedure could not be found.
      0: STDOUT: (vrayformaya)

      Comment


      • #4
        No I meant post your file which starts the mayabatch process (one that declares all the enviroments)

        Btw, I see you are using deadline. In this case I may know whats happening. When you use deadline submitter do you select force build? I think you need to set force build to None.
        Dmitry Vinnik
        Silhouette Images Inc.
        ShowReel:
        https://www.youtube.com/watch?v=qxSJlvSwAhA
        https://www.linkedin.com/in/dmitry-v...-identity-name

        Comment


        • #5
          I tried to disable the force build option and the same error persisted, it can't register vray dynamically.

          Batch is being called via deadline (or if I call it directly in command, the same error occurs if I try to load vray). The environment variables are set on the render node or being parsed from the Maya.env file. The following is in the env file:

          MAYA_PLUG_IN_PATH = Z:\software\_softwarerepo\vray\maya_vray\plug-ins
          MAYA_SCRIPT_PATH = Z:\software\_softwarerepo\vray\maya_vray\scripts
          XBMLANGPATH = Z:\software\_softwarerepo\vray\maya_vray\icons\%B
          And these are set on the render node:
          MAYA_RENDER_DESC_PATH = Z:\software\_softwarerepo\vray\maya_root\bin\rende rerDesc
          VRAY_AUTH_CLIENT_FILE_PATH = Z:\software\_softwarerepo\vray
          VRAY_FOR_MAYA2013_MAIN_x64 = Z:\software\_softwarerepo\vray\maya_vray
          VRAY_FOR_MAYA2013_PLUGINS_x64 = Z:\software\_softwarerepo\vray\maya_vray\vrayplugi ns
          VRAY_PLUGINS_x64 = Z:\software\_softwarerepo\vray\maya_vray\vrayplugi ns
          Also the PATH variable has Z:\software\_softwarerepo\vray\maya_root\bin appended to it.

          Comment


          • #6
            Is it a typo or a bad paste some of your lines have spaces in them? like "bin\rende rerDesc"

            I checked our variable file, you have to put the vray root/bin in front of the PATH line if you append it at the end it will not load (for us anyway), and also I do not see any module paths do you handle them differently?

            Typically dynamic load error means that the dlls could not be loaded, so make sure your path to the dlls is properly searched, (that's where it has to be in front of PATH).
            Dmitry Vinnik
            Silhouette Images Inc.
            ShowReel:
            https://www.youtube.com/watch?v=qxSJlvSwAhA
            https://www.linkedin.com/in/dmitry-v...-identity-name

            Comment


            • #7
              It was an odd paste, the spaces are not there.

              As for the modules, do you mean the variable MAYA_MODULE_PATH? And if so, where should I point that?

              Comment


              • #8
                Here is an example:

                MAYA_MODULE_PATH=%VRAY_ROOT%/modules;%PHEONIX_ROOT%/modules;

                Where %VRAY_ROOT is path to the root of your vray folder.
                Dmitry Vinnik
                Silhouette Images Inc.
                ShowReel:
                https://www.youtube.com/watch?v=qxSJlvSwAhA
                https://www.linkedin.com/in/dmitry-v...-identity-name

                Comment


                • #9
                  And we're in business!

                  Thank you so much for all your help!

                  Comment


                  • #10
                    Cool, glad that worked. Also Im sure you know, if you install vray (using installer) on your workstation, you have to uninstall it after the fact in order to use the proper environment paths without conflicts. Vray will work if you don't uninstall, but it can load some dlls twice, or from wrong location etc.

                    Good luck!
                    Dmitry Vinnik
                    Silhouette Images Inc.
                    ShowReel:
                    https://www.youtube.com/watch?v=qxSJlvSwAhA
                    https://www.linkedin.com/in/dmitry-v...-identity-name

                    Comment


                    • #11
                      Hello All,
                      What was the resolution to this issue?
                      I am seeing the same issue via Deadline, I can batch render locally, via Maya gui and commandline, but running the same thing via deadline throws up a an error exactly as you state, unable to dynamically load the plugin.


                      0: STDOUT: Error: line 1: Unable to dynamically load : S:/resources/_Additional_Plugins/MAYA/Plugins/VRAY2.30/plug-ins/vrayformaya.mll
                      0: STDOUT: The specified procedure could not be found.
                      .....
                      .....
                      0: STDOUT: Error: file: S:/resources/_Additional_Plugins/MAYA/Plugins/VRAY2.30/scripts/vrayRegisterRenderer.mel line 304: The renderer vray is not registered yet.
                      Ive checked all my paths but can share if needed.

                      Any help would be greatly appreciated.

                      Comment

                      Working...
                      X