Red Hat Bugzilla – Bug 253464
Traceback when adding a fifth share in system-config-samba
Last modified: 2007-11-30 17:12:13 EST
Description of problem:
It seems that no matter what the path or input is, when adding a fifth share an
Traceback (most recent call last):
File "/usr/share/system-config-samba/shareWindow.py", line 436, in
token = self.samba_data.createToken("", last_section)
File "/usr/share/system-config-samba/sambaParser.py", line 228, in createToken
if line[-1] == '\n':
IndexError: string index out of range
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Add four shares
2. Try to add a fifth
The traceback above is shown in the terminal and the new entry appears on the
gtk.Treeview, although the 'New' dialog does not close and upon restarting
system-config-samba, the new entry is nowhere to be found.
The entry adds itself to the configuration file
Running `testparm` shows that with the 4 sections it's a valid configuration file
I've fixed this in the upstream repository.
This should be fixed in system-config-samba-1.2.48 which is being built right
now for Rawhide.
*** Bug 256961 has been marked as a duplicate of this bug. ***
system-config-samba-1.2.50-1.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report.
system-config-samba-1.2.51-1.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report.
system-config-samba-1.2.52-1.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.