Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-09-2003, 11:22 PM   #1
Registered: Aug 2003
Posts: 64

Rep: Reputation: 15
Unhappy redhat-config-network error

I am getting this ugly error when I try to acces redhat-config-network. I am using wireless lan card on laptop. Card is working fine and internet is also working, but I am unable to access the configuration.

Gives the following error

Component: redhat-config-network
Version: 1.2.0
Summary: TB /usr/src/build/228093-i386/install/usr/lib/python2.2/ 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/", line 154, in __init__
File "/usr/src/build/226257-noarch/install/usr/share/redhat-config-network/netconfpkg/gui/", line 225, in load
File "/usr/src/build/226257-noarch/install/usr/share/redhat-config-network/netconfpkg/gui/", line 232, in loadDevices
File "/usr/src/build/226257-noarch/install/usr/share/redhat-config-network/netconfpkg/", line 210, in getDeviceList
File "/usr/src/build/226257-noarch/install/usr/share/redhat-config-network/netconfpkg/", line 117, in load
File "/usr/src/build/226257-noarch/install/usr/share/redhat-config-network/netconfpkg/plugins/", line 34, in load
File "/usr/src/build/226257-noarch/install/usr/share/redhat-config-network/netconfpkg/", line 52, in load
File "/usr/src/build/228093-i386/install/usr/lib/python2.2/", line 137, in search
return _compile(pattern, flags).search(string)
TypeError: expected string or buffer
Old 01-28-2004, 01:57 PM   #2
LQ Newbie
Registered: Jan 2004
Posts: 1

Rep: Reputation: 0
re: python2.2/ TypeError from neat

Hi dev8080
I had the same problem with a hand-edited ifcfg file i made for a wireless device. After digging around in the python scripts it seems that the hand-edited file /etc/sysconfig/network-scripts/ifcfg-ethX (X=1 in my case) gets automatically copied (by what??) to:
so any error in the first is in all three and redhat-network-config (or neat) reads all of them. In my case I deleted all three and the problem went away. Apparently redhat-network-config requires a 'return' character at the end of each line, even the last. That is "TYPE=Wireless" should be "TYPE=Wireless return". At least this is the only difference I could find between a file that worked and one that caused the error.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
redhat-config-network error, how to fix? tiger0516 Linux - Networking 1 08-17-2004 06:31 PM
cant get into redhat-network-config Digital_Err0r Linux - Networking 1 04-03-2004 07:35 AM
redhat-config-packages error (thinks it is redhat and not fedora) qwijibow Fedora 3 12-17-2003 08:59 PM
redhat-config-network error deth Linux - Networking 3 09-14-2003 10:05 AM
redhat-config-network error message Bruce Hill Linux - Networking 1 07-06-2003 08:59 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:31 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration