SatDump/SatDump

Commit - SDR IDs are now strings breaks satdump

burgeda opened this issue · 8 comments

A commit was made [SDR IDs are now strings] this breaks communication

Hardware (SDR/PC/OS)
PI running satdump_sdr_server
Dell micro running satdump

Version (Eg, 1.0.0, CI Build 171)

Latest git as of 0930 EDT 2024-05-04

Logs after the crash (satdump.log from ~/.config/satdump or %appdata%\satdump)

This commandline worked PRIOR to the commit and hasn't worked since

/usr/bin/satdump live goes_hrit /srv/sat-photos --source remote --source_id 0 --samplerate 2.4e6 --frequency 1694.1e6 --gain 10 --agc true --http_server 0.0.0.0:8081

It returns

(E) Error parsing arguments! [json.exception.type_error.302] type must be string, but is number

Other info (Eg, Screenshots) / Files useful for debugging (CADU, etc)

Running satdump sdr_probe on the pc running satdump I get:

[13:32:58 - 04/05/2024] (I) Querying SDR Server at 192.168.200.230:5656
[13:32:59 - 04/05/2024] (I) Found devices (sources) :
[13:32:59 - 04/05/2024] (I) - File Source
[13:32:59 - 04/05/2024] (D) - type : file
[13:32:59 - 04/05/2024] (D) - id : 0
[13:32:59 - 04/05/2024] (I) - Network Source
[13:32:59 - 04/05/2024] (D) - type : net_source
[13:32:59 - 04/05/2024] (D) - id : 0
[13:32:59 - 04/05/2024] (I) - 192.168.200.230:5656 - Realtek RTL2838UHIDIR #1
[13:32:59 - 04/05/2024] (D) - type : remote
[13:32:59 - 04/05/2024] (D) - id : 00000001
[13:32:59 - 04/05/2024] (I) - RTL-TCP
[13:32:59 - 04/05/2024] (D) - type : rtltcp
[13:32:59 - 04/05/2024] (D) - id : 0
[13:32:59 - 04/05/2024] (I) - SDR++ Server
[13:32:59 - 04/05/2024] (D) - type : sdrpp_server
[13:32:59 - 04/05/2024] (D) - id : 0
[13:32:59 - 04/05/2024] (I) - SpyServer
[13:32:59 - 04/05/2024] (D) - type : spyserver
[13:32:59 - 04/05/2024] (D) - id : 0
[13:32:59 - 04/05/2024] (I) Found devices (sinks) :
[13:32:59 - 04/05/2024] (I) Done! Goodbye

Can you try the latest, I believe @JVital2013 fixed this.

Sorry, it looks like there's still a bug here @burgeda - I have another SDR with a serial number of 00000001 and it exhibits the problem like you describe. It should be fixed soon though - we'll let you know!

OK, this should be fixed for real now @burgeda :-). Please try the latest nightly and let us know. Keep in mind you'll need to specify --source_id 00000001 now, since source IDs match the SDR serial number.

I'm glad to help!