Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > IDLE doesn't save preferences

Reply
Thread Tools

IDLE doesn't save preferences

 
 
Kevin Walzer
Guest
Posts: n/a
 
      05-20-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
 
Reply With Quote
 
 
 
 
Kevin Walzer
Guest
Posts: n/a
 
      05-21-2009
Kevin Walzer wrote:
> 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


--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Google will not save Language preferences: Newsgroups lbbss Computer Support 1 07-12-2004 07:14 PM
All items disappear in Preferences and the window itself appears only once Mandrake Firefox 5 04-29-2004 07:34 PM
IDLE on Windows; save files as UNIX? Jay O'Connor Python 3 03-01-2004 06:50 AM
IE Preferences won't save entered information. dancing bear Computer Support 0 01-05-2004 08:02 PM
Printing preferences in Mozilla - can they be set per page? jeff@dnuk.com Firefox 0 12-17-2003 05:59 PM



Advertisments