Apr-08-2017, 09:23 PM
surround your code with:
try: ... except Exception as ex: # todo -- Use tkinter.messagebox here template = "An exception of type {0} occurred. arguments: \n{1!r}" message = template.format(type(ex).__name__, ex.args) print(message) raise Exceptionto see what's being thrown