Bug 63583

Summary: bindconf generates python tracebacks on apply and write
Product: [Retired] Red Hat Linux Reporter: David Lawrence <dkl>
Component: 4SuiteAssignee: Trond Eivind Glomsrxd <teg>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3CC: harald
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-04-17 08:07:55 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:
Bug Depends On:    
Bug Blocks: 61590    

Description David Lawrence 2002-04-15 21:22:26 UTC
Description of Problem: 
When clicking on Apply in the File menu, a python traceback is sent to the 
console even if no changes have been made. 
 
Traceback (innermost last): 
  File "/usr/lib/python1.5/site-packages/libglade.py", line 28, in __call__ 
    ret = apply(self.func, a) 
  File "/usr/sbin/bindconf-gui", line 158, in on_apply_and_save_activate 
    on_apply_activate() 
  File "/usr/sbin/bindconf-gui", line 152, in on_apply_activate 
    cfg.saveBind() 
  File "/usr/share/bindconf/dnsdata.py", line 536, in saveBind 
    self.zone_box.write(self.ctx) 
AttributeError: 'None' object has no attribute 'write' 
 
When clicking Exit from the File menu and choosing OK to save changes the 
following traceback is generate to the console. 
 
Traceback (innermost last): 
  File "/usr/lib/python1.5/site-packages/libglade.py", line 28, in __call__ 
    ret = apply(self.func, a) 
  File "/usr/sbin/bindconf-gui", line 192, in on_exit_activate 
    on_apply_and_save_activate() 
  File "/usr/sbin/bindconf-gui", line 158, in on_apply_and_save_activate 
    on_apply_activate() 
  File "/usr/sbin/bindconf-gui", line 152, in on_apply_activate 
    cfg.saveBind() 
  File "/usr/share/bindconf/dnsdata.py", line 536, in saveBind 
    self.zone_box.write(self.ctx) 
AttributeError: 'None' object has no attribute 'write' 
 
Version-Release number of selected component (if applicable): 
bindconf-1.6.2-1

Comment 1 Harald Hoyer 2002-04-17 08:07:03 UTC
File "/usr/lib/python1.5/site-packages/xml/xslt/__init__.py", line 18, in ? 
    from distutils import version 
ImportError: No module named distutils 


Comment 2 Trond Eivind Glomsrxd 2002-04-17 14:17:42 UTC
Fixed in  4Suite-0.11.1-8