Open ThreeCalories opened 2 years ago
Not the developer, but this looks related to issues in how Python 3.10 handles float and int types. The literal 1000
is obviously an int, but even though self.intervalSpinBox.value()
should always be an int, maybe Python is returning a float for that? Otherwise I guess the workaround is to wrap int
:
int(self.intervalSpinBox.value() * 1000)
Or if you have Python 3.9 give that a shot. See also.
When I attempt to run hackrf_sweep I get a TypeError unexpected 'float' type.
Any help resolving this would be much appreciated.