I plugged in a USB sound card, set the mixer on volti to work with it (card_index 2).
Then I unplugged it, rebooted, and volti wouldn't start. This is the traceback:
[alsactrl.py:get_card_name:165] list index out of range
[alsactrl.py:init:41] can't open Master control for card None, trying to select first available mixer channel
[alsactrl.py:get_card_name:165] list index out of range
[alsactrl.py:init:49] can't open first available control for card None
error: list index out of range
[alsactrl.py:get_card_name:165] list index out of range
Traceback (most recent call last):
File "/usr/bin/volti", line 53, in
volti = main.VolumeTray()
File "/usr/lib/volti/volti/main.py", line 124, in init
self.watchid = gobject.io_add_watch(fd, eventmask, self.update)
TypeError: an integer is required
The problem is that the ~/.config/volti/config has a card_index = 2 in it, and there are now only 2 cards. So I changed that back to 0, and it started working.
It looks like you're trying another mixer, but if the card doesn't exist, you don't try the first card.
I plugged in a USB sound card, set the mixer on volti to work with it (card_index 2).
Then I unplugged it, rebooted, and volti wouldn't start. This is the traceback:
[alsactrl.py:get_card_name:165] list index out of range [alsactrl.py:init:41] can't open Master control for card None, trying to select first available mixer channel
[alsactrl.py:get_card_name:165] list index out of range [alsactrl.py:init:49] can't open first available control for card None error: list index out of range [alsactrl.py:get_card_name:165] list index out of range Traceback (most recent call last): File "/usr/bin/volti", line 53, in
volti = main.VolumeTray()
File "/usr/lib/volti/volti/main.py", line 124, in init
self.watchid = gobject.io_add_watch(fd, eventmask, self.update)
TypeError: an integer is required
The problem is that the ~/.config/volti/config has a card_index = 2 in it, and there are now only 2 cards. So I changed that back to 0, and it started working.
It looks like you're trying another mixer, but if the card doesn't exist, you don't try the first card.