f4exb / sdrangel

SDR Rx/Tx software for Airspy, Airspy HF+, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay and FunCube
GNU General Public License v3.0
2.72k stars 421 forks source link

Alsa and Avahi errors (among others) in Snap version on 22.04 #2116

Closed jonnycat5000 closed 1 month ago

jonnycat5000 commented 1 month ago

Recent installation on Kubuntu 22.04, I've snipped out the successful plugins that loaded, this is what remains: `jon@box:~$ sudo snap connect sdrangel:audio-record jon@box:~$ snap connect sdrangel:raw-usb jon@box:~$ sdrangel 2024-05-16 15:54:08.093 (I) SDRangel 7.20.0 Qt 5.15.3 64b x86_64 Ubuntu Core 22 DSP Rx:24b Tx:16b PID 132334 2024-05-16 15:54:08.093 (I) MainSettings::MainSettings: settings file: format: 0 location: /home/jon/snap/sdrangel/7/.config/f4exb/SDRangel.conf ALSA lib conf.c:4553:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf ALSA lib conf.c:4553:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf 2024-05-16 15:54:08.171 (W) Unable to obtain the client patch: "org.freedesktop.DBus.Error.AccessDeniedAn AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\", sender=\":1.2270\" (uid=1000 pid=132334 comm=\"/snap/sdrangel/7/opt/install/sdrangel/bin/sdrangel\" label=\"snap.sdrangel.sdrangel (enforce)\") interface=\"org.freedesktop.GeoClue2.Manager\" member=\"GetClient\" error name=\"(unset)\" requested_reply=\"0\" destination=\"org.freedesktop.GeoClue2\" (bus)" 2024-05-16 15:54:08.171 (W) MainCore::positionError: 0 ... 2024-05-16 15:54:10.314 (W) PluginManager::loadPluginsDir: Cannot load library /snap/sdrangel/7/opt/install/sdrangel/lib/sdrangel/plugins/liblocalsink.so: (/snap/sdrangel/7/opt/install/sdrangel/lib/sdrangel/plugins/liblocalsink.so: undefined symbol: _ZN17LocalSinkSettings13m_maxFFTBandsE) ... ERROR: Unable to create Avahi DNS-SD client :Daemon not running 2024-05-16 15:54:10.856 (C) PlutoSDRScan::scan: could not get contexts [INFO] [UHD] linux; GNU C++ version 11.4.0; Boost_107400; UHD_4.5.0.HEAD-0-g471af98f 2024-05-16 15:54:11.870 (I) WebAPIServer::start: starting web API server at http://:8091 2024-05-16 15:54:16.923 (I) WebAPIServer::stop: stopped web API server at http://:8091 SDRangel quit.

`

Any suggestions appreciated.