This is the link of the error image. Please tell me how to solve it. I have not used str as a global variable anywhere (stackoverflow is suggesting this may be cause of error)