View Single Post
  #1  
Old 10-12-2007, 03:11 PM
v-zbigy v-zbigy is offline
Member
 
Join Date: Oct 2007
Posts: 3
error in actionPool[thread]

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
Reply With Quote