Announcement

Collapse
No announcement yet.

python error

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

  • python error

    hey , i'm working on an imac 2.7 intel core i5 with mac os x 10.7.5. I'm trying to have a copy of blender working with the v-ray demo version. What i did so far is follow the instructions of the blender to v-ray dvd part 1.
    I dowloaded and installed the vray_demo_22001_maya2010_leopard_x86, destination folders are for maya root folder : /Applications/Autodesk/maya2010/Maya.app/Contents, v-ray plugins dest folder : /Applications/Autodesk/maya2010/Maya.app/Contents/vray, v-ray additional files : /Applications/ChaosGroup/V-Ray/Maya2010. Then i dowloaded the file vrayblender -2.66-55011-macos-10.6-x86_64.tar.bz2 wich extracted gives me a copy of blender version vray/blender 2.66.0 rexported. However when i choose the vray demo render option to render i get this python error and only a checkered board.


    Traceback (most recent call last):
    File "/Applications/vrayblender-2.66-55011-x86_64/blender.app/Contents/MacOS/2.66/scripts/startup/vb25/render_ops.py", line 1018, in render
    err = vb25.render.render(self, scene)
    File "/Applications/vrayblender-2.66-55011-x86_64/blender.app/Contents/MacOS/2.66/scripts/startup/vb25/render.py", line 2031, in render
    export_and_run(init_bus(engine, scene))
    File "/Applications/vrayblender-2.66-55011-x86_64/blender.app/Contents/MacOS/2.66/scripts/startup/vb25/render.py", line 1930, in export_and_run
    run(bus)
    File "/Applications/vrayblender-2.66-55011-x86_64/blender.app/Contents/MacOS/2.66/scripts/startup/vb25/render.py", line 1885, in run
    process = subprocess.Popen(params)
    File "/Applications/vrayblender-2.66-55011-x86_64/blender.app/Contents/MacOS/2.66/python/lib/python3.3/subprocess.py", line 818, in __init__
    restore_signals, start_new_session)
    File "/Applications/vrayblender-2.66-55011-x86_64/blender.app/Contents/MacOS/2.66/python/lib/python3.3/subprocess.py", line 1416, in _execute_child
    raise child_exception_type(errno_num, err_msg)
    FileNotFoundError: [Errno 2] No such file or directory: 'vray'

    location: <unknown location>:-1

    i'm just a simple 3d artist and have no clues about python scripting or unix commands.
    What could have been wrong ?

  • #2
    Re: python error

    Hello!
    Try the solution mentioned here: https://github.com/bdancer/vb25/wiki...rs_in_terminal
    For your Maya 2010 command should be like:
    Code:
    sudo ln -s /Applications/Autodesk/maya2010/Maya.app/Contents/vray/bin/vray /usr/bin/
    V-Ray For Houdini | V-Ray Hydra Delegate | VRayScene
    andrei.izrantcev@chaos.com
    Support Request

    Comment


    • #3
      Re: python error solved, render problem

      I see, that did the trick. Now, i presume that the demo version i installed is the 32 bit version. When i hit f12 i do get a render but that is the default render window, not the V-Ray frame buffer as in the video. I read there is a problem with the buffer and mac os x. (display VFB is turned on, image to blender also and display in new window). But why is it that when i render a scene in blender render window, after completing the render , the image is replaced with the result of an earlier render. This is frustrating since i can barely evaluate the result.

      Comment

      Working...
      X