question

Hyungeun Kim avatar image
Hyungeun Kim asked ·

aiImage causes warnings in Maya

To whom it may concern,

I am writing this article to ask something about MtoA plugin,

I create a number of "aiImage" nodes and save a file, then after I open the file, I always get a bundle of warnings like below,

// Warning: line 0: 'defaultColorMgtGlobals.cmEnabled' is already connected to 'Env_dHill_library_wallLeft_pillar_wood_aiIm2.colorManagementEnabled'. // 
// Warning: line 0: 'defaultColorMgtGlobals.configFileEnabled' is already connected to 'Env_dHill_library_wallLeft_pillar_wood_aiIm2.colorManagementConfigFileEnabled'. // 
// Warning: line 0: 'defaultColorMgtGlobals.configFilePath' is already connected to 'Env_dHill_library_wallLeft_pillar_wood_aiIm2.colorManagementConfigFilePath'. // 
// Warning: line 0: 'defaultColorMgtGlobals.workingSpaceName' is already connected to 'Env_dHill_library_wallLeft_pillar_wood_aiIm2.workingSpace'. // 

"Env_dHill_library_wallLeft_pillar_wood_aiIm2" is one of the "aiImage" nodes,

If I create lots of "aiImage" nodes, it tease me with upto 10,000 lines of warnings,

Can I get a solution for that?

I am using MtoA 1.4.2.1 and Arnold Core 4.2.16.2,

Kind regards.

mtoawarningsaiimage
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

rachid Hadj Abderrahmane avatar image
rachid Hadj Abderrahmane answered ·

Hi
The problem is there at start up of Maya, before creating the node "aiImage"
Start Maya and just look at the Script editor :

file -f -new;
// Warning: file: C:/Program Files/Autodesk/Maya2018/scripts/startup/rememberViewportSettings.mel line 29: Active stereo does not work with Aero enabled. Active stereo has been disabled. // 
// untitled // 
commandPort -securityWarning -name commandportDefault;
onSetCurrentLayout "Maya Classic";
// Warning: file: C:\Users\Rachid\Documents\maya\2018\prefs\filePathEditorRegistryPrefs.mel line 4: filePathEditor: Attribute 'aiImage.filename' is invalid or is not designated 'usedAsFilename'. // 
// Warning: file: C:\Users\Rachid\Documents\maya\2018\prefs\filePathEditorRegistryPrefs.mel line 5: filePathEditor: Attribute 'aiPhotometricLight.aiFilename' is invalid or is not designated 'usedAsFilename'. // 
// Warning: file: C:\Users\Rachid\Documents\maya\2018\prefs\filePathEditorRegistryPrefs.mel line 6: filePathEditor: Attribute 'aiStandIn.dso' is invalid or is not designated 'usedAsFilename'. // 
// Warning: file: C:\Users\Rachid\Documents\maya\2018\prefs\filePathEditorRegistryPrefs.mel line 7: filePathEditor: Attribute 'aiVolume.filename' is invalid or is not designated 'usedAsFilename'. // 
// AbcExport v1.0 using Alembic 1.5.8 (built Jul 13 2016 18:28:45) 

Does this have to do with environment variable?

Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Hyungeun Kim avatar image
Hyungeun Kim answered ·

@Stephen Blair

I make a scene with file nodes and aiImages like below,

But, I get warnings from only aiImage nodes

