Please describe the problem you're having.
Instructions: If you are getting an actual error in Maya we will need the traceback in order to diagnose the problem. Open the Maya Script Editor and make sure to check the boxes for "Line numbers in errors" and "Show Stack Trace." Run through the events again that lead up to the error. Click on the code in the Maya Script Editor window and select it all (cmd/ctrl + a). Copy and paste it into the box below.