Python Help: AttributeError: 'NoneType' object has no attribute 'Name'

@Chad_Clary Sorry for calling you in a very old post, but by chance do you remember how did you solve this one? I’m kind of having the same problem over here: Modifing light parameters for Lighting Fixtures