Jump to content


defer parm eval in a loop?


  • Please log in to reply
No replies to this topic

#1 jonp

jonp

    Peon

  • Members
  • Pip
  • 60 posts
  • Joined: 10-July 07
  • Location:United States
  • Name:Jon Parker

Posted 27 June 2012 - 01:48 PM

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?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users