Error in Arnold Script - 'None-Type' Object is not subscriptable

Error in Arnold Script - 'None-Type' Object is not subscriptable

zacharywise9
Community Visitor Community Visitor
5,651 Views
5 Replies
Message 1 of 6

Error in Arnold Script - 'None-Type' Object is not subscriptable

zacharywise9
Community Visitor
Community Visitor

Hello, I'm new to Maya and when I try to use the Arnold lighting tools such as Area Light, Photometric Light or Sky dome Light. Nothing Happens. I'm given this warning message. 

 

# Warning: Unrecognized node type 'aiSkyDomeLight'; preserving node information during this session.
# Error: TypeError: file C:\Program Files\Autodesk\Arnold\maya2023\scripts\mtoa\utils.py line 547: 'NoneType' object is not subscriptable

 

When I try to use light portal or physical light I'm given this message. 

 

import mtoa.ui.arnoldmenu as arnoldmenu; arnoldmenu.doCreatePhysicalSky()
# Error: AttributeError: file C:\Program Files\Autodesk\Arnold\maya2023\scripts\mtoa\ui\procview\ProceduralWidgets.py line 21: module 'maya.cmds' has no attribute 'arnoldPlugins'

 

I've tried uninstalling and reinstalling but the problem persists. 

 

For someone who isn't a programmer. How might I go about fixing this? 

 

 

 

0 Likes
5,652 Views
5 Replies
Replies (5)
Message 2 of 6

jmreinhart
Advisor
Advisor

Maybe you don't have the arnold plugin loaded? 

If you go to windows>setting and preferences > plugin manager, search mtoa, and make sure it is loaded.

jmreinhart_0-1665446673622.png

 

 

Message 3 of 6

DhruvChaudhary
Explorer
Explorer
thanks, you saved my day. it worked for me.
0 Likes
Message 4 of 6

est_daniel_bonilla
Community Visitor
Community Visitor

Que calidoso eres bro

0 Likes
Message 5 of 6

tutomarkmark75
Community Visitor
Community Visitor

te amo funciono

0 Likes
Message 6 of 6

josep_navarro_03
Community Visitor
Community Visitor

Muchas graciaas!!!!!

 

0 Likes