Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 78741

Summary: Command gives python errors
Product: [Retired] Red Hat Linux Reporter: Mike Chambers <mike>
Component: redhat-config-networkAssignee: Harald Hoyer <harald>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 9CC: bfox
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-08-11 14:08:12 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: 81720    

Description Mike Chambers 2002-11-28 14:33:07 UTC
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, the command gives python errors, instead of telling user 
they can't use this command on server systems not running x.

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


How reproducible:
Always

Steps to Reproduce:
1.Perform Server install
2.Run redhat-config-network as user or root
3.
	

Actual Results:  Copying ifcfg-eth0 to devices and putting it into the default 
profile.
Copying /etc/hosts to default profile.
Copying /etc/resolv.conf to default profile.
Traceback (most recent call last):
  File "/usr/sbin/neat", line 100, in ?
    from netconfpkg.gui import *
  File "/usr/sbin/../share/redhat-config-network/netconfpkg/gui/__init__.py", 
line 30, in ?
    exec cmd
  File "<string>", line 1, in ?
  File "/usr/sbin/../share/redhat-config-
network/netconfpkg/gui/ADSLInterface.py", line 20, in ?
    from netconfpkg.gui.GUI_functions import *
  File "/usr/sbin/../share/redhat-config-
network/netconfpkg/gui/GUI_functions.py", line 2, in ?
    import gtk
  File "/usr/share/redhat-config-network/netconfpkg/__init__.py", line 19, in ?
    
RuntimeError: could not open display

Expected Results:  Should give user message that their system isn't setup to 
run this command, or something along those lines

Additional info:

CC'ing Brent Fox as he is aware and wanted bugs filed against each individual 
packages to help track them while they come up with a solution.

Comment 1 Harald Hoyer 2002-12-04 11:17:48 UTC
ok, caught exception... thx

Comment 2 Harald Hoyer 2003-01-13 13:41:11 UTC
fixed in version >= 1.1.87

Comment 3 Harald Hoyer 2003-01-13 15:17:49 UTC
new packages to test available at:
ftp://people.redhat.com/harald/redhat-config-network/1.1.87-1/
ftp://people.redhat.com/harald/rhpl/0.74-2/

Comment 4 Harald Hoyer 2003-08-11 14:08:12 UTC
An errata has been issued which should help the problem described in this bug report. 
This report is therefore being closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files, please follow the link below. You may reopen 
this bug report if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2003-183.html