Houdini/redshift, $HIP and $JOB paths no longer work

You folks figured this out before I could finish figuring out what was blowing up!

I added a step to run hou.expandString(output) on the output directory before it checks it per @mois.moshev 's suggestion in this file.

Just added the following:

# create the output directory
output_folder_unexpanded = os.path.dirname(output)
output_folder = hou.expandString(output_folder_unexpanded)

hrender_dl.py (34.9 KB)

As for why we added this code we weren’t handling the case where the output directory Redshift is using didn’t exist and would skip the frame with [Redshift] Output file locked or path not available for writing. Skipping frame..

I’ve got a bug report in the system now and I’ll be chasing to be sure we make use of Houdini variables in our testing paths in the future.

4 Likes