// Warning: file: C:/Users/hgkim/Documents/maya/projects/xgen_updown/scenes/carrot.ma line 66285: 'defaultColorMgtGlobals.cmEnabled' is already connected to 'Prop_carrot_A_food_aiIm.colorManagementEnabled'. // 
// Warning: file: C:/Users/hgkim/Documents/maya/projects/xgen_updown/scenes/carrot.ma line 66286: 'defaultColorMgtGlobals.configFileEnabled' is already connected to 'Prop_carrot_A_food_aiIm.colorManagementConfigFileEnabled'. // 
// Warning: file: C:/Users/hgkim/Documents/maya/projects/xgen_updown/scenes/carrot.ma line 66287: 'defaultColorMgtGlobals.configFilePath' is already connected to 'Prop_carrot_A_food_aiIm.colorManagementConfigFilePath'. // 
// Warning: file: C:/Users/hgkim/Documents/maya/projects/xgen_updown/scenes/carrot.ma line 66288: 'defaultColorMgtGlobals.workingSpaceName' is already connected to 'Prop_carrot_A_food_aiIm.workingSpace'. // 
// Warning: file: C:/Users/hgkim/Documents/maya/projects/xgen_updown/scenes/carrot.ma line 66290: 'defaultColorMgtGlobals.cmEnabled' is already connected to 'Prop_carrot_A_food_aiIm_alSpec2Col.colorManagementEnabled'. // 
// Warning: file: C:/Users/hgkim/Documents/maya/projects/xgen_updown/scenes/carrot.ma line 66292: 'defaultColorMgtGlobals.configFileEnabled' is already connected to 'Prop_carrot_A_food_aiIm_alSpec2Col.colorManagementConfigFileEnabled'. // 
// Warning: file: C:/Users/hgkim/Documents/maya/projects/xgen_updown/scenes/carrot.ma line 66294: 'defaultColorMgtGlobals.configFilePath' is already connected to 'Prop_carrot_A_food_aiIm_alSpec2Col.colorManagementConfigFilePath'. // 
// Warning: file: C:/Users/hgkim/Documents/maya/projects/xgen_updown/scenes/carrot.ma line 66296: 'defaultColorMgtGlobals.workingSpaceName' is already connected to 'Prop_carrot_A_food_aiIm_alSpec2Col.workingSpace'. // 
// Warning: file: C:/Users/hgkim/Documents/maya/projects/xgen_updown/scenes/carrot.ma line 66299: 'defaultColorMgtGlobals.cmEnabled' is already connected to 'Prop_carrot_A_food_aiIm23.colorManagementEnabled'. // 
// Warning: file: C:/Users/hgkim/Documents/maya/projects/xgen_updown/scenes/carrot.ma line 66300: 'defaultColorMgtGlobals.configFileEnabled' is already connected to 'Prop_carrot_A_food_aiIm23.colorManagementConfigFileEnabled'. // 
// Warning: file: C:/Users/hgkim/Documents/maya/projects/xgen_updown/scenes/carrot.ma line 66301: 'defaultColorMgtGlobals.configFilePath' is already connected to 'Prop_carrot_A_food_aiIm23.colorManagementConfigFilePath'. // 
// Warning: file: C:/Users/hgkim/Documents/maya/projects/xgen_updown/scenes/carrot.ma line 66302: 'defaultColorMgtGlobals.workingSpaceName' is already connected to 'Prop_carrot_A_food_aiIm23.workingSpace'. // 
// Warning: file: C:/Users/hgkim/Documents/maya/projects/xgen_updown/scenes/carrot.ma line 66305: 'defaultColorMgtGlobals.cmEnabled' is already connected to 'Prop_carrot_A_food_aiIm21.colorManagementEnabled'. // 
// Warning: file: C:/Users/hgkim/Documents/maya/projects/xgen_updown/scenes/carrot.ma line 66306: 'defaultColorMgtGlobals.configFileEnabled' is already connected to 'Prop_carrot_A_food_aiIm21.colorManagementConfigFileEnabled'. // 
// Warning: file: C:/Users/hgkim/Documents/maya/projects/xgen_updown/scenes/carrot.ma line 66307: 'defaultColorMgtGlobals.configFilePath' is already connected to 'Prop_carrot_A_food_aiIm21.colorManagementConfigFilePath'. // 
// Warning: file: C:/Users/hgkim/Documents/maya/projects/xgen_updown/scenes/carrot.ma line 66308: 'defaultColorMgtGlobals.workingSpaceName' is already connected to 'Prop_carrot_A_food_aiIm21.workingSpace'. // 
// Warning: file: C:/Users/hgkim/Documents/maya/projects/xgen_updown/scenes/carrot.ma line 66333: 'defaultColorMgtGlobals.cmEnabled' is already connected to 'Prop_carrot_A_food_aiIm16.colorManagementEnabled'. // 
// Warning: file: C:/Users/hgkim/Documents/maya/projects/xgen_updown/scenes/carrot.ma line 66334: 'defaultColorMgtGlobals.configFileEnabled' is already connected to 'Prop_carrot_A_food_aiIm16.colorManagementConfigFileEnabled'. // 
// Warning: file: C:/Users/hgkim/Documents/maya/projects/xgen_updown/scenes/carrot.ma line 66335: 'defaultColorMgtGlobals.configFilePath' is already connected to 'Prop_carrot_A_food_aiIm16.colorManagementConfigFilePath'. // 
// Warning: file: C:/Users/hgkim/Documents/maya/projects/xgen_updown/scenes/carrot.ma line 66336: 'defaultColorMgtGlobals.workingSpaceName' is already connected to 'Prop_carrot_A_food_aiIm16.workingSpace'. // 
// Warning: file: C:/Users/hgkim/Documents/maya/projects/xgen_updown/scenes/carrot.ma line 66367: 'defaultColorMgtGlobals.cmEnabled' is already connected to 'Prop_carrot_A_food_aiIm19.colorManagementEnabled'. // 
// Warning: file: C:/Users/hgkim/Documents/maya/projects/xgen_updown/scenes/carrot.ma line 66368: 'defaultColorMgtGlobals.configFileEnabled' is already connected to 'Prop_carrot_A_food_aiIm19.colorManagementConfigFileEnabled'. // 
// Warning: file: C:/Users/hgkim/Documents/maya/projects/xgen_updown/scenes/carrot.ma line 66369: 'defaultColorMgtGlobals.configFilePath' is already connected to 'Prop_carrot_A_food_aiIm19.colorManagementConfigFilePath'. // 
// Warning: file: C:/Users/hgkim/Documents/maya/projects/xgen_updown/scenes/carrot.ma line 66370: 'defaultColorMgtGlobals.workingSpaceName' is already connected to 'Prop_carrot_A_food_aiIm19.workingSpace'. // 
// Warning: file: C:/Users/hgkim/Documents/maya/projects/xgen_updown/scenes/carrot.ma line 66372: 'defaultColorMgtGlobals.cmEnabled' is already connected to 'Prop_carrot_A_food_aiIm17.colorManagementEnabled'. // 
// Warning: file: C:/Users/hgkim/Documents/maya/projects/xgen_updown/scenes/carrot.ma line 66373: 'defaultColorMgtGlobals.configFileEnabled' is already connected to 'Prop_carrot_A_food_aiIm17.colorManagementConfigFileEnabled'. // 
// Warning: file: C:/Users/hgkim/Documents/maya/projects/xgen_updown/scenes/carrot.ma line 66374: 'defaultColorMgtGlobals.configFilePath' is already connected to 'Prop_carrot_A_food_aiIm17.colorManagementConfigFilePath'. // 
// Warning: file: C:/Users/hgkim/Documents/maya/projects/xgen_updown/scenes/carrot.ma line 66375: 'defaultColorMgtGlobals.workingSpaceName' is already connected to 'Prop_carrot_A_food_aiIm17.workingSpace'. // 
// Warning: file: C:/Users/hgkim/Documents/maya/projects/xgen_updown/scenes/carrot.ma line 66381: 'defaultColorMgtGlobals.cmEnabled' is already connected to 'Prop_carrot_A_food_aiIm15.colorManagementEnabled'. // 
// Warning: file: C:/Users/hgkim/Documents/maya/projects/xgen_updown/scenes/carrot.ma line 66382: 'defaultColorMgtGlobals.configFileEnabled' is already connected to 'Prop_carrot_A_food_aiIm15.colorManagementConfigFileEnabled'. // 
// Warning: file: C:/Users/hgkim/Documents/maya/projects/xgen_updown/scenes/carrot.ma line 66383: 'defaultColorMgtGlobals.configFilePath' is already connected to 'Prop_carrot_A_food_aiIm15.colorManagementConfigFilePath'. // 
// Warning: file: C:/Users/hgkim/Documents/maya/projects/xgen_updown/scenes/carrot.ma line 66384: 'defaultColorMgtGlobals.workingSpaceName' is already connected to 'Prop_carrot_A_food_aiIm15.workingSpace'. // 
// Warning: file: C:/Users/hgkim/Documents/maya/projects/xgen_updown/scenes/carrot.ma line 66406: 'defaultColorMgtGlobals.cmEnabled' is already connected to 'Prop_carrot_A_food_aiIm18.colorManagementEnabled'. // 
// Warning: file: C:/Users/hgkim/Documents/maya/projects/xgen_updown/scenes/carrot.ma line 66407: 'defaultColorMgtGlobals.configFileEnabled' is already connected to 'Prop_carrot_A_food_aiIm18.colorManagementConfigFileEnabled'. // 
// Warning: file: C:/Users/hgkim/Documents/maya/projects/xgen_updown/scenes/carrot.ma line 66408: 'defaultColorMgtGlobals.configFilePath' is already connected to 'Prop_carrot_A_food_aiIm18.colorManagementConfigFilePath'. // 
// Warning: file: C:/Users/hgkim/Documents/maya/projects/xgen_updown/scenes/carrot.ma line 66409: 'defaultColorMgtGlobals.workingSpaceName' is already connected to 'Prop_carrot_A_food_aiIm18.workingSpace'. // 
// Warning: file: C:/Users/hgkim/Documents/maya/projects/xgen_updown/scenes/carrot.ma line 66442: 'defaultColorMgtGlobals.cmEnabled' is already connected to 'Prop_carrot_A_food_aiIm24.colorManagementEnabled'. // 
// Warning: file: C:/Users/hgkim/Documents/maya/projects/xgen_updown/scenes/carrot.ma line 66443: 'defaultColorMgtGlobals.configFileEnabled' is already connected to 'Prop_carrot_A_food_aiIm24.colorManagementConfigFileEnabled'. // 
// Warning: file: C:/Users/hgkim/Documents/maya/projects/xgen_updown/scenes/carrot.ma line 66444: 'defaultColorMgtGlobals.configFilePath' is already connected to 'Prop_carrot_A_food_aiIm24.colorManagementConfigFilePath'. // 
// Warning: file: C:/Users/hgkim/Documents/maya/projects/xgen_updown/scenes/carrot.ma line 66445: 'defaultColorMgtGlobals.workingSpaceName' is already connected to 'Prop_carrot_A_food_aiIm24.workingSpace'. // 
// Warning: file: C:/Users/hgkim/Documents/maya/projects/xgen_updown/scenes/carrot.ma line 66447: 'defaultColorMgtGlobals.cmEnabled' is already connected to 'Prop_carrot_A_food_aiIm22.colorManagementEnabled'. // 
// Warning: file: C:/Users/hgkim/Documents/maya/projects/xgen_updown/scenes/carrot.ma line 66448: 'defaultColorMgtGlobals.configFileEnabled' is already connected to 'Prop_carrot_A_food_aiIm22.colorManagementConfigFileEnabled'. // 
// Warning: file: C:/Users/hgkim/Documents/maya/projects/xgen_updown/scenes/carrot.ma line 66449: 'defaultColorMgtGlobals.configFilePath' is already connected to 'Prop_carrot_A_food_aiIm22.colorManagementConfigFilePath'. // 
// Warning: file: C:/Users/hgkim/Documents/maya/projects/xgen_updown/scenes/carrot.ma line 66450: 'defaultColorMgtGlobals.workingSpaceName' is already connected to 'Prop_carrot_A_food_aiIm22.workingSpace'. // 
// Warning: file: C:/Users/hgkim/Documents/maya/projects/xgen_updown/scenes/carrot.ma line 66453: 'defaultColorMgtGlobals.cmEnabled' is already connected to 'Prop_carrot_A_food_aiIm20.colorManagementEnabled'. // 
// Warning: file: C:/Users/hgkim/Documents/maya/projects/xgen_updown/scenes/carrot.ma line 66454: 'defaultColorMgtGlobals.configFileEnabled' is already connected to 'Prop_carrot_A_food_aiIm20.colorManagementConfigFileEnabled'. // 
// Warning: file: C:/Users/hgkim/Documents/maya/projects/xgen_updown/scenes/carrot.ma line 66455: 'defaultColorMgtGlobals.configFilePath' is already connected to 'Prop_carrot_A_food_aiIm20.colorManagementConfigFilePath'. // 
// Warning: file: C:/Users/hgkim/Documents/maya/projects/xgen_updown/scenes/carrot.ma line 66456: 'defaultColorMgtGlobals.workingSpaceName' is already connected to 'Prop_carrot_A_food_aiIm20.workingSpace'. // 

