No waterfall and audio after upgrade + RuntimeError

Hello,
I updated my raspberry, (ID 446 ik1jns), with the latest image “2020-12-27-Raspbian-SatNOGS-lite”, first it worked fine but now no waterfall and no audio.
I have reinstalled several times even using the backup files but nothing to do.
I enclose the error I get when I try to decode the signal and my configuration file.
I have updated with the latest versions with sudo satnogs-upgrade, and I have not received any errors during installation.
Thanks for your help.
Pino

Log error:
Apr 27 19:49:06 raspberrypi satnogs-client[359]: File “/usr/bin/satnogs_fsk.py”, line 98, in init
Apr 27 19:49:06 raspberrypi satnogs-client[359]: tune_args, settings, samp_rate_rx, “fc32”)
Apr 27 19:49:06 raspberrypi satnogs-client[359]: File “/usr/lib/python3/dist-packages/soapy/soapy_swig.py”, line 166, in make
Apr 27 19:49:06 raspberrypi satnogs-client[359]: return _soapy_swig.source_make(nchan, device, dev_args, stream_args, tune_args, other_settings, sampling_rate, type)
Apr 27 19:49:06 raspberrypi satnogs-client[359]: RuntimeError: rtlsdr_get_index_by_serial() - -3
Apr 27 19:49:09 raspberrypi satnogs-client[359]: satnogsclient.observer.observer - ERROR - No waterfall data file found

------------[ copy here ]------------
{
“versions”: {
“satnogs-client”: “1.4+15.g11e6770”,
“satnogs-client-ansible”: “202012231828”,
“satnogs-flowgraphs”: “1.3+1+gcd4a60eb-1”,
“gr-satnogs”: “2.2.0.0+10+gf9fe5b80-1”,
“gr-soapy”: “2.1.3.1-1”,
“gnuradio”: “3.8.2.0-14satnogs2”,
“satnogs-config”: “0.11+7.g4df45cc”
},
“state”: {
“is-applied”: true,
“pending-tags”: null
},
“system”: {
“date”: “2021-04-27T18:51:52.233794+00:00”,
“distribution”: {
“DESCRIPTION”: “Raspbian GNU/Linux 10 (buster)”,
“RELEASE”: “10”,
“CODENAME”: “buster”,
“ID”: “Raspbian”
},
“pending-updates”: false,
“platform”: {
“system”: “Linux”,
“node”: “raspberrypi”,
“release”: “5.10.17-v7+”,
“version”: “#1403 SMP Mon Feb 22 11:29:51 GMT 2021”,
“machine”: “armv7l”,
“processor”: “”
},
“memory”: {
“total”: 969105408,
“available”: 800968704,
“percent”: 17.3,
“used”: 108146688,
“free”: 605597696,
“active”: 150659072,
“inactive”: 167071744,
“buffers”: 22253568,
“cached”: 233107456,
“shared”: 6516736,
“slab”: 28389376
},
“disk”: {
“total”: 14909734912,
“used”: 3324502016,
“free”: 10925105152,
“percent”: 23.3
}
},
“configuration”: {
“apt_key_url”: “http://download.opensuse.org/repositories/home:/librespace:/satnogs-unstable/Raspbian_10/Release.key”,
“apt_repository”: “deb http://download.opensuse.org/repositories/home:/librespace:/satnogs-unstable/Raspbian_10 ./”,
“experimental”: true,
“hamlib_utils_rig_enabled”: true,
“hamlib_utils_rot_enabled”: false,
“satnogs_antenna”: “RX”,
“satnogs_api_token”: “[redacted]”,
“satnogs_client_url”: “git+http://gitlab.com/librespacefoundation/satnogs/satnogs-client.git@master”,
“satnogs_dev_args”: “serial”,
“satnogs_rf_gain”: “40.2”,
“satnogs_rx_device”: “rtlsdr”,
“satnogs_rx_samp_rate”: “2.048e6”,
“satnogs_soapy_rx_device”: “driver=rtlsdr”,
“satnogs_station_elev”: 350,
“satnogs_station_id”: 446,
“satnogs_station_lat”: 45.074,
“satnogs_station_lon”: 7.521
}
}
------------[ copy end ]-------------

Not necessarily related to your issue, but you have enabled the experimental option which installs unstable software, mostly intended for developing SatNOGS.

Based on the logs, it appears that there is some issue with the RTL-SDR device. The rtlsdr library fails to find the USB device. Is it connected properly?

