I'm updating Houdini 18.0 from build 348 to 460, and looks like we had quite a few PDG related changes since then. I have a top network graph that reconstructs a scene and then renders. Scene reconstruction fetches dependencies from many sources and delete/modify/create new nodes (and new workitems) through a python processor top node. It used to work on 348, but on 460 I'm getting this:
......................... Error running event handler: Traceback (most recent call last): File "opdef:/Object/epg_set_pvars?OnLoaded", line 11, in <module> File "C:/PROGRA~1/SIDEEF~1/HOUDIN~3.460/houdini/python2.7libs\hou.py", line 51272, in hide return _hou.Parm_hide(*args) PermissionError: Failed to modify node or parameter because of a permission error. Possible causes include locked assets, takes, product permissions or user specified permissions Given Node 'PDG_Generate_Outputs', Cooking Node 'Post_Process_Nuke' Finished Cook Work Item States: From node scene_builder: Traceback (most recent call last): File "scene_builder.generate", line 154, in <module> File "C:/PROGRA~1/SIDEEF~1/HOUDIN~3.460/houdini/python2.7libs\hou.py", line 10554, in destroy return _hou.Node_destroy(*args, **kwargs) PermissionError: Cannot delete a node inside a locked asset (scene_builder.generate) Saved task graph state to P:/projects/test/3D/Houdini/test_hqueue.hip.post.py ** Finished with Exit Code 1
first error (line 5): related to an hda where I have “OnLoad” module that hides a button parm dynamically.
second error (line 17): related to calling node.destroy() from inside the python processor node.
What has changed, and how to avoid it ?
thanks.