Arnold Maya 2017 not working

Arnold Maya 2017 not working

darkmatter556
Explorer Explorer
4,903 Views
3 Replies
Message 1 of 4

Arnold Maya 2017 not working

darkmatter556
Explorer
Explorer

i cant use Arnold for Maya 2017, im getting this error 

 

# Error: AttributeError: file D:\AutoDesk\Maya2017\Python\lib\site-packages\pymel\core\nodetypes.py line 409: nt.Unknown(u'defaultArnoldRenderOptions') has no attribute or method named 'drivers'

 

ive updated Arnold to 1.4.0 and im still getting the exact same error. ive looked around and havnt seen the same error yet, similar ones, but not this one. 

 

 

any ideas?

0 Likes
4,904 Views
3 Replies
Replies (3)
Message 2 of 4

Stephen.Blair
Community Manager
Community Manager

Hi

 

Does this happen at startup, or when you load a specific scene?

 

It looks like a scene-specific problem. The defaultArnoldRenderOptions node in that scene is broken.

I expect there was a lot more logged in the script history.


First, try this:
- Restart Maya
- Open the Arnold Render Settings. That creates a defaultArnoldRenderOptions node.
- Try again to open the scene

If you still get the same errors, then do you have these four nodes in the scene?

- defaultArnoldRenderOptions
- defaultArnoldDriver
- defaultArnoldFilter
- defaultArnoldDisplayDriver

You can check in the Outliner, just clear Display > DAG Objects Only

If so, then try this:

- close the Render Settings dialog
- delete those four nodes
- save the scene (with a new name)
- restart Maya
- load the scene you just saved

 

 

Stephen

Solid Angle Support



// Stephen Blair
// Arnold Renderer Support
Message 3 of 4

darkmatter556
Explorer
Explorer

it seems to be only with this scene, i have Arnold, but i keep getting that same error when i try using it.

 

when i open the outliner, i do not have those nodes and i have tried the steps you suggested.  

 

here is the script report 

 

 onSetCurrentLayout "Maya Classic";
file -f -new;
preferredRenderer -makeCurrent;
// Warning: file: D:/AutoDesk/Maya2017/scripts/startup/rememberViewportSettings.mel line 29: Active stereo does not work with Aero enabled. Active stereo has been disabled. //
// untitled //
doOpenFile ("H:/RoomMidterm/RoomMidterm4.mb");
file -f -options "v=0;" -ignoreVersion -typ "mayaBinary" -o "H:/RoomMidterm/RoomMidterm4.mb";addRecentFile("H:/RoomMidterm/RoomMidterm4.mb", "mayaBinary");
closeAllNodeEditors;
closeHypershade;
requires -nodeType "ShaderfxShader" "shaderFXPlugin" "1.0";
requires "stereoCamera" "10.0";
updateRenderOverride;
requires -nodeType "renderSetup" "renderSetup.py" "1.0";
requires "stereoCamera" "10.0";
// Warning: line 2354: The default image may not be modified. Use the -i/image flag instead. //
// File read in 6.2 seconds.
commandPort -securityWarning -name commandportDefault;
# pymel.core : Updating pymel with pre-loaded plugins: dgProfiler, mayaHIK, invertShape, CloudImportExport, curveWarp, ATFPlugin, hairPhysicalShader, ikSpringSolver, deformerEvaluator, retargeterNodes, shaderFXPlugin, renderSetup, GPUBuiltInDeformer, stereoCamera, lookdevKit, Type, modelingToolkit
// AbcBullet v1.0 using Alembic 1.5.8 (built Dec 24 2015 17:28:19)
// cgfxShader 4.5 for Maya 2017.0 (Jun 15 2016)
// AbcExport v1.0 using Alembic 1.5.8 (built Dec 24 2015 17:28:19)
evalDeferred "shaderBallRendererMenuUpdate";
import arnold
// Successfully imported python module 'arnold'
import mtoa
// Successfully imported python module 'mtoa'
import mtoa.cmds.registerArnoldRenderer;mtoa.cmds.registerArnoldRenderer.registerArnoldRenderer()
Maya 2017 importing module pymel 1.0.9 (D:\AutoDesk\Maya2017\Python\lib\site-packages\pymel\__init__.pyc)
// Successfully registered renderer 'arnold'
// AbcImport v1.0 using Alembic 1.5.8 (built Dec 24 2015 17:28:19)
updateRendererUI;
+++++++ Turtle for Maya registered successfully ++++++
updateRendererUI;
updateRendererUI;
# Error: AttributeError: file D:\AutoDesk\Maya2017\Python\lib\site-packages\pymel\core\nodetypes.py line 409: nt.Unknown(u'defaultArnoldRenderOptions') has no attribute or method named 'drivers' #
# Error: AttributeError: file D:\AutoDesk\Maya2017\Python\lib\site-packages\pymel\core\nodetypes.py line 409: nt.Unknown(u'defaultArnoldRenderOptions') has no attribute or method named 'drivers' #
# Error: AttributeError: file D:\AutoDesk\Maya2017\Python\lib\site-packages\pymel\core\nodetypes.py line 409: nt.Unknown(u'defaultArnoldRenderOptions') has no attribute or method named 'drivers' # 

0 Likes
Message 4 of 4

Stephen.Blair
Community Manager
Community Manager

Hi

 

Are you sure you don't have a defaultArnoldRenderOptions node? 

 

 

You can create it with this Python snippet

from mtoa.core import createOptions
createOptions()

 

Can you strip down the scene (remove all the geometry and shaders and textures)? The scene should still have the same problem with the render options, and you can post the simplified scene here.



// Stephen Blair
// Arnold Renderer Support
0 Likes