Bug 115556
| Summary: | system-config-soundcard cannot be started | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Ralf Kleineisel <ralf> | ||||
| Component: | system-config-soundcard | Assignee: | Brent Fox <bfox> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | |||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | rawhide | CC: | nphilipp | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | i686 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2004-04-21 13:49:56 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: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 114961 | ||||||
| Attachments: |
|
||||||
Hm, also, sndconfig is dead. :) Created attachment 97858 [details]
replacement Python file
ralf: Try replacing your
/usr/share/system-config-soundcard/system-config-soundcard.py file with this
attachment.
Then run the program from a command line and attach any debug messages to this
bug report.
I did so. The output is:
# system-config-soundcard -v
Traceback (most recent call last):
File
"/usr/share/system-config-soundcard/system-config-soundcard.py", line
38, in ?
import gtk
ImportError: No module named gtk
system-config-soundcard has an RPM dependency on pygtk2. Please run 'rpm -q pygtk2' and see if it is installed. Brent,
I tried this, unfortunately to no avail:
root@gibraltar:~> PYTHONPATH=/usr/share/system-config-soundcard
DISPLAY= python system-config-soundcard.py
Traceback (most recent call last):
File "system-config-soundcard.py", line 38, in ?
import gtk
File
"/usr/src/build/375621-i386/install/usr/lib/python2.3/site-packages/gtk-2.0/gtk/__init__.py",
line 43, in ?
RuntimeError: could not open display
NB: this is the system-config-soundcard.py you attached to the bug. Nils: can you try with system-config-soundcard-1.2.8-1 in Rawhide? You will have to install alsa-utils to satisfy the dependency, but it should work ok on a non-alsa system. Maybe I'm doing something wrong, but it doesn't work here: nils@gibraltar:~> rpm -qi system-config-soundcard Name : system-config-soundcard Relocations: (not relocatable) Version : 1.2.8 Vendor: Red Hat, Inc. Release : 1 Build Date: Fri 16 Apr 2004 05:57:04 AM CEST Install Date: Fri 16 Apr 2004 03:43:06 PM CEST Build Host: boris.devel.redhat.com Group : System Environment/Base Source RPM: system-config-soundcard-1.2.8-1.src.rpm Size : 1348886 License: GPL Signature : (none) Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla> URL : http://fedora.redhat.com/projects/config-tools/ Summary : A graphical interface for detecting and configuring soundcards Description : system-config-soundcard is a graphical user interface that detects and configures the soundcard(s) on the system. nils@gibraltar:~> sudo su - root@gibraltar:~> DISPLAY= system-config-soundcard system-config-soundcard requires a currently running X server. root@gibraltar:~> DISPLAY= /usr/share/system-config-soundcard/system-config-soundcard system-config-soundcard requires a currently running X server. root@gibraltar:~> DISPLAY= python /usr/share/system-config-soundcard/system-config-soundcard.py system-config-soundcard requires a currently running X server. Nils: are you running this from inside X? If not, then this is the desired behavior. If X is running, then there must be a deeper problem with the pygtk module not getting loaded. Ahh, misread the original bug report for lack of function without X. Under X and system-config-soundcard-1.2.8-1, everything works as expected here. I also guess that the original problem came from lack of pygtk2 -- closing the bug. Ralf, please reopen if the problem persists. ok i got a new one
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
Traceback (most recent call last):
File "/usr/share/system-config-soundcard/system-config-soundcard.py", line 38,
in ?
import gtk
File
"/usr/src/build/535819-i386/install/usr/lib/python2.4/site-packages/gtk-2.0/gtk/__init__.py",
line 37, in ?
RuntimeError: could not open display
any help?
|
From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6a) Gecko/20031103 Description of problem: When trying to start system-config-soundcard-1.2.2-1 I get the error message: # system-config-soundcard system-config-soundcard requires a currently running X server. Try running 'sndconfig' instead. There is a X-Server running, I can call other X programs (e.g. xterm) without problems. Version-Release number of selected component (if applicable): system-config-soundcard-1.2.2-1 How reproducible: Always Steps to Reproduce: 1. Open a terminal window under X 2. Enter "system-config-soundcard" at the prompt 3. Actual Results: Error message Expected Results: Get a system-config-soundcard window Additional info: