IDLE doesn't save preferences

K

Kevin Walzer

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?
 
K

Kevin Walzer

Kevin said:
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?

Found a fix here:

http://bugs.python.org/issue5232

& uploaded patch here:

http://bugs.python.org/issue6075
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top