Simple Animation ModelRoot Error

I’ve created a simple location animation for a model that is a group of objects in blender. I am using the armature modifier, and none of the objects are parented to the armature. I am using the Chicken exporter. When I use pview to see the model from the Chicken exporter, it plays the animation properly, but outside of blender, pview does not animate it. Here is the python code i’m using

self.fireAnim = Actor('../ext/models/weapons/pp7', 
                              {'idle':'../ext/models/weapons/pp7-idle'})
self.fireAnim.loop("idle")

When I try to create an actor, the error I get is this:

File "C:\Game\v0-05\guns.py", line 122, in _
_init__
    self.fireAnim.loop("idle")
  File "C:\Panda3D-1.7.0\direct\actor\Actor.py", line 1555, in loop
    for control in self.getAnimControls(animName, partName):
  File "C:\Panda3D-1.7.0\direct\actor\Actor.py", line 1849, in getAnimControls
    allowAsyncBind = allowAsyncBind)
  File "C:\Panda3D-1.7.0\direct\actor\Actor.py", line 2341, in __bindAnimToPart
    bundle = self.__commonBundleHandles[subpartDef.truePartName].getBundle()
KeyError: 'modelRoot'

If you need the egg or blender files let me know.

Thanks.

Anyone have any thoughts on how to fix the problem?

The error message simply means your egg file wasn’t properly exported as an animatable model. I don’t know the specifics in your case, but maybe this thread will provide some insight.

David

The model is the basic object in our 3D world that will load the EAD and . When we load the animations, the animations are ready to be set to the model.,