I forgot to provide information on my system UbuntuStudio: 19.04 ubuntustudio-controls: 1.7.1
-- You received this bug notification because you are a member of Ubuntu Studio Bugs, which is subscribed to ubuntustudio-controls. Matching subscriptions: UbuntuStudio Bugs, ubuntustudio-bugs https://bugs.launchpad.net/bugs/1841451 Title: ubuntustudio-controls crash if card with no id Status in ubuntustudio-controls: New Bug description: My system happens to have a card `/proc/asound/card1` without `id` folder, as a result ubuntustudio-controls crashes with the following error ``` $ ubuntustudio-controls /usr/bin/ubuntustudio-controls:15: DeprecationWarning: Importing dbus.glib to use the GLib main loop with dbus-python is deprecated. Instead, use this sequence: from dbus.mainloop.glib import DBusGMainLoop DBusGMainLoop(set_as_default=True) import dbus.glib Traceback (most recent call last): File "/usr/bin/ubuntustudio-controls", line 597, in <module> us = UbuntuStudioControls() File "/usr/bin/ubuntustudio-controls", line 274, in __init__ with open("/proc/asound/card"+str(x)+"/id", "r") as card_file: FileNotFoundError: [Errno 2] No such file or directory: '/proc/asound/card1/id' ``` To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntustudio-controls/+bug/1841451/+subscriptions -- Mailing list: https://launchpad.net/~ubuntustudio-bugs Post to : [email protected] Unsubscribe : https://launchpad.net/~ubuntustudio-bugs More help : https://help.launchpad.net/ListHelp

