Red Hat Bugzilla – Bug 172671
system-config-soundcard crashes with short soundcard descriptions
Last modified: 2007-11-30 17:11:16 EST
Description of problem:
After installing my new USB camera, system-config-soundcard crashes at startup.
Traceback (most recent call last):
File "/usr/share/system-config-soundcard/system-config-soundcard.py", line 46,
app = soundcard.childWindow()
File "/usr/share/system-config-soundcard/soundcard.py", line 87, in __init__
self.device, self.module, self.maker, self.model =
File "/usr/share/system-config-soundcard/soundcardBackend.py", line 106, in
maker, model = string.split(description, " ", 1)
ValueError: unpack list of wrong size
The problem is that description of my USB camera is very short: it has only one
word. So the list returned by split function has only one element, and cannot be
assigned to the tuple (maker, model). A similar problem would arise if the
description was an empty string.
I send attached a working (at least for me) patch.
Version-Release number of selected component (if applicable):
I'm using system-config-soundcard-1.2.10-1 on FC3
Created attachment 120800 [details]
It should be fixed in devel (package system-config-soundcard-1_2_14-1)