Animating Objects from Blender

I tried to do this: youtube.com/watch?v=bz9lfHk2dPg .
Everything worked fine and I could see the anim in the preview, but I cant see the animation in Panda.

Heres an excerpt from my code

self.loadModel("data/randomanim2.egg") # this works correctly
self.loadAnims({"run": "data/randomanim2.egg"}")
self.loop("run") # this doesnt work. just nothing happens

print self.getCurrentAnim() # prints out None

So what should I do?
Any Idea?

Edit:

I changed a little bit to:

import direct.directbase.DirectStart
from pandac.PandaModules import *
from direct.showbase.DirectObject import DirectObject
from direct.actor.Actor import Actor

panda = Actor()
panda.reparentTo(render)
panda.loadAnims({"run": "data/randomanim2.egg"})
panda.loop("run")
run()

And now this error appears

Traceback (most recent call last):
 File "animtest.py", line 13 in (module)
  panda.loop("run")
 [...]
 File C:\Panda3D-1.7.0\direct\actor\Actor.py", line 2341 in __bindAnimToPart
  bundle = self.__commonBundleHandles[subpartDef.truePartName].getBundle()
KeyError: 'modelRoot'

Im using chicken exporter r91

well i solved the first part now, but why do i get the exception in the second part?

The second error is because you never loaded a model file via loadModel() or via the Actor constructor.

I don’t know why the animation doesn’t work in the first case; it’s probably something wrong with the egg file. Are you sure you should be loading the same egg file for the model and the animation? If you pview that egg file, do you see the animation play? If you don’t see it in pview, then you won’t see it in Python either.

David