Bug 81743 - neat crashes when attempting to add a new device
neat crashes when attempting to add a new device
Status: CLOSED CURRENTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: redhat-config-network (Show other bugs)
7.3
i586 Linux
medium Severity medium
: ---
: ---
Assigned To: Harald Hoyer
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-01-13 12:38 EST by Peter Fales
Modified: 2007-04-18 12:49 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-06-04 05:49:11 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Peter Fales 2003-01-13 12:38:28 EST
Description of problem:

After doing a fresh install of RH 7.3, we used "neat" to add a new device. 
Selecting the "Devices" tab and clicking "Add" gives:


Please visit http://bugzilla.redhat.com/bugzilla/ !
File a bug against component redhat-config-network. Thank you!

Traceback (innermost last):
  File "/usr/sbin/neat", line 1402, in ?
    gtk.mainloop()
  File "/usr/lib/python1.5/site-packages/gtk.py", line 2676, in mainloop
    _gtk.gtk_main()
  File "/usr/lib/python1.5/site-packages/libglade.py", line 28, in __call__
    ret = apply(self.func, a)
  File "/usr/sbin/neat", line 473, in on_deviceAddButton_clicked
    interface = NewInterfaceDialog()
  File
"/usr/sbin/../share/redhat-config-network/netconfpkg/gui/NewInterfaceDialog.py",
line 82, in __init__
    iface = iface_creator (self.toplevel, do_save = None, druid = self.druid)
  File
"/usr/sbin/../share/redhat-config-network/netconfpkg/gui/EthernetInterface.py",
line 101, in __init__
    self.hwDruid = ethernetHardware(self.toplevel)
  File
"/usr/sbin/../share/redhat-config-network/netconfpkg/gui/EthernetHardwareDruid.py",
line 64, in __init__
    self.setup()
  File
"/usr/sbin/../share/redhat-config-network/netconfpkg/gui/EthernetHardwareDruid.py",
line 118, in setup
    list.append(modInfo[i]['description'])
KeyError: description

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


How reproducible:

very

Steps to Reproduce:
1.  Start "neat"
2.  Select "Devices" tab
3.  Click "Add"


    
Actual results:

Python error



Expected results:


Additional info:
Comment 1 Peter Fales 2003-01-13 12:40:08 EST
We get a similar error if the "Hardware" -> "Add" is selected.
Comment 2 Peter Fales 2003-01-13 18:04:29 EST
One more data point:  Our standard install procedure is to install all the
packages from the CD, then apply all the appropriate RPMs from the "updates"
directory - that's what I was referrring to when I said that this is a freshly
installed 7.3 system.  I've verified that this problems occurrs on two different
installations (a laptop and a desktop), but it *doesn't* happen if I only
install the packages on the CD.  I'll try to track down which package update is 
causing the problem
Comment 3 Kyle Powell 2003-01-14 06:59:25 EST
This seems to be related to the kernel-2.4.18-19.7.x, even if it's not the
currently running kernel. To duplicate, install redhat 7.3, up2date everything
except the kernel. Verify that neat still functions when selecting Devices tab
and clicking Add. Up2date kernel to 2.4.18-19.7.x. Run neat again and duplicate
the error (no need to boot the updated kernel, it will still break while running
the old kernel). rpm -e kernel-2.4.18-19.7.x and neat will again function correctly.
Comment 4 Peter Fales 2003-01-14 09:58:32 EST
Yes, I was able to do exactly that.  Do you expect a fix?  Or, is the only
workaround to stick with the original kernel from the CD distribution?
Comment 5 Lynn Kerby 2003-01-14 16:53:54 EST
FYI - users are seeing this too :^O.

This config stuff is really, really fragile.  I just did a fresh 7.3 install
from CDs (had to make new ones from iso downloads 'cause my boxed set cds
wouldn't work on this machine), configured my first network card (mostly by
hand/tweaked with neat).  All was well until I ran up2date and installed
all the available updates (ignoring the fact that the up2date installer is
brain dead about disk space for the moment).  Now anytime I attempt to touch
any ethernet related configuration component in neat I get crashes.

Here is just one sample:
Traceback (innermost last):
  File "/usr/sbin/neat", line 1402, in ?
    gtk.mainloop()
  File "/usr/lib/python1.5/site-packages/gtk.py", line 2676, in mainloop
    _gtk.gtk_main()
  File "/usr/lib/python1.5/site-packages/libglade.py", line 28, in __call__
    ret = apply(self.func, a)
  File "/usr/sbin/neat", line 1248, in on_hardwareEditButton_clicked
    self.showHardwareDialog(type, true)
  File "/usr/sbin/neat", line 1269, in showHardwareDialog
    dialog = ethernetHardwareDialog(hw)
  File
"/usr/sbin/../share/redhat-config-network/netconfpkg/gui/ethernethardware.py",
line 75, in __init__
    self.setup()
  File
"/usr/sbin/../share/redhat-config-network/netconfpkg/gui/ethernethardware.py",
line 135, in setup
    list.append(modInfo[i]['description'])
KeyError: description

Local variables in innermost frame:
modInfo: <netconfpkg.Conf.ConfModInfo instance at 84cace8>
Comment 6 Harald Hoyer 2003-01-15 06:15:20 EST
solution is, upgrade to:
ftp://people.redhat.com/pub/harald/redhat-config-network/1.0.3-1
until the errata update is through QA
Comment 7 Harald Hoyer 2004-06-04 05:49:11 EDT
Closing due to inactivity. Reopen, if the problem is still existing.

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