Posted 09 March 2016 - 01:33 AM
the code that I am working with. http://pastebin.com/Fz6hxbuA
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.
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 on 10 March 2016 - 03:22 PM