Bugzilla (bugzilla.redhat.com) will be under maintenance for infrastructure upgrades and will not be available on July 31st between 12:30 AM - 05:30 AM UTC. We appreciate your understanding and patience. You can follow status.redhat.com for details.
Bug 78743 - Command produces python errors on server installs
Summary: Command produces python errors on server installs
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: redhat-config-packages
Version: 9
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2002-11-28 14:57 UTC by Mike Chambers
Modified: 2007-04-18 16:48 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2005-04-05 22:38:49 UTC

Attachments (Terms of Use)

Description Mike Chambers 2002-11-28 14:57:42 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 

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:

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

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 07:41:10 UTC
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

Comment 2 Jeremy Katz 2003-02-10 01:53:05 UTC
Handled more gracefully for 1.1.6

Comment 3 Mike Chambers 2003-02-10 02:50:08 UTC
1.1.5 is still in rawhide.  Will 1.1.6 go into it tonight?

Comment 4 Jeremy Katz 2003-02-10 06:51:46 UTC
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.