Bug 117910
| Summary: | system-config-soundcard doesn't start "list.index(x): x not in list" | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Toni Willberg <toniw> |
| Component: | system-config-soundcard | Assignee: | Brent Fox <bfox> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2006-02-21 19:01:53 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
commenting out this line fixes the problem: soundcard.py.160: self.primaryDeviceMenu.set_active(self.cardList.index(self.soundcardBackend.getDefaultCard())) It seems that self.soundcardBackend.getDefaultCard() returns "None" for me, and this causes the problem. Should add some if block around that .set_active call. Additionally the default device info isn't saved anywhere. If I change it from the UI and click OK, on next run .getDefaultCard() gives still "None". I don't know Python and was unable to provide a working patch. :) *** This bug has been marked as a duplicate of 115198 *** Changed to 'CLOSED' state since 'RESOLVED' has been deprecated. |
From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040217 Epiphany/1.1.9 Description of problem: system-config-soundcard-1.2.5-1 fedora-release-1.90-11 Version-Release number of selected component (if applicable): system-config-soundcard-1.2.5-1 How reproducible: Always Steps to Reproduce: 1. system-config-soundcard Actual Results: # system-config-soundcard (system-config-soundcard.py:7396): Gdk-WARNING **: DESKTOP_STARTUP_ID contains invalid UTF-8 Traceback (most recent call last): File "/usr/share/system-config-soundcard/system-config-soundcard.py", line 47, in ? app = soundcard.childWindow() File "/usr_share/system-config-soundcard/soundcard.py", line 160, in __init__ self.primaryDeviceMenu.set_active(self.cardList.index(self.soundcardBackend.getDefaultCard())) ValueError: list.index(x): x not in list Additional info: Earlier versions had the same problem.