Created attachment 738615 [details] network config bug dump file ... from RHEL 5 Description of problem: Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Component: system-config-network Version: 1.3.99.21 Summary: TBf6c835f4 NCHardwareList.py:482:save:AttributeError: HwWireless instance has no attribute 'type' Traceback (most recent call last): File "/usr/share/system-config-network/netconfpkg/gui/maindialog.py", line 696, in on_Dialog_delete_event self.save() File "/usr/share/system-config-network/netconfpkg/gui/maindialog.py", line 370, in save self.saveHardware() File "/usr/share/system-config-network/netconfpkg/gui/maindialog.py", line 398, in saveHardware hardwarelist.save() File "/usr/share/system-config-network/netconfpkg/NCHardwareList.py", line 482, in save if (hw.Type == ETHERNET or \ AttributeError: HwWireless instance has no attribute 'type' Local variables in innermost frame: self: HardwareList.Wireless.wlan0.Status=system HardwareList.Wireless.wlan0.Name=wlan0 HardwareList.Wireless.wlan0.Type=Wireless HardwareList.Wireless.wlan0.Card.ModuleName=rt61pci HardwareList.Wireless.wlan0.Description=Ralink corp. RT2561/RT61 rev B 802.11g HardwareList.Ethernet.eth0.Status=system HardwareList.Ethernet.eth0.Name=eth0 HardwareList.Ethernet.eth0.Type=Ethernet HardwareList.Ethernet.eth0.Card.ModuleName=forcedeth HardwareList.Ethernet.eth0.Description=NVIDIA Corporation MCP51 Ethernet Controller modules: <netconfpkg.NCHardwareList.MyConfModules instance at 0x95aab4c> hw: Hardware.Status=system Hardware.Name=wlan0 Hardware.Type=Wireless Hardware.Card.ModuleName=rt61pci Hardware.Description=Ralink corp. RT2561/RT61 rev B 802.11g wvdial: <rhpl.ConfSMB.ConfSMB instance at 0x97c118c> type: Ethernet isdn: <netconfpkg.NCisdnhardware.ConfISDN instance at 0x97c104c> mod: eth0
*** Bug 803175 has been marked as a duplicate of this bug. ***
*** Bug 842423 has been marked as a duplicate of this bug. ***
*** Bug 802100 has been marked as a duplicate of this bug. ***
Proposed fix for this typo. diff --git a/src/netconfpkg/NCHardwareList.py b/src/netconfpkg/NCHardwareList.py index 2f44162..8e3c42b 100644 --- a/src/netconfpkg/NCHardwareList.py +++ b/src/netconfpkg/NCHardwareList.py @@ -482,7 +482,7 @@ class HardwareList(HardwareList_base): if (hw.Type == ETHERNET or \ hw.Type == TOKENRING or \ hw.Type == QETH or \ - hw.type == LCS) and \ + hw.Type == LCS) and \ hw.Name == mod: break else:
I have not suitable HW. But: /usr/share/system-config-network/netconfpkg/NCHardwareList.py from line 482: if (hw.Type == ETHERNET or \ hw.Type == TOKENRING or \ hw.Type == QETH or \ hw.Type == LCS) and \ hw.Name == mod: break I can see upper case 'T' in 'Type' so it is fixed. Testing with: system-config-network-tui-1.3.99.22-1.el5
*** Bug 1118594 has been marked as a duplicate of this bug. ***
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2014-1195.html