I hope you to test saving a scene with file node and aiImage node, opening the file.

Here is sample file, compare.zip


1 comment Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Of course I've tested scenes with the aiImage and file nodes. Everybody uses those nodes.

0 Likes 0 · ·
Stephen Blair avatar image
Stephen Blair answered ·

That isn't an MtoA-specific issue:

https://www.google.ca/search?q=defaultColorMgtGlobals.cmEnabled+is+already+connected

I have to do something like copy/paste of image nodes to get that error. In that case, the aiImage nodes end up with the same UUID:

createNode aiImage -n "pasted__aiImage1";
rename -uid "4FF3A2B6-4C9F-B369-0BA7-69ADB4F5303F";
setAttr ".filename" -type "string" "D:/Projects/maya/Support//sourceimages/noicon.jpg";
setAttr ".cs" -type "string" "sRGB";

createNode aiImage -n "pasted__aiImage1";
rename -uid "4FF3A2B6-4C9F-B369-0BA7-69ADB4F5303F";
setAttr ".filename" -type "string" "D:/Projects/maya/Support//sourceimages/noicon.jpg";
setAttr ".cs" -type "string" "sRGB";
1 comment Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

I just wonder what version of maya did you test? I get that issue in Maya 2017 update 3.

0 Likes 0 · ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Welcome to the Arnold Answers community.

This is the place for Arnold renderer users everywhere to ask and answer rendering questions, and share knowledge about using Arnold, Arnold plugins, workflows and developing tools with Arnold.

If you are a new user to Arnold Answers, please first check out our FAQ and User Guide for more information.

When posting questions, please be sure to select the appropriate Space for your Arnold plugin and include the plugin version you are using.

Please include images, scene and log files whenever possible as this helps the community answer your questions.

Instructions for generating full verbosity log files are available for MtoA, MaxtoA, C4DtoA, HtoA, KtoA, and Kick.

If you are looking for Arnold Documentation and Support please visit the Arnold Support site.

To try Arnold please visit the Arnold Trial page.

Bottom No panel present for this section.