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

python - udpclient error #6

Open
fico14 opened this issue Jan 27, 2025 · 0 comments
Open

python - udpclient error #6

fico14 opened this issue Jan 27, 2025 · 0 comments

Comments

@fico14
Copy link

fico14 commented Jan 27, 2025

If I run "python3 udpclient.py freq 101000000" I get the following error:

Traceback (most recent call last):
File "/home/fico/Desktop/Projekt/rtl_fm_modified/rtl-sdr/udpclient.py", line 48, in
s.send(buf)
TypeError: a bytes-like object is required, not 'str'

I have tried to encode buf like this:
s.send(buf.encode())

and the program doesn't crash but nothing happens to the frequency.

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