_tkinter.TclError: expected floating-point number but got "expected floating-point number but got "expected""

After running the code pressure_variable = float(variable.get())

FYI, 'variable' is a tkinter Scale widget*

i get a tkinter tcl error stating...

line 3014, in get: return self.tk.getdouble(value);
_tkinter.TclError: expected floating-point number but got "expected floating-point number but got "expected""

I am very confused as to what is actually happening for the error message to say the same error message within itself, any help would be appreciated

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum