Announcement

Collapse
No announcement yet.

vrayLightDome error

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

  • vrayLightDome error

    I'm on Houdini 20.590 with the V-Ray 6.20.05 and I get the following error every time I put a V-Ray LightDome node in the /obj context alongside a Geometry node. That's all it takes and I'm getting this error:

    Error
    Unable to evaluate expression (
    File "<stdin>", line 1
    if(ch("./enabled"), ch("./intensity"), 0)
    ^^
    SyntaxError: invalid syntax
    (/obj/vrayLightDome/dimmer)).​

    Click image for larger version

Name:	Screenshot 2024-06-22 222438.png
Views:	134
Size:	49.5 KB
ID:	1210927

  • #2
    Try to update Vray first or I would update both if I were you.

    Comment


    • #3
      Originally posted by hsz View Post
      Try to update Vray first or I would update both if I were you.
      I thought V-Ray 6.20.05 is the latest V-Ray version and Houdini 20.590 is the latest Houdini version that it supports, but I just checked the nightlies and it looks like there is a later version I could try for both.
      Last edited by colin_hannon; 22-06-2024, 09:40 PM.

      Comment


      • #4
        The bug persists with the latest Houdini 20.724 and the latest V-ray 2.20.09. Just open a new scene and add a V-Ray LightDome.

        Click image for larger version  Name:	Screenshot 2024-06-22 233651.png Views:	0 Size:	711.5 KB ID:	1210932
        Last edited by colin_hannon; 22-06-2024, 09:40 PM.

        Comment


        • #5
          You got something not working correctly then, it works just fine here on the same versions for both. Not issues. Are you doing a ZIP install or a .exe?

          Comment


          • #6
            Thanks for confirming. I'm using a .exe install with the Python 3.10 version of Houdini. I can't imagine what is causing this.

            Comment


            • #7
              Hey colin_hannon ,

              This appears to be an hscript expression that gets created automatically with your Dome light: https://www.sidefx.com/docs/houdini/expressions/if.html
              It appears to be incorrect but the more important question is why it gets created in the first place - we are not doing this on our end so the only remaining explanation that I have is that maybe at some point you added expressions to those parameters and saved them as permanent defaults for the node.
              You can quickly verify this by renaming your documents/houdini20.0 folder - this will remove all preferences temporarily. The dome light presets should be under /documents/houdini20.0/presets/ - if you delete the one particular to the V-Ray Dome Light, you should be good.

              Best regards!
              Last edited by Gosho.Genchev; 24-06-2024, 12:26 AM.
              gosho.genchev@chaosgroup.com

              Comment


              • #8
                Gosho.Genchev thank you for the helpful reply! I don't have a /documents/houdini20.0/presets/ directory and I never write Hscript (only Python), but maybe one of the few plugins I've installed set this. Renaming the houdini20.0 directory did fix the issue. Thanks again!

                Comment

                Working...
                X