Problems running MEL script MayaPandaTool in Maya2012

I created an animation using Maya2012 and saved the file as .mb. I’d like to export it to be used with Panda3D (.egg) so I tried using MayaPandaTool with came with Panda3D 1.8.1 which is a MEL script. But when I dragged it into Maya workspace, it had error and said something like ‘no layout’. Does anyone know how to fix that? Is there any other ways to export Maya animation for Panda3D?