Skip to content

HackRF One TypeError Unexpected Type #101

@ThreeCalories

Description

@ThreeCalories

When I attempt to run hackrf_sweep I get a TypeError unexpected 'float' type.

QSocketNotifier: Can only be used with threads started with QThread
Traceback (most recent call last):
  File "/home/threecalories/.local/lib/python3.10/site-packages/qspectrumanalyzer/__main__.py", line 368, in on_startButton_clicked
    self.start()
  File "/home/threecalories/.local/lib/python3.10/site-packages/qspectrumanalyzer/__main__.py", line 303, in start
    self.progressbar.setRange(0, self.intervalSpinBox.value() * 1000)
TypeError: setRange(self, int, int): argument 2 has unexpected type 'float'

Any help resolving this would be much appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions