Announcement

Collapse
No announcement yet.

post translate script creates "fatal error building the scene for V-Ray"

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

  • post translate script creates "fatal error building the scene for V-Ray"

    So frustrating, and I know it's something simple. It doesn't matter what I put in the post translate script window, I get "# Error: There was a fatal error building the scene for V-Ray. #".

    I started trying to use the examples in the docs (turn your shaders red...blah blah) and got the fatal error, so Then I try just putting a comment there and I STILL get fatal error. We have a central install setup, but I've installed vray locally to try and trouble shoot, but I still get the same error. If I run enter "from vray.utils import *" in the maya python shell, I I get no errors.

    print os.environ['PYTHONPATH']
    # Result: //disks/nas0/CGI/_melScripts/common/scripts;C:/Program Files/DynamicaBullet2.81ForMaya2013-x64/scripts;C:/Program Files/Pixelux/DMM2013/scripts;C:/Program Files (x86)/dRaster/NEX/2013-x64/scripts;C:/Program Files/Autodesk/Maya2013/vray/scripts/vray;C:/Program Files/Autodesk/Maya2013/vray/scripts;C:/Program Files/Autodesk/Maya2013/mentalray/scripts/AETemplates;C:/Program Files/Autodesk/Maya2013/mentalray/scripts/mentalray;C:/Program Files/Autodesk/Maya2013/mentalray/scripts/unsupported;C:/Program Files/Autodesk/Maya2013/mentalray/scripts #

    for whatever reason, it seems vray is choking trying to run the python interpreter.

    Any thoughts are greatly appreciated!

    Thank you,

    -ctj
    http://www.a52.com

  • #2
    What is your VRay build ?

    Official build crash when you import some Python modules in Python translate.
    www.deex.info

    Comment


    • #3
      funny, I usually post that sort of thing.

      version 2.25.01, revision 22764 nightly
      maya 2013 sp1
      win7 x64
      http://www.a52.com

      Comment


      • #4
        And every script crash VRay ?

        Can you try an examples with a simple scene ? (like 1 sphere, 1 material)
        www.deex.info

        Comment


        • #5
          Thanks deex for checking in...yeah, I tried the sphere and using the 'red' script first to no avail.

          Solved the issue though. I checked on my laptop, a decent control from the way our workstations are configured and not using a central install of vray, as our workstations are. The red sphere sample script worked on the laptop, so I printed out the PYTHONPATH and the MAYA_SCRIPT_PATH of the laptop and compared it to the workstation. vray/scripts *and* vray/scripts/vray are in *both* python path and scripts path. I updated my maya.env to reflect the same and we're working now.

          here's the working maya.env (with a load of other crap as well)
          Code:
          MAYA_DISABLE_CIP=1
          MAYA_MODULE_PATH = //networkDrive/_plugins/maya/modules
          PHX_FOR_MAYA2013_MAIN_x64 = //networkDrive/_plugins/maya/phoenix/phoenixFD_adv_maya2013_vray_20_x64/maya_root/phoenixfd
          MAYA_RENDER_DESC_PATH = //networkDrive/_plugins/maya/vray/VRAYx64_Maya_2013_NIGHTLY/maya_root/bin/rendererDesc
          VRAY_FOR_MAYA2013_MAIN_x64 = //networkDrive/_plugins/maya/vray/VRAYx64_Maya_2013_NIGHTLY/maya_vray
          VRAY_FOR_MAYA2013_PLUGINS_x64 = //networkDrive/_plugins/maya/vray/VRAYx64_Maya_2013_NIGHTLY/maya_vray/vrayplugins;//networkDrive/_plugins/maya/phoenix/phoenixFD_adv_maya2013_vray_20_x64/maya_vray/vrayplugins
          VRAY_AUTH_CLIENT_FILE_PATH = //networkDrive/_plugins/maya/vray/VRAYx64_Maya_2013_NIGHTLY
          MAYA_PLUG_IN_PATH = //networkDrive/_mayaPlugins/common;//networkDrive/_plugins/maya/vray/VRAYx64_Maya_2013_NIGHTLY/maya_vray/plug-ins;//networkDrive/_plugins/maya/phoenix/phoenixFD_adv_maya2013_vray_20_x64/maya_root/phoenixfd/plug-ins
          MAYA_SCRIPT_PATH = //networkDrive/_plugins/maya/phoenix/phoenixFD_adv_maya2013_vray_20_x64/maya_root/phoenixfd/scripts;//networkDrive/_plugins/maya/vray/VRAYx64_Maya_2013_NIGHTLY/maya_vray/scripts/vray;//networkDrive/_plugins/maya/vray/VRAYx64_Maya_2013_NIGHTLY/maya_vray/scripts;//networkDrive/_melScripts/common/scripts
          XBMLANGPATH = //networkDrive/_mayaPlugins/common/icons;//networkDrive/_plugins/maya/vray/VRAYx64_Maya_2013_NIGHTLY/maya_vray/icons;//networkDrive/_plugins/maya/phoenix/phoenixFD_adv_maya2013_vray_20_x64/maya_root/phoenixfd/icons
          MAYA_PRESET_PATH = //networkDrive/_melScripts/common/presets
          MI_CUSTOM_SHADER_PATH = //networkDrive/_mi/common
          PYTHONPATH = //networkDrive/_plugins/maya/phoenix/phoenixFD_adv_maya2013_vray_20_x64/samples maya/scripts;//networkDrive/_plugins/maya/vray/VRAYx64_Maya_2013_NIGHTLY/maya_vray/scripts/vray;//networkDrive/_plugins/maya/vray/VRAYx64_Maya_2013_NIGHTLY/maya_vray/scripts;//networkDrive/_melScripts/common/scripts
          PATH = PATH;//networkDrive/_plugins/maya/vray/VRAYx64_Maya_2013_NIGHTLY/maya_root/bin;"C:/Program Files/Tweak/RV-3.12.17-64/bin"
          http://www.a52.com

          Comment


          • #6
            Good to see that it's working !
            www.deex.info

            Comment

            Working...
            X