Component: redhat-config-network Version: 1.2.0 Summary: TB /usr/src/build/228093-i386/install/usr/lib/python2.2/sre.py:137:search:TypeError: expected string or buffer Traceback (most recent call last): File "/usr/sbin/redhat-config-network-gui", line 154, in ? window = mainDialog() File "/usr/src/build/226257-noarch/install/usr/share/redhat-config-network/netconfpkg/gui/maindialog.py", line 154, in __init__ File "/usr/src/build/226257-noarch/install/usr/share/redhat-config-network/netconfpkg/gui/maindialog.py", line 225, in load File "/usr/src/build/226257-noarch/install/usr/share/redhat-config-network/netconfpkg/gui/maindialog.py", line 232, in loadDevices File "/usr/src/build/226257-noarch/install/usr/share/redhat-config-network/netconfpkg/NCDeviceList.py", line 210, in getDeviceList File "/usr/src/build/226257-noarch/install/usr/share/redhat-config-network/netconfpkg/NCDeviceList.py", line 117, in load File "/usr/src/build/226257-noarch/install/usr/share/redhat-config-network/netconfpkg/plugins/NCDevWireless.py", line 34, in load File "/usr/src/build/226257-noarch/install/usr/share/redhat-config-network/netconfpkg/NCWireless.py", 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.
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