I think the problem is that there is something that walks into the range of the sensor that doesn't have a "Name" key.
The program actually runs for a while before i even get this error so it must be something that happens only sometimes. I think i need to find a way to protect the program when this happens.
the problem happens on line 24 according to the error code i get.
Please let me know if I need to clear some things up for you in my code. I am completely self taught so I don't really know if i am following good programming practices.
Edited by Unknowntissue, 10 March 2016 - 04:22 PM.












