Hello, we built an asset to cache and version our sims/caches
I extended it to be able to use the renderfarm to sim things out. To do this I added a ROP in the asset, with the HQueue simulation node. I then use the topmost interface/parameters to 'click' on the 'Submit Job' button on that HQueue Simulation node down below.
However, unless I do a 'allow editing of contents' on my HDA, it fails on the farm with the following code:
.........................
ImportError: No module named sgtk
Traceback (most recent call last):
File "/our-hou-path/scripts/hqueue/hq_run_sim_without_slices.py", line 4, in <module>
hqlib.callFunctionWithHQParms(hqlib.runSimulationWithoutSlices)
File "/our-hou-path/linux/houdini/scripts/hqueue/hqlib.py", line 1862, in callFunctionWithHQParms
return function(**kwargs)
File "/our-hou-path/linux/houdini/scripts/hqueue/hqlib.py", line 1575, in runSimulationWithoutSlices
alf_prog_parm.set(1)
File "/hou-shared-path/shared/houdini_distros/hfs.linux-x86_64/houdini/python2.7libs/hou.py", line 34294, in set
return _hou.Parm_set(*args)
hou.PermissionError: Failed to modify node or parameter because of a permission error. Possible causes include locked assets, takes, product permissions or user specified permissions
It seems that unless I don't unlock the asset, the submit job can't be clicked.
Here's how i linked the interface button to the submit button
Thanks for your input.