[Maya] Default image error in uiConfigurationScriptNode

Running Maya 2013 x64 Service Pack 2.

Whenever I open a maya file (binary or ascii), I get this error:

// Error: line 1632: The default image may not be modified. Use the -i/image flag instead. //

I’ve narrowed this down to being a command that gets executed in the uiConfigurationScriptNode. If I disable “Execute Script Nodes” in the File Open dialog then there is no error. I don’t consider that an acceptable solution though.
I tried deleting my preferences and unloading all plugins. Then I started a new scene, created a cube, and saved it. I get the error even when opening that file. The command that is erroring is panelConfiguration -edit -defaultImage “vacantCell.xP:/”

This doesn’t actually cause any issues loading scenes, but I don’t want artists seeing errors every time they load a scene. It could potentially be hiding other errors as well.

Anyone come across this or have solutions?

I’ve had the exact same issue, never found the cause.

I haven’t really dug into this issue, but at the end of the script node I add a clean message. This
will at least get rid of the red error.


import sys

sys.stdout.write( '// Result: Tools are setup!' )

-Nick