Bug 64080 - hwbrowser crashes with a KeyError
Summary: hwbrowser crashes with a KeyError
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: hwbrowser
Version: 7.2
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jonathan Blandford
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-04-25 10:42 UTC by mark.leppink
Modified: 2013-04-02 04:16 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-04-25 10:42:39 UTC
Embargoed:


Attachments (Terms of Use)

Description mark.leppink 2002-04-25 10:42:34 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2.1) Gecko/20010901

Description of problem:
[root@myname root]# hwbrowser
Traceback (innermost last):
  File "/usr/share/hwbrowser/DeviceList.py", line 158, in ?
    setup_ui ()
  File "/usr/share/hwbrowser/DeviceList.py", line 151, in setup_ui
    DeviceDisk.initialize (xml, hardware)
  File "/usr/share/hwbrowser/DeviceDisk.py", line 397, in initialize
    for device in hardware [kudzu.CLASS_HD]:
  File "/usr/lib/python1.5/UserDict.py", line 14, in __getitem__
    def __getitem__(self, key): return self.data[key]
KeyError: 12

It does give the popup that this may take a while, and right
after tries to display a window, but this window is closed before
it's possible to see what this window is.It's then that I get the
error message.


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

How reproducible:
Always

Steps to Reproduce:
1.type 'hwbrowser'
2.
3.
	

Additional info:

This is on a Compaq Proliant 800, with an out-of-the-box
RedHat 7.2 system installed.
Machine has 1 CompaqArray controller with mirroring activated.
Noticed the bug when I tried to find why the system won't see
my external SCSI tape-drive, which is connected to one of the
2 on-board SCSI-ports (sym53c875).


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