After post here the error, I tried at home. And I get another error related to Renderman. I uninstall Renderman and then the script worked. Here in my work I tried with Maya 2010 and then give me a error related to MayaTools Bonus, but worked at Maya 2011.
Thanks