Bug 114660

Summary: Conf.py:593:__delitem__:KeyError: switch/hubTraceback (most recent call last):
Product: Red Hat Enterprise Linux 3 Reporter: Giri Raju <girir>
Component: redhat-config-networkAssignee: Harald Hoyer <harald>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0CC: girir
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: 2006-02-21 19:01:00 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:

Description Giri Raju 2004-01-30 20:04:33 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030922

Description of problem:
Component: redhat-config-network
Version: 1.2.59
Summary: TB523bdfc2 Conf.py:593:__delitem__:KeyError: switch/hub
Traceback (most recent call last):
  File
"/usr/src/build/328505-noarch/install/usr/share/redhat-config-network/netconfpkg/gui/maindialog.py",
line 747, in on_applyButton_clicked
  File
"/usr/src/build/328505-noarch/install/usr/share/redhat-config-network/netconfpkg/gui/maindialog.py",
line 341, in save
  File
"/usr/src/build/328505-noarch/install/usr/share/redhat-config-network/netconfpkg/gui/maindialog.py",
line 373, in saveProfiles
  File
"/usr/src/build/328505-noarch/install/usr/share/redhat-config-network/netconfpkg/NCProfileList.py",
line 362, in save
  File "/usr/lib/python2.2/site-packages/rhpl/Conf.py", line 593, in
__delitem__
    del self.vars[varname]
KeyError: switch/hub

Local variables in innermost frame:
varname: switch/hub
self: <rhpl.Conf.ConfFHosts instance at 0x881811c>


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


How reproducible:
Always

Steps to Reproduce:
1.try to save at new work config.
2.
3.
    

Additional info:

Comment 1 Harald Hoyer 2004-02-02 08:34:03 UTC
please attach your /etc/hosts

*** This bug has been marked as a duplicate of 108918 ***

Comment 2 Giri Raju 2004-02-02 16:39:36 UTC
here is /etc/hosts :

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1		TRINETRA localhost.localdomain localhost

Comment 3 Giri Raju 2004-02-02 16:41:01 UTC
Hi Harald

Ps. Advise me how do i resolve this issue, i am also not able to 
access internet from my linux box which i used to do till friday, 
some thing freeky going on my box.

Comment 4 Harald Hoyer 2004-02-03 13:32:28 UTC
ah... do not name your profile with a slash "/" :)
and
rm -fr /etc/sysconfig/networking/profiles/[^d]*


Comment 5 Red Hat Bugzilla 2006-02-21 19:01:00 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.