kgshank/gse-sound-output-device-chooser

[BUG] Not working in Ubuntu 22.04

Closed this issue · 6 comments

Jet-2 commented

Please provide the shell and extension information. It will be easier for me to understand the issue without too many unnecessary questions

Describe the bug
After updating my Ubuntu installation the application stopped working, after a fresh installation it gets stuck at initialising extension and after changing a setting it doesnt show up at all

Extension Information

  • GNOME 41.3
  • 40
  • github
  • Ubuntu Jammy Jellyfish (22.04)

Error / Journal messages

  • Enable Log messages in extension preferences and share the output of journalctl -r | grep SDC
Mar 13 19:12:33 unknown-MS-7B77 gjs[3725]: JS LOG: SDC Debug: Python found.python3
Mar 13 19:12:33 unknown-MS-7B77 gjs[3725]: JS LOG: SDC Debug: ERROR: python execution failed. GLib.SpawnError: Failed to execute child process “python” (No such file or directory)
Mar 13 19:12:33 unknown-MS-7B77 gjs[3725]: JS LOG: SDC Debug: New logic
Mar 13 19:12:33 unknown-MS-7B77 gjs[3725]: JS LOG: SDC Debug: JS LOG:_UI file receive and load: /home/unknown/.local/share/gnome-shell/extensions/sound-output-device-chooser@kgshank.net/ui/prefs-dialog40.glade
Mar 13 19:12:29 unknown-MS-7B77 gnome-shell[1908]: SDC Debug: Getting profile from cards iec958-stereo-output for card id undefined
Mar 13 19:12:29 unknown-MS-7B77 gnome-shell[1908]: SDC Debug: Python found.python3
Mar 13 19:12:29 unknown-MS-7B77 gnome-shell[1908]: SDC Debug: ERROR: python execution failed. GLib.SpawnError: Failed to execute child process “python” (No such file or directory)
Mar 13 19:12:29 unknown-MS-7B77 gnome-shell[1908]: SDC Debug: New logic
Mar 13 19:12:29 unknown-MS-7B77 gnome-shell[1908]: SDC Debug: Added - 1
Mar 13 19:12:29 unknown-MS-7B77 gnome-shell[1908]: SDC Debug: Max Id:20
Mar 13 19:12:29 unknown-MS-7B77 gnome-shell[1908]: SDC Debug: Constructor:output
Mar 13 19:12:29 unknown-MS-7B77 gnome-shell[1908]: SDC Debug: SDC: init
Mar 13 19:12:12 unknown-MS-7B77 gnome-shell[1908]: SDC Debug: Not integrating with Volume menu
Mar 13 19:12:12 unknown-MS-7B77 gnome-shell[1908]: SDC Debug: Input Device visibility
Mar 13 19:12:12 unknown-MS-7B77 gnome-shell[1908]: SDC Debug: Not integrating with Volume menu
Mar 13 19:12:12 unknown-MS-7B77 gnome-shell[1908]: SDC Debug: Output Device visibility
Mar 13 19:11:34 unknown-MS-7B77 gnome-shell[1908]: SDC Debug: Not integrating with Volume menu
Mar 13 19:11:33 unknown-MS-7B77 gnome-shell[1908]: SDC Debug: Not integrating with Volume menu
Mar 13 19:11:26 unknown-MS-7B77 gjs[3725]: JS LOG: SDC Debug: Python found.python3
Mar 13 19:11:26 unknown-MS-7B77 gjs[3725]: JS LOG: SDC Debug: ERROR: python execution failed. GLib.SpawnError: Failed to execute child process “python” (No such file or directory)
Mar 13 19:11:26 unknown-MS-7B77 gjs[3725]: JS LOG: SDC Debug: New logic
Mar 13 19:11:26 unknown-MS-7B77 gjs[3725]: JS LOG: SDC Debug: JS LOG:_UI file receive and load: /home/unknown/.local/share/gnome-shell/extensions/sound-output-device-chooser@kgshank.net/ui/prefs-dialog40.glade
Mar 13 19:09:49 unknown-MS-7B77 gnome-shell[1908]: SDC Debug: Not integrating with Volume menu
Mar 13 19:09:38 unknown-MS-7B77 gnome-shell[1908]: SDC Debug: Not integrating with Volume menu
Mar 13 19:09:38 unknown-MS-7B77 gnome-shell[1908]: SDC Debug: Getting profile from cards analog-input-linein for card id undefined
Mar 13 19:09:38 unknown-MS-7B77 gnome-shell[1908]: SDC Debug: Python found.python3
Mar 13 19:09:38 unknown-MS-7B77 gnome-shell[1908]: SDC Debug: ERROR: python execution failed. GLib.SpawnError: Failed to execute child process “python” (No such file or directory)
Mar 13 19:09:38 unknown-MS-7B77 gnome-shell[1908]: SDC Debug: New logic
Mar 13 19:09:38 unknown-MS-7B77 gnome-shell[1908]: SDC Debug: Added - 4
Mar 13 19:09:38 unknown-MS-7B77 gnome-shell[1908]: SDC Debug: Added - 3
Mar 13 19:09:38 unknown-MS-7B77 gnome-shell[1908]: SDC Debug: Added - 2
Mar 13 19:09:38 unknown-MS-7B77 gnome-shell[1908]: SDC Debug: Added - 1
Mar 13 19:09:38 unknown-MS-7B77 gnome-shell[1908]: SDC Debug: Max Id:19
Mar 13 19:09:38 unknown-MS-7B77 gnome-shell[1908]: SDC Debug: Getting profile from cards iec958-stereo-output for card id undefined
Mar 13 19:09:38 unknown-MS-7B77 gnome-shell[1908]: SDC Debug: Python found.python3
Mar 13 19:09:38 unknown-MS-7B77 gnome-shell[1908]: SDC Debug: ERROR: python execution failed. GLib.SpawnError: Failed to execute child process “python” (No such file or directory)
Mar 13 19:09:38 unknown-MS-7B77 gnome-shell[1908]: SDC Debug: New logic
Mar 13 19:09:38 unknown-MS-7B77 gnome-shell[1908]: SDC Debug: Added - 1
Mar 13 19:09:38 unknown-MS-7B77 gnome-shell[1908]: SDC Debug: Max Id:18
Mar 13 19:09:38 unknown-MS-7B77 gnome-shell[1908]: SDC Debug: Not integrating with Volume menu
Mar 13 19:09:38 unknown-MS-7B77 gnome-shell[1908]: SDC Debug: Not integrating with Volume menu
Mar 13 19:09:38 unknown-MS-7B77 gnome-shell[1908]: SDC Debug: Not integrating with Volume menu
Mar 13 19:09:38 unknown-MS-7B77 gnome-shell[1908]: SDC Debug: Not integrating with Volume menu
Mar 13 19:09:38 unknown-MS-7B77 gnome-shell[1908]: SDC Debug: Not integrating with Volume menu
Mar 13 19:09:38 unknown-MS-7B77 gnome-shell[1908]: SDC Debug: Not integrating with Volume menu
Mar 13 19:09:38 unknown-MS-7B77 gnome-shell[1908]: SDC Debug: Not integrating with Volume menu
Mar 13 19:09:38 unknown-MS-7B77 gnome-shell[1908]: SDC Debug: Not integrating with Volume menu
Mar 13 19:09:38 unknown-MS-7B77 gnome-shell[1908]: SDC Debug: Not integrating with Volume menu
Mar 13 19:09:37 unknown-MS-7B77 gnome-shell[1908]: SDC Debug: Not integrating with Volume menu
Mar 13 19:09:37 unknown-MS-7B77 gnome-shell[1908]: SDC Debug: Not integrating with Volume menu
Mar 13 19:09:37 unknown-MS-7B77 gnome-shell[1908]: SDC Debug: Constructor:input
Mar 13 19:09:37 unknown-MS-7B77 gnome-shell[1908]: SDC Debug: SDC: init
Mar 13 19:07:17 unknown-MS-7B77 gjs[4510]: JS LOG: SDC Debug: Python found.python3
Mar 13 19:07:17 unknown-MS-7B77 gjs[4510]: JS LOG: SDC Debug: ERROR: python execution failed. GLib.SpawnError: Failed to execute child process “python” (No such file or directory)
Mar 13 19:07:17 unknown-MS-7B77 gjs[4510]: JS LOG: SDC Debug: New logic
Mar 13 19:07:17 unknown-MS-7B77 gjs[4510]: JS LOG: SDC Debug: JS LOG:_UI file receive and load: /home/unknown/.local/share/gnome-shell/extensions/sound-output-device-chooser@kgshank.net/ui/prefs-dialog40.glade
Mar 13 19:07:12 unknown-MS-7B77 gjs[4510]: JS LOG: SDC Debug: Python found.python3
Mar 13 19:07:12 unknown-MS-7B77 gjs[4510]: JS LOG: SDC Debug: ERROR: python execution failed. GLib.SpawnError: Failed to execute child process “python” (No such file or directory)
Mar 13 19:07:12 unknown-MS-7B77 gjs[4510]: JS LOG: SDC Debug: New logic
Mar 13 19:07:12 unknown-MS-7B77 gjs[4510]: JS LOG: SDC Debug: JS LOG:_UI file receive and load: /home/unknown/.local/share/gnome-shell/extensions/sound-output-device-chooser@kgshank.net/ui/prefs-dialog40.glade
Mar 13 19:07:08 unknown-MS-7B77 gnome-shell[1891]: SDC Debug: Getting profile from cards iec958-stereo-output for card id undefined
Mar 13 19:07:08 unknown-MS-7B77 gnome-shell[1891]: SDC Debug: Python found.python3
Mar 13 19:07:08 unknown-MS-7B77 gnome-shell[1891]: SDC Debug: ERROR: python execution failed. GLib.SpawnError: Failed to execute child process “python” (No such file or directory)
Mar 13 19:07:08 unknown-MS-7B77 gnome-shell[1891]: SDC Debug: New logic
Mar 13 19:07:08 unknown-MS-7B77 gnome-shell[1891]: SDC Debug: Added - 1
Mar 13 19:07:08 unknown-MS-7B77 gnome-shell[1891]: SDC Debug: Max Id:20
Mar 13 19:07:08 unknown-MS-7B77 gnome-shell[1891]: SDC Debug: Constructor:output
Mar 13 19:07:08 unknown-MS-7B77 gnome-shell[1891]: SDC Debug: SDC: init
Mar 13 19:05:33 unknown-MS-7B77 gnome-shell[1891]: SDC Debug: Getting profile from cards iec958-stereo-output for card id undefined
Mar 13 19:05:33 unknown-MS-7B77 gnome-shell[1891]: SDC Debug: Python found.python3
Mar 13 19:05:33 unknown-MS-7B77 gnome-shell[1891]: SDC Debug: ERROR: python execution failed. GLib.SpawnError: Failed to execute child process “python” (No such file or directory)
Mar 13 19:05:33 unknown-MS-7B77 gnome-shell[1891]: SDC Debug: New logic
Mar 13 19:05:33 unknown-MS-7B77 gnome-shell[1891]: SDC Debug: Added - 1
Mar 13 19:05:33 unknown-MS-7B77 gnome-shell[1891]: SDC Debug: Max Id:19
Mar 13 19:05:33 unknown-MS-7B77 gnome-shell[1891]: SDC Debug: Constructor:output
Mar 13 19:05:33 unknown-MS-7B77 gnome-shell[1891]: SDC Debug: SDC: init
Mar 13 19:05:06 unknown-MS-7B77 gjs[4510]: JS LOG: SDC Debug: Python found.python3
Mar 13 19:05:06 unknown-MS-7B77 gjs[4510]: JS LOG: SDC Debug: ERROR: python execution failed. GLib.SpawnError: Failed to execute child process “python” (No such file or directory)
Mar 13 19:05:06 unknown-MS-7B77 gjs[4510]: JS LOG: SDC Debug: New logic
Mar 13 19:05:06 unknown-MS-7B77 gjs[4510]: JS LOG: SDC Debug: JS LOG:_UI file receive and load: /home/unknown/.local/share/gnome-shell/extensions/sound-output-device-chooser@kgshank.net/ui/prefs-dialog40.glade
Mar 13 19:04:51 unknown-MS-7B77 gjs[4510]: JS LOG: SDC Debug: Python found.python3
Mar 13 19:04:51 unknown-MS-7B77 gjs[4510]: JS LOG: SDC Debug: ERROR: python execution failed. GLib.SpawnError: Failed to execute child process “python” (No such file or directory)
Mar 13 19:04:51 unknown-MS-7B77 gjs[4510]: JS LOG: SDC Debug: New logic
Mar 13 19:04:51 unknown-MS-7B77 gjs[4510]: JS LOG: SDC Debug: JS LOG:_UI file receive and load: /home/unknown/.local/share/gnome-shell/extensions/sound-output-device-chooser@kgshank.net/ui/prefs-dialog40.glade
Mar 13 19:04:37 unknown-MS-7B77 gjs[3867]: JS LOG: SDC Debug: Python found.python3
Mar 13 19:04:37 unknown-MS-7B77 gjs[3867]: JS LOG: SDC Debug: ERROR: python execution failed. GLib.SpawnError: Failed to execute child process “python” (No such file or directory)
Mar 13 19:04:37 unknown-MS-7B77 gjs[3867]: JS LOG: SDC Debug: New logic
Mar 13 19:04:37 unknown-MS-7B77 gjs[3867]: JS LOG: SDC Debug: JS LOG:_UI file receive and load: /home/unknown/.local/share/gnome-shell/extensions/sound-output-device-chooser@kgshank.net/ui/prefs-dialog40.glade
Mar 13 19:04:24 unknown-MS-7B77 gnome-shell[1891]: SDC Debug: Getting profile from cards iec958-stereo-output for card id undefined
Mar 13 19:04:24 unknown-MS-7B77 gnome-shell[1891]: SDC Debug: Python found.python3
Mar 13 19:04:24 unknown-MS-7B77 gnome-shell[1891]: SDC Debug: ERROR: python execution failed. GLib.SpawnError: Failed to execute child process “python” (No such file or directory)
Mar 13 19:04:24 unknown-MS-7B77 gnome-shell[1891]: SDC Debug: New logic
Mar 13 19:04:24 unknown-MS-7B77 gnome-shell[1891]: SDC Debug: Added - 1
Mar 13 19:04:24 unknown-MS-7B77 gnome-shell[1891]: SDC Debug: Max Id:18
Mar 13 18:51:35 unknown-MS-7B77 gjs[6173]: JS LOG: SDC Debug: Python found.python3
Mar 13 18:51:35 unknown-MS-7B77 gjs[6173]: JS LOG: SDC Debug: ERROR: python execution failed. GLib.SpawnError: Failed to execute child process “python” (No such file or directory)
Mar 13 18:51:35 unknown-MS-7B77 gjs[6173]: JS LOG: SDC Debug: New logic
Mar 13 18:51:35 unknown-MS-7B77 gjs[6173]: JS LOG: SDC Debug: JS LOG:_UI file receive and load: /home/unknown/.local/share/gnome-shell/extensions/sound-output-device-chooser@kgshank.net/ui/prefs-dialog40.glade
Mar 13 18:48:12 unknown-MS-7B77 gjs[5072]: JS LOG: SDC Debug: Python found.python3
Mar 13 18:48:12 unknown-MS-7B77 gjs[5072]: JS LOG: SDC Debug: ERROR: python execution failed. GLib.SpawnError: Failed to execute child process “python” (No such file or directory)
Mar 13 18:48:12 unknown-MS-7B77 gjs[5072]: JS LOG: SDC Debug: New logic
Mar 13 18:48:12 unknown-MS-7B77 gjs[5072]: JS LOG: SDC Debug: JS LOG:_UI file receive and load: /home/unknown/.local/share/gnome-shell/extensions/sound-output-device-chooser@kgshank.net/ui/prefs-dialog40.glade

Same

same here.
Fedora 36 with gnome shell 42

hadim commented

same here

Bug happens over here. Python is found but fails to execute.
Have no time to investigate more.

let [result, out, err, exit_code] = GLib.spawn_command_line_sync(pythonExec + " " + pyLocation);

It seems like a problem with your python installation. Try executing python3 in a shell and check the results.

Jet-2 commented

I dont belive that it was an issue with my python version, as I use it every day for development and if you are curuious python3 returns python3.10 (the default for ubuntu 22.04). However after testing again it turns out that now everything works. So likely that it was a problem on ubuntus end and not yours thanks anyways. For anyone who still has this issue on ubuntu 22.04 try updating and see if it fixes it.