PDA

View Full Version : error in actionPool[thread]


v-zbigy
10-12-2007, 03:11 PM
Hey,

I am running a script that adds short actions to avatar faces, and one of them is blinking. This is made up by two actions, one to close the eyes and one to open them. The action works fine, but every once in a while I get this very strange error in the output:

Traceback (most recent call last):
File "police_lineup_fixing.py", line 383, in blinkAnimation
suspects[suspectIndex].heads[i].addAction(blink2)
File "C:\Program Files\WorldViz\Vizard30/python\viz.py", line 2078, in addAction
self._action.addAction(action,pool)
File "C:\Program Files\WorldViz\Vizard30/python\viz.py", line 7973, in addAction
self.actionPool[thread].actionList.append((action,get(CLUSTER_MASK)))
KeyError: 0

I looked up the error, and it seems like it is not finding a key for some dictionary. This happens completely in Vizard's own libraries though, so I don't know how to fix it. Any suggestions?

Thanks,
Pablo

farshizzo
10-12-2007, 03:21 PM
That's strange, I have never encountered that error before. Would you mind posting a script that produces this error? If you don't want to post the script on the forum you can email it to me at lashkari@worldviz.com