I am also familiar with Tkinter, and I also had the same problem. I think the problem is that the default value for the Entry field is an empty string that cannot be converted to an integer.
I suggest you try adding an if statement to test this case:
if variable.get() != '': other_variable = int(variable.get())
I understand that the question is old, but it worked for me, and I thought I would share it.
source share