Bug 78743 - Command produces python errors on server installs
Command produces python errors on server installs
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: redhat-config-packages (Show other bugs)
9
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-11-28 09:57 EST by Mike Chambers
Modified: 2007-04-18 12:48 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-04-05 18:38:49 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Mike Chambers 2002-11-28 09:57:42 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 
1.0.3705)

Description of problem:
On server installs, command gives python errors, instead of telling user they 
aren't running X

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.Perform server install
2.Run redhat-config-packages
3.
	

Actual Results:  Traceback (most recent call last):
  File "/usr/share/redhat-config-packages/MainWindow.py", line 4, in ?
    import gtk
  File "/usr/src/build/162185-i386/install/usr/lib/python2.2/site-
packages/gtk/__init__.py", line 19, in ?
RuntimeError: could not open display

Expected Results:  Should tell user they aren't running X, or this command 
can't be performed on this type system.

Additional info:

CC'ing Brent Fox on all redhat-config package bugs as he is aware of the 
situation, and can be tracked until they find a solution.
Comment 1 Jeremy Katz 2002-12-31 02:41:10 EST
Will add some stuff to handle more nicely once we have some text installation
functionality or before the final GinGin release if the text functionality falls
through
Comment 2 Jeremy Katz 2003-02-09 20:53:05 EST
Handled more gracefully for 1.1.6
Comment 3 Mike Chambers 2003-02-09 21:50:08 EST
1.1.5 is still in rawhide.  Will 1.1.6 go into it tonight?
Comment 4 Jeremy Katz 2003-02-10 01:51:46 EST
Yes, I just built 1.1.6 this evening :)

Note You need to log in before you can comment on or make changes to this bug.