Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: max() arg is an empty sequence #152

Open
dmpossa opened this issue Jun 15, 2023 · 0 comments
Open

ValueError: max() arg is an empty sequence #152

dmpossa opened this issue Jun 15, 2023 · 0 comments

Comments

@dmpossa
Copy link

dmpossa commented Jun 15, 2023

[sdr_usr@linux sdr]$ modeslive --source rtlsdr
Found Rafael Micro R820T tuner
[R82XX] PLL not locked!
Exact sample rate is: 2000000.052982 Hz
Traceback (most recent call last):
  File "/home/sdr_usr/.local/lib/python3.11/site-packages/pyModeS/extra/rtlreader.py", line 193, in run
    self._read_callback(data, None)
  File "/home/sdr_usr/.local/lib/python3.11/site-packages/pyModeS/extra/rtlreader.py", line 169, in _read_callback
    messages = self._process_buffer()
               ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/sdr_usr/.local/lib/python3.11/site-packages/pyModeS/extra/rtlreader.py", line 87, in _process_buffer
    threshold = max(frame_pulses) * 0.2
                ^^^^^^^^^^^^^^^^^
ValueError: max() arg is an empty sequence
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant