You have been subscribed to a public bug:

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'
```

** Affects: ubuntustudio-controls (Ubuntu)
     Importance: Undecided
         Status: New

-- 
ubuntustudio-controls crash if card with no id
https://bugs.launchpad.net/bugs/1841451
You received this bug notification because you are a member of Ubuntu Bugs, 
which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to