LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 09-09-2003, 11:22 PM   #1
dev8080
Member
 
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/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
 
Old 01-28-2004, 01:57 PM   #2
halfmanhalfbug
LQ Newbie
 
Registered: Jan 2004
Posts: 1

Rep: Reputation: 0
re: python2.2/sre.py 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:
/etc/sysconfig/networking/devices/ifcfg-ethX
/etc/sysconfig/profiles/default/ifcfg-ethX
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.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:15 AM.

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