Description of Problem: Apparently redhat-config-network doesn't handle accounts names with spaces. Version-Release number of selected component (if applicable): redhat-config-network-1.1.20-1 How Reproducible: Don't know; submitting this by proxy Traceback (most recent call last): File "/usr/sbin/neat", line 496, in on_applyButton_clicked self.save() File "/usr/sbin/neat", line 319, in save self.saveDevices() File "/usr/sbin/neat", line 326, in saveDevices devicelist.save() File "/usr/sbin/../share/redhat-config-network/netconfpkg/NCDeviceList.py", line 103, in save papconf = getPAPConf() File "/usr/sbin/../share/redhat-config-network/netconfpkg/NC_functions.py", line 101, in getPAPConf DVpapconf = ConfPAP.ConfPAP("/etc/ppp/pap-secrets") File "/usr/lib/python2.2/site-packages/rhpl/ConfPAP.py", line 30, in __init__ Conf.Conf.__init__(self, filename, '#', ' \t', ' \t') File "/usr/lib/python2.2/site-packages/rhpl/Conf.py", line 178, in __init__ self.read() File "/usr/lib/python2.2/site-packages/rhpl/ConfPAP.py", line 35, in read self.initvars() File "/usr/lib/python2.2/site-packages/rhpl/ConfPAP.py", line 72, in initvars var = self.getfields() File "/usr/lib/python2.2/site-packages/rhpl/ConfPAP.py", line 95, in getfields raise IndexError, 'end quote not found in '+self.filename+':'+var[0] IndexError: end quote not found in /etc/ppp/pap-secrets:OPTIM Local variables in innermost frame: var: ['OPTIM', '05', 'TRANSLEIS"', '*', '"286642904"'] quote: " self: <rhpl.ConfPAP.ConfPAP instance at 0x8564fc4> p: -6
Problem here is e.g. the " after TRANSLEIS 'TRANSLEIS"', '*', '"286642904"'
Well, the original would have been: "OPTIM 05 TRANSLEIS" The errant code is here (ConfPAP.py): var = Conf.Conf.getfields(self) if len(var[0]) and var[0][0] in '\'"': # found quote; strip from beginning and end quote = var[0][0] var[0] = var[0][1:] Obviously this assumes that there are no IFS chars in the quoted field. Should have used wordexp.. :-P
ah oh... code stolen from Conf.py :)
*** Bug 76934 has been marked as a duplicate of this bug. ***
new packages to test available at: ftp://people.redhat.com/harald/redhat-config-network/1.1.87-1/ ftp://people.redhat.com/harald/rhpl/0.74-2/
Closing due to inactivity. Reopen, if the problem is still existing.