A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
Linux / UNIX
Can't save network config after yum update
Joined: Mar 08, 2006
May 29, 2008 01:35:00
Fedora 8; I run a successful yum -y update command. So now I would like to change a few network configurations.
So I run /usr/bin/system-config-network and the dialog pops up.
I then do my changes here and
there but on clicking on "Save", I get a popup claiming that:
Component: system-config-network Version: 1.5.5 Summary: TB368e1d58 ConfPAP.py:105:getfields:BadFile: Error occured while parsin g //etc/ppp/pap-secrets Traceback (most recent call last): File "/usr/share/system-config-network/netconfpkg/gui/maindialog.py", line 831 , in on_applyButton_clicked self.save() File "/usr/share/system-config-network/netconfpkg/gui/maindialog.py", line 393 , in save self.saveDevices() File "/usr/share/system-config-network/netconfpkg/gui/maindialog.py", line 413 , in saveDevices devicelist.save() File "/usr/share/system-config-network/netconfpkg/NCDeviceList.py", line 214, in save papconf.delallitem([key, server]) File "/usr/share/system-config-network/netconfpkg/conf/ConfPAP.py", line 236, in delallitem var = self.getfields() File "/usr/share/system-config-network/netconfpkg/conf/ConfPAP.py", line 105, in getfields raise Conf.BadFile, "Error occured while parsing %s" % self.filename BadFile: Error occured while parsing //etc/ppp/pap-secrets Local variables in innermost frame: var:  regexp: <_sre.SRE_Pattern object at 0xa656c98> self: <netconfpkg.conf.ConfPAP.ConfPAP instance at 0xa37b6cc> m: None
Now I have no idea on what to do about that error. Any help will be appreciated.
Joined: Jun 25, 2001
May 29, 2008 05:53:00
I love Python stack traces. They make Java stack traces seem positively friendly.
The important message is that your /etc/ppp/pap-secrets file is either missing, invalid, or unreadable (possibly due to security issues).
Customer surveys are for companies who didn't pay proper attention to begin with.
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: Can't save network config after yum update
how to redirect from apache to tomcat..?
problem installing Mplayer
error starting up 2nd instance of tomcat
Deploying a Visual Web Pack Application from Netbeans 5.5.1 to Tomcat 5.5
OK I give up: ClassNotFound error for modelmbean
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014