When remove '[In]' or '[Out]' from 'pactl list', there are no crash errors again.
Here is an workaround patch to remove '[' or ']', after that no crash.
--- /usr/lib/python3/dist-packages/checkbox_support/scripts/audio_settings.py 2020-04-23 10:28:39.000000000 -0400 +++ audio_settings.py 2020-04-27 22:51:29.698223676 -0400 @@ -129,8 +129,9 @@ """ pactl_list = check_output( ['pactl', 'list'], universal_newlines=True, env=unlocalized_env()) + new_pactl_list = pactl_list.replace("[", "").replace("]", "")
- card, profile = _guess_hdmi_profile(pactl_list) + card, profile = _guess_hdmi_profile(new_pactl_list) if not profile: logging.error('No available port found') return 1
When remove '[In]' or '[Out]' from 'pactl list', there are no crash errors again.
Here is an workaround patch to remove '[' or ']', after that no crash.
--- /usr/lib/ python3/ dist-packages/ checkbox_ support/ scripts/ audio_settings. py 2020-04-23 10:28:39.000000000 -0400 newlines= True, env=unlocalized _env()) replace( "[", "").replace("]", "")
+++ audio_settings.py 2020-04-27 22:51:29.698223676 -0400
@@ -129,8 +129,9 @@
"""
pactl_list = check_output(
['pactl', 'list'], universal_
+ new_pactl_list = pactl_list.
- card, profile = _guess_ hdmi_profile( pactl_list) hdmi_profile( new_pactl_ list)
logging. error(' No available port found')
+ card, profile = _guess_
if not profile:
return 1