"HB: Undefined variable" via command line on

   1746   1   0
User Avatar
Member
8 posts
Joined: April 2020
Offline
Hello guys,

i'm trying to render a scene (i downloaded the free “Bar scene”) on linux via command line using the following line of code

/opt/hfs18.0.499/bin/hrender -d mantra1 /home/ciara/Documents/Houdini_test/BarScene/scene_layout_v01.hip

but i receive the following error.

HB: Undefined variable.

i'm wondering what i did wrong and/or if the issue is related to the houdini installation/configuration or it's just my fault.

thanks for the help

******************************* UPDATE ************************************
i tried the following:

$ cd /opt/hfs18.0
$ source houdini_setup
$ export HB='/opt/hfs18.0.499/bin'

so now the HB error disappeared but apparently there's a python one
(Python Version: 2.7)
(pls see the full log in the attachment)

[ciara@kronos540 ~]$ cd /opt/hfs18.0
[ciara@kronos540 hfs18.0]$ source houdini_setup
The Houdini 18.0.499 environment has been initialized.
[ciara@kronos540 hfs18.0]$ /opt/hfs18.0.499/bin/hrender -d mantra1 /home/ciara/Documents/Houdini_test/BarScene/scene_layout_v01.hip

Warnings were generated during load.
Error loading: /home/ciara/Documents/Houdini_test/BarScene/scene_layout_v01.hip
Warning:     

/stage/sopmodify_offset/modify/modify/unpackusd1:

             Skipping unrecognized parameter "unpack_class".
             

/stage/instancetopoints1/unpackusd1:

             Skipping unrecognized parameter "unpack_class".
             

/stage/instancetopoints2/unpackusd1:

             Skipping unrecognized parameter "unpack_class".
             

/stage/instancetopoints3/unpackusd1:

             Skipping unrecognized parameter "unpack_class".
             

/stage/prune:

             Skipping unrecognized parameter "general".
             

/stage/prune1:

             Skipping unrecognized parameter "general".
             

/stage/prune2:

             Skipping unrecognized parameter "general".
             

/stage/prune3:

             Skipping unrecognized parameter "general".
             

/stage/prune4:

             Skipping unrecognized parameter "general".
             

/stage/prune5:

             Skipping unrecognized parameter "general".
             

/stage/prune6:

             Skipping unrecognized parameter "general".
Traceback (most recent call last):
  File "/opt/hfs18.0/bin/hrender.py", line 239, in <module>
    render(args)
  File "/opt/hfs18.0/bin/hrender.py", line 219, in render
    frame_range = set_frame_range(args, rop_node)
  File "/opt/hfs18.0/bin/hrender.py", line 205, in set_frame_range
    rop_node.parm('trange').set(0)
AttributeError: 'NoneType' object has no attribute 'parm'
[ciara@kronos540 hfs18.0]$ 
[ciara@kronos540 hfs18.0]$ 

**************************************************************************************************************************************************************************


/stage/prune1:

             Skipping unrecognized parameter "general".
             

/stage/prune2:

             Skipping unrecognized parameter "general".
             

/stage/prune3:

             Skipping unrecognized parameter "general".
             

/stage/prune4:

             Skipping unrecognized parameter "general".
             

/stage/prune5:

             Skipping unrecognized parameter "general".
             

/stage/prune6:

             Skipping unrecognized parameter "general".
Traceback (most recent call last):
  File "/opt/hfs18.0/bin/hrender.py", line 239, in <module>
    render(args)
  File "/opt/hfs18.0/bin/hrender.py", line 219, in render
    frame_range = set_frame_range(args, rop_node)
  File "/opt/hfs18.0/bin/hrender.py", line 205, in set_frame_range
    rop_node.parm('trange').set(0)
AttributeError: 'NoneType' object has no attribute 'parm'
[ciara@kronos540 hfs18.0]$ 
[ciara@kronos540 hfs18.0]$ clear

[ciara@kronos540 hfs18.0]$ export HB='/opt/hfs18.0.499/bin'
[ciara@kronos540 hfs18.0]$ /opt/hfs18.0.499/bin/hrender -d mantra1 /home/ciara/Documents/Houdini_test/BarScene/scene_layout_v01.hip
Warnings were generated during load.
Error loading: /home/ciara/Documents/Houdini_test/BarScene/scene_layout_v01.hip
Warning:     

/stage/sopmodify_offset/modify/modify/unpackusd1:

             Skipping unrecognized parameter "unpack_class".
             

/stage/instancetopoints1/unpackusd1:

             Skipping unrecognized parameter "unpack_class".
             

/stage/instancetopoints2/unpackusd1:

             Skipping unrecognized parameter "unpack_class".
             

/stage/instancetopoints3/unpackusd1:

             Skipping unrecognized parameter "unpack_class".
             

/stage/prune:

             Skipping unrecognized parameter "general".
             

/stage/prune1:

             Skipping unrecognized parameter "general".
             

/stage/prune2:

             Skipping unrecognized parameter "general".
             

/stage/prune3:

             Skipping unrecognized parameter "general".
             

/stage/prune4:

             Skipping unrecognized parameter "general".
             

/stage/prune5:

             Skipping unrecognized parameter "general".
             

/stage/prune6:

             Skipping unrecognized parameter "general".
Traceback (most recent call last):
  File "/opt/hfs18.0.499/bin/hrender.py", line 239, in <module>
    render(args)
  File "/opt/hfs18.0.499/bin/hrender.py", line 219, in render
    frame_range = set_frame_range(args, rop_node)
  File "/opt/hfs18.0.499/bin/hrender.py", line 205, in set_frame_range
    rop_node.parm('trange').set(0)
AttributeError: 'NoneType' object has no attribute 'parm'
[ciara@kronos540 hfs18.0]$ 
Image Not Found
Edited by ceusebio - July 15, 2020 10:14:03

Attachments:
houdini undefined variable.png (107.6 KB)
Houdini HB.python issue.txt (4.9 KB)

User Avatar
Member
1 posts
Joined: Feb. 2019
Offline
Did you find a solution to this Undefined variable because I have the same problem
  • Quick Links