Bug 253464
| Summary: | Traceback when adding a fifth share in system-config-samba | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Stewart Adam <s.adam> |
| Component: | system-config-samba | Assignee: | Nils Philippsen <nphilipp> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | rawhide | CC: | thomas.canniot |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 1.2.52-1.fc7 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2007-09-18 03:24:18 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
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. |
Description of problem: It seems that no matter what the path or input is, when adding a fifth share an error occurs: Traceback (most recent call last): File "/usr/share/system-config-samba/shareWindow.py", line 436, in onOkButtonClicked 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): system-config-samba-1.2.47-1.fc8 How reproducible: Always Steps to Reproduce: 1. Add four shares 2. Try to add a fifth 3. Actual results: 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. Expected results: The entry adds itself to the configuration file Additional info: Running `testparm` shows that with the 4 sections it's a valid configuration file