Mtoa plugin don't load in Maya 2018. Some attempts and certifications have already been made based on other posts related to the error "initializePlugin function failed (mtoa)":
Output:
evalDeferred "shaderBallRendererMenuUpdate"; // Warning: line 1: filePathEditor: Attribute 'aiStandIn.dso' and label 'Standin' have been registered already. // // Warning: line 1: filePathEditor: Attribute 'aiStandIn.dso' and label 'Standin' have been saved already. // // Warning: line 1: filePathEditor: Attribute 'aiImage.filename' and label 'Image' have been registered already. // // Warning: line 1: filePathEditor: Attribute 'aiImage.filename' and label 'Image' have been saved already. // # Error: file: C:/Program Files/Autodesk/Maya2018/scripts/others/pluginWin.mel line 290: AttributeError: file C:\Program Files\Autodesk\Maya2018\bin\python27.zip\ctypes\__init__.py line 383: function 'AiMetadataStore' not found # # Error: file: C:/Program Files/Autodesk/Maya2018/scripts/others/pluginWin.mel line 290: AttributeError: file C:\Program Files\Autodesk\Maya2018\bin\python27.zip\ctypes\__init__.py line 383: function 'AiMetadataStore' not found # # Error: file: C:/Program Files/Autodesk/Maya2018/scripts/others/pluginWin.mel line 290: AttributeError: file C:\Program Files\Autodesk\Maya2018\bin\python27.zip\ctypes\__init__.py line 383: function 'AiMetadataStore' not found # # Error: file: C:/Program Files/Autodesk/Maya2018/scripts/others/pluginWin.mel line 290: AttributeError: file C:\Program Files\Autodesk\Maya2018\bin\python27.zip\ctypes\__init__.py line 383: function 'AiMetadataStore' not found # import arnold # Error: file: C:/Program Files/Autodesk/Maya2018/scripts/others/pluginWin.mel line 290: AttributeError: file C:\Program Files\Autodesk\Maya2018\bin\python27.zip\ctypes\__init__.py line 383: function 'AiMetadataStore' not found # // Error: Failed to import python module 'arnold' // evalDeferred "shaderBallRendererMenuUpdate"; // Error: file: C:/Program Files/Autodesk/Maya2018/scripts/others/pluginWin.mel line 290: initializePlugin function failed (mtoa) //
Note: Maya 2017 was loading the plugin perfectly before.
Solved! Go to Solution.
Solved by danilopeixoto8. Go to Solution.
Which version of Arnold are you trying to load, and is it the one included with the installer?
Always looking to solve problems, if I'm helpful at all consider dropping a kudos!
Yes, mtoa 2.0.1 included with Maya 2018 installer. I've been trying to install that same version (standalone) from Solid Angle website too, but that still doesn't work.
Note: Maya student version.
Thanks for replying.
Thanks for the info, Dani.
By any chance did you import your preferences from 2017 into 2018 when you first launched the app? I don't think there's anything wrong with the installers provided by Autodesk and Solid Angle (and you've tried both).
Just for kicks, could you reset your Maya 2018 preference? If that doesn't work maybe @sean.heasley can put in a bug request for review as students don't have the ability to. Just rename the folder here:
C:\<User>\Documents\maya\2018\prefs
Always looking to solve problems, if I'm helpful at all consider dropping a kudos!
I don't have Maya 2017 preferences anymore and resetting Maya 2018 preferences didn't work too. I think that is a problem with python ctype on the aiMetadataStore function definition added to Arnold 5.
Well, you seem to have more than idea than I do! I'm not an Arnold user so my knowledge of what they added is limited 🙂
Apologies that I'm not able to provide more help. Maybe an employee such as @Stephen.Blair from Solid Angle can provide more insight.
Always looking to solve problems, if I'm helpful at all consider dropping a kudos!
AiMetadataStore is new in Arnold 5.0.1
You've probably got an older MtoA or Arnold somewhere in your PATH, or in some other environment variable.
I'd check the environment by running system( "set" ) in Maya.
If that doesn't show the problem, then check with Process Monitor; you'll probably see something from an older MtoA being loaded.
I just realized a weird line in Maya Script Editor output. How can I fix it? ai.dll was loaded from another directory: C:\solidangle\ktoa\bin. Why is mtoa using KTOA_HOME (Katana Arnold path) to load plugin for Maya?
ai.dll loaded from non standard location C:\solidangle\ktoa\bin # Error: file: C:/Program Files/Autodesk/Maya2018/scripts/startup/autoLoadPlugin.mel line 35: AttributeError: file C:\Program Files\Autodesk\Maya2018\bin\python27.zip\ctypes\__init__.py line 383: function 'AiMetadataStore' not found # # Error: file: C:/Program Files/Autodesk/Maya2018/scripts/startup/autoLoadPlugin.mel line 35: AttributeError: file C:\Program Files\Autodesk\Maya2018\bin\python27.zip\ctypes\__init__.py line 383: function 'AiMetadataStore' not found # # Error: file: C:/Program Files/Autodesk/Maya2018/scripts/startup/autoLoadPlugin.mel line 35: AttributeError: file C:\Program Files\Autodesk\Maya2018\bin\python27.zip\ctypes\__init__.py line 383: function 'AiMetadataStore' not found # import arnold # Error: file: C:/Program Files/Autodesk/Maya2018/scripts/startup/autoLoadPlugin.mel line 35: AttributeError: file C:\Program Files\Autodesk\Maya2018\bin\python27.zip\ctypes\__init__.py line 383: function 'AiMetadataStore' not found # // Error: Failed to import python module 'arnold' // evalDeferred "shaderBallRendererMenuUpdate"; // Error: file: C:/Program Files/Autodesk/Maya2018/scripts/startup/autoLoadPlugin.mel line 35: initializePlugin function failed (mtoa) // updateRendererUI; // Warning: file: C:/Program Files/Autodesk/Maya2018/scripts/others/supportRenderers.mel line 64: The renderer "arnold" used by this scene, is not currently available. The "mayaSoftware" renderer will be used instead.
Thanks. I removed "%KTOA_HOME%/bin" from my PATH environment variable and mtoa was able to load successfully.
I had the same problem with MtoA not loading on Maya 2018. The cause for me was some windows environment variables I had added to support alShaders in Maya 2017, I think it was sending the system to the wrong python script. I delete them and it worked.
hi
i have the some problem, what exacly to do, can you write instruction please?
Do you have other versions of Arnold installed in the system?
The latest issues were solved by removing the system path variables pointing to the "bin" folder of other Arnold installation directories. Maya needs to load the dynamic library and scripts from the correct MtoA installation files.
If the system has path variables pointing to other installations, Maya may be trying to load the plugin with the wrong files.
please help download this mtoa.mll
Trying to download this pops up:
// Error: file: 😧 /maya/Maya2019/scripts/others/pluginWin.mel line 289: A failure occurred in the dynamic link library (DLL) initialization program. (mtoa)
Are you trying to update the Mtoa plugin installed in Maya 2019 by default?
Editing Windows path variables:
i Cant find %KTOA_HOME%/bin
the path in environment variables only has
%INTEL_DEV_REDIST%redist\intel64_win\compiler;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files (x86)\Autodesk\Backburner\;C:\Program Files\Common Files\Autodesk Shared\;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files (x86)\AMD\ATI.ACE\Core-Static
Could you show the terminal output?
Did you install Arnold and MtoA plug-in in the default path (C:\solidangle\mtoa)?