IDLE doesn't save preferences

Kevin Walzer kw at codebykevin.com
Thu May 21 01:28:31 CEST 2009


I'm using IDLE on Mac OS X 10.5.7 (Python 2.6.2) and I'm getting  a 
strange error when I try to save preferences from the configuration dialog:

Exception in Tkinter callback
Traceback (most recent call last):
   File 
"/Library/Frameworks/Python64.framework/Versions/2.6/lib/python2.6/lib-tk/Tkinter.py", 
line 1410, in __call__
return self.func(*args)
   File 
"/Library/Frameworks/Python64.framework/Versions/2.6/lib/python2.6/idlelib/configDialog.py", 
line 1146, in Apply
   self.DeactivateCurrentConfig()
File 
"/Library/Frameworks/Python64.framework/Versions/2.6/lib/python2.6/idlelib/configDialog.py", 
line 1124, in DeactivateCurrentConfig
     winInstances=self.parent.instance_dict.keys()
    File 
"/Library/Frameworks/Python64.framework/Versions/2.6/lib/python2.6/lib-tk/Tkinter.py", 
line 1722, in __getattr__
File 
"/Library/Frameworks/Python64.framework/Versions/2.6/lib/python2.6/lib-tk/Tkinter.py", 
line 1722, in __getattr__
    return getattr(self.tk, attr)
AttributeError: instance_dict

IDLE just hangs and won't save/update my preferences.

Any ideas?
-- 
Kevin Walzer
Code by Kevin
http://www.codebykevin.com



More information about the Python-list mailing list