We are using Houdini: 19.5.569.
We have a custom python script that we added as a houdini procedural.
When running husk on the farm we are currently fighting with 2 errors.
Error 1:
R 13| [16:13:01] Failed to run preframe procedurals script: R 14| Traceback (most recent call last): R 15| File "C:/PROGRA~1/SIDEEF~1/HOUDIN~1.569/houdini/python3.9libs/husd/runprocedurals.py", line 211, in <module> R 16| runProcedurals(stage, stage.GetSessionLayer(), R 17| File "C:/PROGRA~1/SIDEEF~1/HOUDIN~1.569/houdini/python3.9libs/husd/runprocedurals.py", line 144, in runProcedurals R 18| raise RuntimeError('Invalid checksum for procedural: {}'.format(proc_path)) R 19| RuntimeError: Invalid checksum for procedural: u:\pipeline\plugins\renderman\worldOffsetScript\r25_worldoffsetscript.py
I saw there was a similar post in this forum, that described the issue came from some combination of git and windows formatting.
We have houdini installed in the default windows location and nothing is under version control.
Any idea how to fix this error?
Error 2:
We noticed that we need to run husk with the --allowed-procedurals all argument so the houdini procedurals actually get evaluated. Even tough the computers can run other houdini jobs fine, meaning the license settings seems to be correctly setup up we get license errors with husk:
R 13| [14:15:09] Failed to run preframe procedurals script: R 14| Traceback (most recent call last): R 15| File "C:/PROGRA~1/SIDEEF~1/HOUDIN~1.569/houdini/python3.9libs/husd/runprocedurals.py", line 211, in <module> R 16| runProcedurals(stage, stage.GetSessionLayer(), R 17| File "C:/PROGRA~1/SIDEEF~1/HOUDIN~1.569/houdini/python3.9libs/husd/runprocedurals.py", line 147, in runProcedurals R 18| new_layer = runProcedural(proc_path, prim, args_dict, proc_expand_dir) R 19| File "C:/PROGRA~1/SIDEEF~1/HOUDIN~1.569/houdini/python3.9libs/husd/runprocedurals.py", line 50, in runProcedural R 20| geo = fn(prim, args) R 21| File "C:/PROGRA~1/SIDEEF~1/HOUDIN~1.569/houdini/husdplugins\houdiniprocedurals\invokegraph.py", line 12, in procedural R 22| graph.loadFromFile(hou.text.expandString(args['graph'])) R 23| File "C:\PROGRA~1/SIDEEF~1/HOUDIN~1.569/houdini/python3.9libs\hou.py", line 39510, in loadFromFile R 24| return _hou.Geometry_loadFromFile(self, file_name) R 25| hou.OperationFailed: The attempted operation failed. R 26| Failed to checkout an engine license.
How can we tell husk that these computers in fact have a valid houdini license?
On a side note, we add the houdini procedural with this line of code:
hp_api = UsdHoudini.HoudiniProceduralAPI.Apply(prim, node.name()) hp_api.GetHoudiniProceduralPathAttr().Set(SCRIPT_PATH.as_posix()) args = {} args["sourcePrim"] = node.parm("SourcePrim").eval() args["fixPrims"] = node.parm("fixPrim").eval().split() hp_api.GetHoudiniProceduralArgsAttr().Set(str(args)) hp_api.GetHoudiniAnimatedAttr().Set(True)