Yes I know that the experimental version can have problems, but I tried after 2 times trying the stable one. The key yes, I have 2 NESDR SMART and with both it does not work, but the test is ok:

pi@raspberrypi:~ $ rtl_test
Found 1 device(s):
0: Realtek, RTL2838UHIDIR, SN: 1002

Using device 0: Generic RTL2832U OEM
Found Rafael Micro R820T tuner
Supported gain values (29): 0.0 0.9 1.4 2.7 3.7 7.7 8.7 12.5 14.4 15.7 16.6 19.7 20.7 22.9 25.4 28.0 29.7 32.8 33.8 36.4 37.2 38.6 40.2 42.1 43.4 43.9 44.5 48.0 49.6
[R82XX] PLL not locked!
Sampling at 2048000 S/s.

This is my fourth installation, not experimental, but the problem is always present.

Apr 27 23:23:49 raspberrypi satnogs-client[8558]: rot_init called
Apr 27 23:23:49 raspberrypi satnogs-client[8558]: dummy: _init called
Apr 27 23:23:49 raspberrypi satnogs-client[8558]: rot_register (1)
Apr 27 23:23:49 raspberrypi satnogs-client[8558]: rot_register (2)
Apr 27 23:23:49 raspberrypi satnogs-client[8558]: dummy_rot_init called
Apr 27 23:23:49 raspberrypi satnogs-client[8558]: rot_open called
Apr 27 23:23:49 raspberrypi satnogs-client[8558]: dummy_rot_open called
Apr 27 23:26:33 raspberrypi satnogs-client[8558]: usage: satnogs_cw_decoder.py [-h] [–antenna ANTENNA] [–bb-freq BB_FREQ]
Apr 27 23:26:33 raspberrypi satnogs-client[8558]: [–bfo-freq BFO_FREQ] [–bw BW]
Apr 27 23:26:33 raspberrypi satnogs-client[8558]: [–dc-removal DC_REMOVAL]
Apr 27 23:26:33 raspberrypi satnogs-client[8558]: [–decoded-data-file-path DECODED_DATA_FILE_PATH]
Apr 27 23:26:33 raspberrypi satnogs-client[8558]: [–dev-args DEV_ARGS]
Apr 27 23:26:33 raspberrypi satnogs-client[8558]: [–doppler-correction-per-sec DOPPLER_CORRECTION_PER_SEC]
Apr 27 23:26:33 raspberrypi satnogs-client[8558]: [–enable-iq-dump ENABLE_IQ_DUMP]
Apr 27 23:26:33 raspberrypi satnogs-client[8558]: [–file-path FILE_PATH] [–gain GAIN]
Apr 27 23:26:33 raspberrypi satnogs-client[8558]: [–gain-mode GAIN_MODE]
Apr 27 23:26:33 raspberrypi satnogs-client[8558]: [–iq-file-path IQ_FILE_PATH]
Apr 27 23:26:33 raspberrypi satnogs-client[8558]: [–lo-offset LO_OFFSET]
Apr 27 23:26:33 raspberrypi satnogs-client[8558]: [–other-settings OTHER_SETTINGS] [–ppm PPM]
Apr 27 23:26:33 raspberrypi satnogs-client[8558]: [–rigctl-port RIGCTL_PORT] [–rx-freq RX_FREQ]
Apr 27 23:26:33 raspberrypi satnogs-client[8558]: [–samp-rate-rx SAMP_RATE_RX]
Apr 27 23:26:33 raspberrypi satnogs-client[8558]: [–soapy-rx-device SOAPY_RX_DEVICE]
Apr 27 23:26:33 raspberrypi satnogs-client[8558]: [–stream-args STREAM_ARGS]
Apr 27 23:26:33 raspberrypi satnogs-client[8558]: [–tune-args TUNE_ARGS] [–udp-IP UDP_IP]
Apr 27 23:26:33 raspberrypi satnogs-client[8558]: [–udp-port UDP_PORT]
Apr 27 23:26:33 raspberrypi satnogs-client[8558]: [–waterfall-file-path WATERFALL_FILE_PATH]
Apr 27 23:26:33 raspberrypi satnogs-client[8558]: [–wpm WPM]
Apr 27 23:26:33 raspberrypi satnogs-client[8558]: satnogs_cw_decoder.py: error: unrecognized arguments: --udp-dump-port=57356
Apr 27 23:26:36 raspberrypi satnogs-client[8558]: satnogsclient.observer.observer - ERROR - No waterfall data file found

