Red Hat Bugzilla – Bug 163305
Save causes traceback
Last modified: 2007-11-30 17:11:10 EST
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
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
File "/usr/share/system-config-bind/Zone.py", line 296, in save
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):
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.
*** This bug has been marked as a duplicate of 163304 ***