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

Upgrade to Fedora 40 breaks sdrscanner #106

Open
mikeoffnq opened this issue May 8, 2024 · 0 comments
Open

Upgrade to Fedora 40 breaks sdrscanner #106

mikeoffnq opened this issue May 8, 2024 · 0 comments

Comments

@mikeoffnq
Copy link

I have been running the development thread, but a resent upgrade to Fedora 40 has broken sdrscanner.
When I try to play a transmission I get the following....

Traceback (most recent call last):
monitor-server-1 | File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py", line 55, in inner
monitor-server-1 | response = get_response(request)
monitor-server-1 | File "/usr/local/lib/python3.10/dist-packages/django/core/handlers/base.py", line 197, in _get_response
monitor-server-1 | response = wrapped_callback(request, *callback_args, **callback_kwargs)
monitor-server-1 | File "/usr/local/lib/python3.10/dist-packages/django/contrib/auth/decorators.py", line 23, in _wrapper_view
monitor-server-1 | return view_func(request, *args, **kwargs)
monitor-server-1 | File "/usr/local/lib/python3.10/dist-packages/django/contrib/auth/decorators.py", line 23, in _wrapper_view
monitor-server-1 | return view_func(request, *args, **kwargs)
monitor-server-1 | File "/usr/src/sdr-panel/sdr/views.py", line 175, in transmission_data
monitor-server-1 | (data, sample_rate) = decode(data[: factor * (t.data_file.size // factor)].reshape(-1, factor), sample_rate, t.group.modulation)
monitor-server-1 | File "/usr/src/sdr-panel/sdr/signals.py", line 102, in decode
monitor-server-1 | return decode_data(data, decode_fm_data, sample_rate)
monitor-server-1 | File "/usr/src/sdr-panel/sdr/signals.py", line 92, in decode_data
monitor-server-1 | data = convert_uint8_to_complex(data)
monitor-server-1 | File "/usr/src/sdr-panel/sdr/signals.py", line 12, in convert_uint8_to_complex
monitor-server-1 | return (a + b * 1j).reshape(-1, sample_size // 2)
monitor-server-1 | ValueError: cannot reshape array of size 10485 into shape (1048)
monitor-server-1 | [08/May/2024 16:06:05] "GET /sdr/transmission/250/data HTTP/1.1" 500 5990

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