The usage of the context managers for the two menus are causing the crash. If you remove the "with" statement and just run them normally, the UI works:
http://pastebin.com/02SVxcn2 May be a pymel bug with context managers. On May 5, 2012, at 4:14 PM, dgovil wrote: > Specifically I think I've traced it down to the use of pm.menu() as > the issue, but a few other things are throwing up issues. > > But building a new UI from scratch, the second I use pm.menu, it > crashes the UI. > > -- > view archives: http://groups.google.com/group/python_inside_maya > change your subscription settings: > http://groups.google.com/group/python_inside_maya/subscribe -- view archives: http://groups.google.com/group/python_inside_maya change your subscription settings: http://groups.google.com/group/python_inside_maya/subscribe