[SOLVED] Unable to go to Network configuration Dialog box
Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I finished installing RH Ent Workstation 5 at work. Monday I got to work and needed to make a change in the DNS. I typed the system-config-network and the followingerror came up:
Component: system-config-network
Version: 1.3.99.12
Summary: TB0a0f70ae maindialog.py:602:hydrateProfiles:TypeError: sequence item not a string or unicode object
Traceback (most recent call last):
File "/usr/sbin/system-config-network-gui", line 167, in main
window = mainDialog()
File "/usr/share/system-config-network/netconfpkg/gui/maindialog.py", line 248, in __init__
self.hydrate()
File "/usr/share/system-config-network/netconfpkg/gui/maindialog.py", line 392, in hydrate
self.hydrateProfiles()
File "/usr/share/system-config-network/netconfpkg/gui/maindialog.py", line 602, in hydrateProfiles
hclist.append([host.IP, host.Hostname,
TypeError: sequence item not a string or unicode object
Local variables in innermost frame:
profilelist: ProfileList.default.ActiveDevices.1=eth0
ProfileList.default.HostsList.1.Comment= Do not remove the following line, or various programs
ProfileList.default.HostsList.1.IP=o;?
ProfileList.default.HostsList.2.Comment=# that require network functionality will fail.
ProfileList.default.HostsList.2.isComment=true
ProfileList.default.HostsList.3.Comment=
ProfileList.default.HostsList.3.IP=127.0.0.1
ProfileList.default.HostsList.3.Hostname=localhost.localdomain
ProfileList.default.HostsList.3.AliasList.1=localhost
ProfileList.default.HostsList.4.Comment=
ProfileList.default.HostsList.4.IP=::1
ProfileList.default.HostsList.4.Hostname=localhost6.localdomain6
ProfileList.default.HostsList.4.AliasList.1=localhost6
ProfileList.default.HostsList.5.Comment=
ProfileList.default.HostsList.5.IP=10.10.200.108
ProfileList.default.HostsList.5.Hostname=nhfepb
ProfileList.default.HostsList.6.Comment=
ProfileList.default.HostsList.6.IP=10.10.200.110
ProfileList.default.HostsList.6.Hostname=hhfepb
ProfileList.default.HostsList.7.Comment=
ProfileList.default.HostsList.7.IP=10.10.200.120
ProfileList.default.HostsList.7.Hostname=nhcpub
ProfileList.default.HostsList.8.Comment=
ProfileList.default.HostsList.8.isComment=true
ProfileList.default.HostsList.9.Comment=
ProfileList.default.HostsList.9.isComment=true
ProfileList.default.DNS.SecondaryDNS=71.250.0.12
ProfileList.default.DNS.SearchList.1=localdomain
ProfileList.default.DNS.Domainname=
ProfileList.default.DNS.Hostname=localhost.localdomain
ProfileList.default.DNS.TertiaryDNS=
ProfileList.default.DNS.PrimaryDNS=68.237.161.12
ProfileList.default.Active=true
ProfileList.default.ProfileName=default
name: Common
hclist: <gtk.CList object (GtkCList) at 0x2b09bc6cfdc0>
self: <netconfpkg.gui.maindialog.mainDialog instance at 0x2b09bc6bed88>
host: Host.Comment= Do not remove the following line, or various programs
Host.IP=o;?
prof: Profile.ActiveDevices.1=eth0
Profile.HostsList.1.Comment= Do not remove the following line, or various programs
Profile.HostsList.1.IP=o;?
Profile.HostsList.2.Comment=# that require network functionality will fail.
Profile.HostsList.2.isComment=true
Profile.HostsList.3.Comment=
Profile.HostsList.3.IP=127.0.0.1
Profile.HostsList.3.Hostname=localhost.localdomain
Profile.HostsList.3.AliasList.1=localhost
Profile.HostsList.4.Comment=
Profile.HostsList.4.IP=::1
Profile.HostsList.4.Hostname=localhost6.localdomain6
Profile.HostsList.4.AliasList.1=localhost6
Profile.HostsList.5.Comment=
Profile.HostsList.5.IP=10.10.200.108
Profile.HostsList.5.Hostname=nhfepb
Profile.HostsList.6.Comment=
Profile.HostsList.6.IP=10.10.200.110
Profile.HostsList.6.Hostname=hhfepb
Profile.HostsList.7.Comment=
Profile.HostsList.7.IP=10.10.200.120
Profile.HostsList.7.Hostname=nhcpub
Profile.HostsList.8.Comment=
Profile.HostsList.8.isComment=true
Profile.HostsList.9.Comment=
Profile.HostsList.9.isComment=true
Profile.DNS.SecondaryDNS=71.250.0.12
Profile.DNS.SearchList.1=localdomain
Profile.DNS.Domainname=
Profile.DNS.Hostname=localhost.localdomain
Profile.DNS.TertiaryDNS=
Profile.DNS.PrimaryDNS=68.237.161.12
Profile.Active=true
Profile.ProfileName=default
row: 0
I WOULD LIKE TO KNOW IF I CAN RESOLVE IT WITH REINSTALLING RH. PLEASE HELP I AM NEW with LINUX.
That Knowledge base article kbp posted says you have syntax error(s) in your /etc/hosts file. Either fix it your self, or post it here so we can help you.
You are posting from Windows, did you by any chance edit and/or prepare that file/text in windows? End of lines could be problem, there is a difference between Windows and Linux text editors.
I have been using OpenOffice (Wordprocessor) to edit the hosts, that is probably where the problem came from. Now I am wondering if I have to open the Linux editor to recreate the file. Thank you for your info. let me know what should I do next.
Use Applications -> Accessories -> Text editor to retype it from scratch. That should be the best if you have not created a backup of the file. As a rule, any wise man will create a backup of anything he tries to change. Then it is easy te return the things to the way they were.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.