From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.7.8) Gecko/20050513 Fedora/1.7.8-2 Description of problem: system-config-bind is pretty much useless, since one cannot save all the neat things one does with it. Upon save, an "Are you sure" type message box pops up, where, when you answer "Yes", the program produces the following in the terminal: Traceback (most recent call last): File "/usr/share/system-config-bind/ErrorDialog.py", line 95, in on_exit self.callback(response,self.parms) File "/usr/share/system-config-bind/ZoneTree.py", line 463, in answer if s.bind.save() and s.bind.named_is_running(): File "/usr/share/system-config-bind/BIND.py", line 239, in save s.zones[z]['zone'].save() File "/usr/share/system-config-bind/Zone.py", line 296, in save os.write(fd, self.out()) File "/usr/share/system-config-bind/Zone.py", line 271, in out while ( begin <= end ) and (self.contents[begin] != '\n'): IndexError: string index out of range The Yes/No dialog remains on the screen. Version-Release number of selected component (if applicable): system-config-bind-4.0.0-16_FC4 How reproducible: Always Steps to Reproduce: 1. Install system-config-bind 2. Set up your domain 3. Attempt to save your changes. Actual Results: Python produced a trace in the terminal and did not save my changes. Expected Results: My changes should have been saved. Additional info:
*** Bug 163305 has been marked as a duplicate of this bug. ***
Note to self: Never click "Refresh" on post_bug.cgi. Sorry !
Please can you tell me what changes you made when this occurred ? I've not been able to make s-c-b do this so far. It would also be most helpful if you would send me your configuration files - do: # . /etc/sysconfig/named; \ tar -cpf /tmp/named.conf.tar ${ROOTDIR}/{etc/{named.conf,rndc*},var/named} and append /tmp/named.conf.tar to this bug or send it to jvdias . Thank you!
The configuration is unchanged from a fresh rpm install, since I was unable to commit any changes made in s-c-b. Here's what I tried: Make a new master zone - Add an MX - Add a few A records
Created attachment 116791 [details] Requested config tar
I was able to use the tool, but only in a really paranoid fashion. I basically added one record (including the zone itself) and saved. I did not remove a single time.
This bug is now fixed with system-config-bind-4.0.0-18, soon to be in FC updates, but which meanwhile can be downloaded from: http://people.redhat.com/~jvdias/system-config-bind Please try out this version and let me know of any issues - thanks.
Yes. Now, when I click "New" on the toolbar while my zone is hilighted, instead of a popup with all the different kinds of records I can add, I get: Traceback (most recent call last): File "/usr/share/system-config-bind/ZoneTree.py", line 695, in NewClicked s.addMenu = AddMenu(s, sel, s.tree) File "/usr/share/system-config-bind/ZoneTree.py", line 252, in __init__ if not s.zone.type in rr.types: AttributeError: class NULL has no attribute 'types'
This bug is now fixed with system-config-bind-4.0.0-19, soon to be in FC updates, but which meanwhile can be downloaded from: http://people.redhat.com/~jvdias/system-config-bind Please try out this version and let me know of any issues - thanks.
Thanks for the bug report. This particular bug was fixed and a update package was published for download. Please feel free to report any further bugs you find.