Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 81626 - NCHardwareFactory.py:42:getHardwareClass:KeyError: Wireless
NCHardwareFactory.py:42:getHardwareClass:KeyError: Wireless
Status: CLOSED DUPLICATE of bug 80935
Product: Red Hat Linux
Classification: Retired
Component: redhat-config-network (Show other bugs)
i386 Linux
medium Severity high
: ---
: ---
Assigned To: Harald Hoyer
Depends On:
  Show dependency treegraph
Reported: 2003-01-11 10:10 EST by Edmund Lam
Modified: 2007-04-18 12:49 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-02-21 13:51:07 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Edmund Lam 2003-01-11 10:10:32 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2b) Gecko/20021022

Description of problem:
redhat-config-network crashes on startup and is completely unusable. Possibly
due to me running on a Toshiba Satellite 3000 laptop with builtin wireless card.
See additional information for capture of the error message

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

How reproducible:

Steps to Reproduce:
1. Run redhat-config-network

Actual Results:  program does not start due to a Python exception.

Expected Results:  Program should start and be usable.

Additional info:

Component: redhat-config-network
Version: 1.1.86
Summary: TB
KeyError: Wireless

Traceback (most recent call last):
  File "/usr/sbin/neat", line 98, in ?
    window = mainDialog()
  File "/usr/sbin/../share/redhat-config-network/netconfpkg/gui/maindialog.py",
line 154, in __init__
  File "/usr/sbin/../share/redhat-config-network/netconfpkg/gui/maindialog.py",
line 227, in load
  File "/usr/sbin/../share/redhat-config-network/netconfpkg/gui/maindialog.py",
line 238, in loadHardware
    hardwarelist = getHardwareList()
  File "/usr/sbin/../share/redhat-config-network/netconfpkg/NCHardwareList.py",
line 389, in getHardwareList
  File "/usr/sbin/../share/redhat-config-network/netconfpkg/NCHardwareList.py",
line 220, in load
  File "/usr/sbin/../share/redhat-config-network/netconfpkg/NCHardwareList.py",
line 167, in updateFromSystem
    i = self.addHardware(getDeviceType(device))
  File "/usr/sbin/../share/redhat-config-network/netconfpkg/NCHardwareList.py",
line 134, in addHardware
    hwc = hwf.getHardwareClass(type)
"/usr/sbin/../share/redhat-config-network/netconfpkg/NCHardwareFactory.py", line
42, in getHardwareClass
    return self[type][0]
KeyError: Wireless

Local variables in innermost frame:
subtype: None
self: {'Ethernet': {0: <class netconfpkg.NCHWEthernet.HwEthernet at 0x8414104>},
'Modem': {0: <class netconfpkg.NCHWModem.HwModem at 0x81d99dc>}, 'ISDN': {0:
<class netconfpkg.NCHWIsdn.HwIsdn at 0x81dd7c4>}, 'Token Ring': {0: <class
netconfpkg.NCHWTokenring.HwTokenring at 0x83e6bd4>}}
type: Wireless
Comment 1 Harald Hoyer 2003-01-13 06:06:51 EST

*** This bug has been marked as a duplicate of 80935 ***
Comment 2 Red Hat Bugzilla 2006-02-21 13:51:07 EST
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.

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