Announcement

Collapse
No announcement yet.

Attribute error: image_settings

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

  • Attribute error: image_settings

    Hello,
    I've just bought V-Ray, and when I try to launch the render in Blender (the custom build), I have this error on the terminal:
    Code:
    File "/Applications/3D/Blender/blender 2.5/blender Vray.app/Contents/MacOS/2.59/scripts/startup/vb25/ui/properties_render.py", line 145, in draw
        rd    = scene.render.image_settings
    AttributeError: 'RenderSettings' object has no attribute 'image_settings'
    I'm on OSX 10.6.8, the exporter is the last version (90e5766).
    I didn't have any problem when I used the demo of V-Ray. Thanks for your help.
    http://www.bupla.com

  • #2
    Re: Attribute error: image_settings

    This error is not about V-Ray. Just your exporter is slightly newer than build (build doesn't have such option group, but newer Blender SVN has).
    You could use build without updating the exporter, could compile new build yourself, use some latest graphicall builds or wait until I compile new mac build.
    V-Ray For Houdini | V-Ray Hydra Delegate | VRayScene
    andrei.izrantcev@chaos.com
    Support Request

    Comment


    • #3
      Re: Attribute error: image_settings

      Thanks for the answer.
      I'll try to compile a new build then.
      http://www.bupla.com

      Comment


      • #4
        Re: Attribute error: image_settings

        Ok I have succeeded in compiling a Blender Build, but not a custom VRay/Blender for the moment.
        I've downloaded the patch and run the autobuild script in the terminal but it failed. Where do I have to put the patch?

        Another question: I downloaded Git, and apprently the installation was succesfull, but I can't find it, it's not on /user/local and spotlight doesn't find it anywhere.
        Are there any other on Mac that could help me? Thanks.
        http://www.bupla.com

        Comment


        • #5
          Re: Attribute error: image_settings

          Here is the patching info: https://github.com/bdancer/vb25-patch/wiki/compilation
          Git will be avaialbe in terminal - "git" command.
          V-Ray For Houdini | V-Ray Hydra Delegate | VRayScene
          andrei.izrantcev@chaos.com
          Support Request

          Comment


          • #6
            Re: Attribute error: image_settings

            The problem is I'm on a Mac. The informations on this page are available for windows, Linux and ubuntu, unless there's a typo? Thanks for your help.
            http://www.bupla.com

            Comment


            • #7
              Re: Attribute error: image_settings

              Patching process is the same on all platforms.

              You need to apply patch with the "patch" tool:
              Code:
              cd <blender-source-root>
              patch -Np0 -i /path/to/vb25-patch/patch/vb25.patch
              and copy "exporter" directory:
              Code:
              cp -Rf /path/to/vb25-patch/patch/exporter source/blender/
              V-Ray For Houdini | V-Ray Hydra Delegate | VRayScene
              andrei.izrantcev@chaos.com
              Support Request

              Comment


              • #8
                Re: Attribute error: image_settings

                New build uploaded.
                Build script also updated, but documentation is not.
                If you want to try new build system clone vb25-patch repository with:
                Then use a command like (which will download all other sources and lib and build vrayblender):
                Code:
                python vb25-patch/build.py --upblender
                This command show all available option (some of them could be not working
                Code:
                python vb25-patch/build.py --help
                V-Ray For Houdini | V-Ray Hydra Delegate | VRayScene
                andrei.izrantcev@chaos.com
                Support Request

                Comment


                • #9
                  Re: Attribute error: image_settings

                  Thanks for all the informations, and for the new OSX build. I've downloaded yours, I'll try to build one later.
                  Unfortunately now, VRay doesn't recognise my license, the installation is a PITA, I contacted chaosgroup.
                  http://www.bupla.com

                  Comment


                  • #10
                    Re: Attribute error: image_settings

                    Hi Bdancer,
                    one more time I tried to compile a new Blender VRay build, but I still have troubles to make it.
                    When I use the command
                    Code:
                    python vb25-patch/build.py --upblender=on
                    it downloads everything but then, for the build I have this message:
                    Code:
                    Checked out revision 43429.
                    Export complete.
                    Exporting sources...
                    svn: Destination directory exists, and will not be overwritten unless forced
                    svn: Can't create directory 'blender': File exists
                    Getting "lib" data...
                    Traceback (most recent call last):
                      File "vb25-patch/build.py", line 132, in <module>
                        builder.build()
                      File "/Users/bupla/blender build/vb25-patch/builder/builder.py", line 483, in build
                      File "/Users/bupla/blender build/vb25-patch/builder/builder.py", line 240, in update_sources
                    AttributeError: MacBuilder instance has no attribute 'sources'
                    So I tried the other way to apply the patch manually with
                    Code:
                    cd <blender-source-root>
                    patch -Np0 -i /path/to/vb25-patch/patch/vb25.patch
                    but I have this error message:
                    Code:
                    par69-3-82-224-162-128:blender bupla$ patch -Np0 -i /path/to/vb25-patch/patch/vb25.patch
                    patch: **** Can't open patch file /path/to/vb25-patch/patch/vb25.patch : No such file or directory
                    The file vb25.patch is here though in my directory usr/blender build /blender/vb25-patch/patch.
                    Do I have to put the directory vb25-patch in another place?

                    Thanks for all.
                    http://www.bupla.com

                    Comment


                    • #11
                      Re: Attribute error: image_settings

                      Try doing this in a fresh new directory.
                      Create new dir like "vrayblender-build" then
                      Code:
                      cd vrayblender-build
                      git clone --depth 1 git://github.com/bdancer/vb25-patch.git
                      python vb25-patch/build.py
                      V-Ray For Houdini | V-Ray Hydra Delegate | VRayScene
                      andrei.izrantcev@chaos.com
                      Support Request

                      Comment


                      • #12
                        Re: Attribute error: image_settings

                        Thanks for taking the time answer,
                        I've created a new directory, 3 directories are created in this one: blender, blender-svn, vb25-patch. But I still have the same error in the terminal:
                        Code:
                        Export complete.
                        Exporting sources...
                        svn: Destination directory exists, and will not be overwritten unless forced
                        svn: Can't create directory 'blender': File exists
                        Getting "lib" data...
                        Traceback (most recent call last):
                          File "vb25-patch/build.py", line 132, in <module>
                            builder.build()
                          File "/Users/bupla/vrayblender-build/vb25-patch/builder/builder.py", line 488, in build
                            self.update_sources()
                          File "/Users/bupla/vrayblender-build/vb25-patch/builder/builder.py", line 240, in update_sources
                            os.chdir(self.sources)
                        AttributeError: MacBuilder instance has no attribute 'sources'
                        I may be wrong, but the error is that there is no attribute "sources", and when I open the directories vrayblender-build/blender or vrayblender-build/blender-svn, there is a subdirectory called "source", could it be a typo or is it irrelevant?

                        Thanks for your help
                        http://www.bupla.com

                        Comment


                        • #13
                          Re: Attribute error: image_settings

                          Hm, yep this a bug. Fixed )
                          V-Ray For Houdini | V-Ray Hydra Delegate | VRayScene
                          andrei.izrantcev@chaos.com
                          Support Request

                          Comment


                          • #14
                            Re: Attribute error: image_settings

                            Thanks for this one!
                            I tried again, but now I have a full list of errors, when it's compiling "nla.c" apparently. I've attached the error messages in the zip.

                            I'm sorry to bother you again.
                            Attached Files
                            http://www.bupla.com

                            Comment


                            • #15
                              Re: Attribute error: image_settings

                              Looks like you have an incomplete SDK - try reinstalling Xcode http://developer.apple.com/technologies/tools/
                              V-Ray For Houdini | V-Ray Hydra Delegate | VRayScene
                              andrei.izrantcev@chaos.com
                              Support Request

                              Comment

                              Working...
                              X