Jump to content

defer parm eval in a loop?


jonp

Recommended Posts

I have a python script in a OTL that is responsible for generating arbitrary (but sometimes thousands) numbers of new nodes. In it I'm setting and getting parameter values. However, when the creation script is run in batch mode I will get random errors such as:

Error running callback:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "opdef:/Object/nyMultiGroupToObject_v1?PythonModule", line 104, in rebuildChildren
  File "opdef:/Object/nyMultiGroupToObject_v1?PythonModule", line 80, in initChildren
AttributeError: 'NoneType' object has no attribute 'setInput'

Since I can't repeat the error it seems like somehow Houdini is getting ahead of itself sometimes... or that is my best guess. How can I make it stop? Setting the threads to 1?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...