Community
Arnold for 3ds Max
Rendering with Arnold in 3ds Max using the MaxtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

aiImage causes warnings in Maya

5 REPLIES 5
Reply
Message 1 of 6
icapathos
2262 Views, 5 Replies

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.

Tags (3)
Labels (3)
5 REPLIES 5
Message 2 of 6
Stephen.Blair
in reply to: icapathos

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";


// Stephen Blair
// Arnold Renderer Support
Message 3 of 6
icapathos
in reply to: icapathos

@Stephen Blair

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

513-defaultcolormgtglobals.png

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

Message 4 of 6
Stephen.Blair
in reply to: icapathos

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



// Stephen Blair
// Arnold Renderer Support
Message 5 of 6
icapathos
in reply to: Stephen.Blair

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

Message 6 of 6
Anonymous
in reply to: icapathos

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?

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report