canonical / mir-kiosk-kodi

Snap packaging for Kodi
4 stars 1 forks source link

terminate called after throwing an instance of 'std::logic_error' when there is no audio-playback provider #44

Open robinelvin opened 2 months ago

robinelvin commented 2 months ago

New install on Ubuntu Core 22.04

2024-05-03T14:14:19Z systemd[1]: Started Service for snap application mir-kiosk-kodi.daemon.
2024-05-03T14:14:19Z mir-kiosk-kodi.daemon[13705]: + snapctl get daemon
2024-05-03T14:14:19Z mir-kiosk-kodi.daemon[13688]: + [ true = true ]
2024-05-03T14:14:19Z mir-kiosk-kodi.daemon[13688]: + exec /snap/mir-kiosk-kodi/925/bin/wayland-launch /snap/mir-kiosk-kodi/925/bin/run-kodi /snap/mir-kiosk-kodi/925/usr/bin/kodi
2024-05-03T14:14:19Z mir-kiosk-kodi.daemon[13688]: WARNING: audio-playback interface not connected! Please run: /snap/mir-kiosk-kodi/current/bin/setup.sh
2024-05-03T14:14:19Z mir-kiosk-kodi.daemon[13744]: terminate called after throwing an instance of 'std::logic_error'
2024-05-03T14:14:19Z mir-kiosk-kodi.daemon[13744]:   what():  basic_string::_M_construct null not valid
2024-05-03T14:14:19Z mir-kiosk-kodi.daemon[13688]: Crash report available at /root/snap/mir-kiosk-kodi/925/kodi_crashlog-20240503_141419.log
2024-05-03T14:14:19Z systemd[1]: snap.mir-kiosk-kodi.daemon.service: Main process exited, code=exited, status=134/n/a
2024-05-03T14:14:19Z systemd[1]: snap.mir-kiosk-kodi.daemon.service: Failed with result 'exit-code'
AlanGriffiths commented 2 months ago
WARNING: audio-playback interface not connected! Please run: /snap/mir-kiosk-kodi/current/bin/setup.sh

What happens after running /snap/mir-kiosk-kodi/current/bin/setup.sh?

robinelvin commented 2 months ago
WARNING: audio-playback interface not connected! Please run: /snap/mir-kiosk-kodi/current/bin/setup.sh

What happens after running /snap/mir-kiosk-kodi/current/bin/setup.sh?

All I get is:

Warning: Failed to connect 'audio-playback'. Please connect manually, available providers are:

No providers are listed but I don't need nor want audio.

AlanGriffiths commented 2 months ago

Sorry but, as you can see above, Kodi will crash if there's no audio provider: Updating the snap packaging won't change that.

Even if you did want audio, there's no audio-playback provider for Ubuntu Core I can recommended. (I have used the edge channel of pulseaudio for testing, but that snap has not been maintained for years.)