------------[ copy here ]------------
{
“versions”: {
“satnogs-client”: “1.4+15.g11e6770”,
“satnogs-client-ansible”: “202012231828”,
“satnogs-flowgraphs”: “1.3-1”,
“gr-satnogs”: “2.2.0.0+10+gf9fe5b80-1”,
“gr-soapy”: “2.1.3.1-1”,
“gnuradio”: “3.8.2.0-14satnogs2”,
“satnogs-config”: “0.11”
},
“state”: {
“is-applied”: true,
“pending-tags”: null
},
“system”: {
“date”: “2021-04-27T21:35:09.082313+00:00”,
“distribution”: {
“DESCRIPTION”: “Raspbian GNU/Linux 10 (buster)”,
“RELEASE”: “10”,
“CODENAME”: “buster”,
“ID”: “Raspbian”
},
“pending-updates”: false,
“platform”: {
“system”: “Linux”,
“node”: “raspberrypi”,
“release”: “5.4.79-v7+”,
“version”: “#1373 SMP Mon Nov 23 13:22:33 GMT 2020”,
“machine”: “armv7l”,
“processor”: “”
},
“memory”: {
“total”: 969764864,
“available”: 746213376,
“percent”: 23.1,
“used”: 154738688,
“free”: 104607744,
“active”: 267112448,
“inactive”: 505028608,
“buffers”: 54280192,
“cached”: 656138240,
“shared”: 1703936,
“slab”: 70705152
},
“disk”: {
“total”: 14909734912,
“used”: 3607797760,
“free”: 10641809408,
“percent”: 25.3
}
},
“configuration”: {
“apt_key_url”: “http://download.opensuse.org/repositories/home:/librespace:/satnogs-unstable/Raspbian_10/Release.key”,
“apt_repository”: “deb http://download.opensuse.org/repositories/home:/librespace:/satnogs-unstable/Raspbian_10 ./”,
“experimental”: false,
“hamlib_utils_rot_enabled”: false,
“satnogs_antenna”: “RX”,
“satnogs_api_token”: “[redacted]”,
“satnogs_client_url”: “git+http://gitlab.com/librespacefoundation/satnogs/satnogs-client.git@master”,
“satnogs_dev_args”: “serial”,
“satnogs_rf_gain”: “40.2”,
“satnogs_rx_device”: “rtlsdr”,
“satnogs_rx_samp_rate”: “2.048e6”,
“satnogs_soapy_rx_device”: “driver=rtlsdr”,
“satnogs_station_elev”: 350,
“satnogs_station_id”: 446,
“satnogs_station_lat”: 45.074,
“satnogs_station_lon”: 7.521
}
}
------------[ copy end ]-------------

By this you mean that it is a clean install from the latest image?

I’m asking because this setting:

looks like the one we used on older versions. Just curious, can you find where it is defined in sudo satnogs-setup?

Uauuuu…Thank you so much, if you didn’t tell me where the problem was I would have gone on for a few more days to reinstall. The problem is in the backup file that I am attaching, this is the one I had saved from the old installation. Now I try to load the personal data from the satnogs-setup and not the file in /etc/ansible/hosts_vars/localhost. I’ll update you as soon as I’ve reinstalled and tried!
Thank you

/etc/ansible/hosts_vars/localhost
apt_key_url: http://download.opensuse.org/repositories/home:/librespace:/satnogs-unstable/Raspbian_10/Release.key
apt_repository: deb http://download.opensuse.org/repositories/home:/librespace:/satnogs-unstable/Raspbian_10
./
experimental: true
hamlib_utils_rot_enabled: false
satnogs_antenna: RX
satnogs_api_token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
satnogs_client_url: git + http: //gitlab.com/librespacefoundation/satnogs/satnogs-client.git@master
satnogs_dev_args: serial
satnogs_rf_gain: '40 .2 ’
satnogs_rx_device: rtlsdr
satnogs_rx_samp_rate: 2.048e6
satnogs_soapy_rx_device: driver = rtlsdr
satnogs_station_elev: 350
satnogs_station_id: 446
satnogs_station_lat: 45.074
satnogs_station_lon: 7.521

1 Like

Now running !
That mistake was really hard to detect on its own.
Now I can dedicate myself to interfacing the Sarcnet rotor to the Satnogs …
Thanks again

1 Like

Nice! Problem solved! :slight_smile:

Strange… The superfluous option should not cause any issues… :thinking:

Thanks again, trivial mistake but without the help I would never have found it ;-).
I finally managed to interface the SarcNet rotor to SatNogs. It works perfectly! …
tks de pino @ ik1jns

2 Likes