Bug 802100

Summary: TBf6c835f4 NCHardwareList.py:482:save:AttributeError: HwWireless instance has no attribute 'type'
Product: Red Hat Enterprise Linux 5 Reporter: izotov <izotov>
Component: system-config-networkAssignee: Harald Hoyer <harald>
Status: CLOSED DUPLICATE QA Contact: qe-baseos-daemons
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.9CC: lmiksik, psklenar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-31 14:10:47 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: 1049888    
Attachments:
Description Flags
problem with saving parameters of system-config-network none

Description izotov 2012-03-11 08:43:02 UTC
When I try to save system-config-network, it does not work and generates an attached bug.

Comment 1 izotov 2012-03-11 08:44:36 UTC
Created attachment 569166 [details]
problem with saving parameters of system-config-network

Comment 2 Harald Hoyer 2014-01-31 14:10:47 UTC
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 781, in on_applyButton_clicked
    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.eth1.Status=system
HardwareList.Wireless.eth1.Name=eth1
HardwareList.Wireless.eth1.Type=Wireless
HardwareList.Wireless.eth1.Card.ModuleName=bcm43xx
HardwareList.Wireless.eth1.Description=Broadcom Corporation BCM4311 802.11b/g WLAN
HardwareList.Ethernet.eth0.Status=system
HardwareList.Ethernet.eth0.Name=eth0
HardwareList.Ethernet.eth0.Type=Ethernet
HardwareList.Ethernet.eth0.Card.ModuleName=tg3
HardwareList.Ethernet.eth0.Description=Broadcom Corporation NetXtreme BCM5755M Gigabit Ethernet PCI Express

modules: <netconfpkg.NCHardwareList.MyConfModules instance at 0x9e2b02c>
hw: Hardware.Status=system
Hardware.Name=eth1
Hardware.Type=Wireless
Hardware.Card.ModuleName=bcm43xx
Hardware.Description=Broadcom Corporation BCM4311 802.11b/g WLAN

wvdial: <rhpl.ConfSMB.ConfSMB instance at 0x9e2b52c>
type: Ethernet
isdn: <netconfpkg.NCisdnhardware.ConfISDN instance at 0x9e2b2cc>
mod: eth0

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