A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide 1Z0-808
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
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.
It is sorta covered in the
JavaRanch Style Guide
subject: Can't save network config after yum update
how to redirect from apache to tomcat..?
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
problem installing Mplayer
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015