Skip to content Skip to sidebar Skip to footer

'exceptions.runtimeerror' - Object Has No Attribute 'errno'

I'm working with Maya 2018 and there's a weird thing going on. When I select multiple vertices, faces or edges I get: // Error: AttributeError: file line 88: 'except

Solution 1:

In line 88 of your script you're trying to use attribute errno of RuntimeError instance but this exception class has no such attribute. Read documentation of exceptions before trying to handle them.

Atrribute errno is defined only in OSError and classes inheriting from it. So apparently line 88 is part of try...except clause and in that line you're trying to use e.errno. You can't do that if the exception doesn't belong to OSError exceptions family.

Post a Comment for "'exceptions.runtimeerror' - Object Has No Attribute 'errno'"