Bugzilla will be upgraded to version 5.0 on December 2, 2018. The outage period for the upgrade will start at 0:00 UTC and have a duration of 12 hours
Bug 98234 - redhat-config-network crashes
redhat-config-network crashes
Product: Red Hat Linux
Classification: Retired
Component: redhat-config-network (Show other bugs)
i586 Linux
medium Severity medium
: ---
: ---
Assigned To: Harald Hoyer
Depends On:
  Show dependency treegraph
Reported: 2003-06-28 13:41 EDT by CharlesKrinke
Modified: 2007-04-18 12:55 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-06-28 20:58:42 EDT
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 CharlesKrinke 2003-06-28 13:41:48 EDT
Component: redhat-config-network
Version: 1.2.0
Summary: TB
expected string or buffer
Traceback (most recent call last):
  File "/usr/sbin/redhat-config-network-gui", line 154, in ?
    window = mainDialog()
line 154, in __init__
line 225, in load
line 232, in loadDevices
line 210, in getDeviceList
line 117, in load
line 34, in load
line 52, in load
  File "/usr/src/build/228093-i386/install/usr/lib/python2.2/sre.py", line 137,
in search
    return _compile(pattern, flags).search(string)
TypeError: expected string or buffer

Expected results:

Additional info:

Occurred when clicking on network settings on a computer whose
redhat-config-network had been working fine until upgraded from RH8 to RH9.
Comment 1 CharlesKrinke 2003-06-28 20:58:42 EDT
I spent a couple of hours and figured it out. It turns out that sre.py crashes
because of a null string for KEY. Adding KEY=" " (not KEY="") to ifcfg-eth1
causes the script to progress normally. In this particular case, RH8 had no
problem with a missing KEY, but RH9 must have KEY defined as a string with a
space in order to not crash. Hope to see it changed in RH10.

Charles Krinke

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