Bug 78741 - Command gives python errors
Command gives python errors
Status: CLOSED ERRATA
Product: Red Hat Linux
Classification: Retired
Component: redhat-config-network (Show other bugs)
9
All Linux
medium Severity medium
: ---
: ---
Assigned To: Harald Hoyer
:
Depends On:
Blocks: 81720
  Show dependency treegraph
 
Reported: 2002-11-28 09:33 EST by Mike Chambers
Modified: 2008-05-01 11:38 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-08-11 10:08:12 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:33:07 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, 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 06:17:48 EST
ok, caught exception... thx
Comment 2 Harald Hoyer 2003-01-13 08:41:11 EST
fixed in version >= 1.1.87
Comment 3 Harald Hoyer 2003-01-13 10:17:49 EST
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 10:08:12 EDT
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

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