I saw your function name: menuImport.
We had to realize that the userSetup.py is exectured before any UI elements are 
loaded what can lead to maya crashes during startup. To avoid these problems we 
used a evalDeferred() to execute UI scripts after maya is ready.

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/91dd9b88-900e-43e5-8f3b-a4f6d36b5637%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to