YABEE Animation problem

I’m not sure if I’m doing something wrong, or if I’ve found a bug, or what. I’ve got a model that I’ve downloaded from the internet. I can export the mesh & textures and load them with panda just fine. But when I try to export one of the animations from the file my test code crashes.

Traceback (most recent call last):
 File "/home/oddzod/panda tests/test1.py", line 18, in <module>
app = MyApp()
 File "/home/oddzod/panda tests/test1.py", line 10, in __init__
 File "/usr/share/panda3d/direct/actor/Actor.py", line 284, in __init__
if (type(anims[anims.keys()[0]])==type({})):
AttributeError: 'set' object has no attribute 'keys'
Script terminated.
from direct.showbase.ShowBase import ShowBase
from direct.actor.Actor import Actor

class MyApp(ShowBase):

    def __init__(self):
        self.actor = Actor( 'Zuleyka', {

app = MyApp()

To export the animation I selected the model, export, Animations Only, added the animation Run, frames 96 to 101 then exported.

The animation egg http://www.oddzod.com/uploads/Zuleyka_run.egg

The problem may simply be the way that you’re setting up your Actor object, rather than the export: it looks as though you have a comma in the animation listing, rather than a colon. Try the following:

self.actor = Actor( 'Zuleyka', {
            'Run':'Zuleyka_run' # <--- Note the colon

By the way, if you want to check the results of a YABEE export, have YABEE run PView after export (there should be a check-box for this near the bottom of the YABEE screen when exporting); if the model loads correctly, pressing “A” should start up your animations (if one isn’t running already), and I think that repeated presses allow you to cycle through the exported animations.

D’oh. thank you