[Pythonmac-SIG] IDLE broken: Where are the IDLE user-preferences?
Andreas Kahl
Andreas_Kahl at gmx.net
Mon Nov 21 13:42:08 CET 2005
Hello everybody,
can anyone please tell me where IDLE stores its user preferences?
I have the same problem as Brad R. described a year ago, but there was
no reply to that:
http://mail.python.org/pipermail/pythonmac-sig/2004-December/012321.html
I changed my Keybindings, too, and now I cannot launch IDLE any more.
The icon bounces several times and then disappears.
My Console says the following:
Traceback (most recent call last):
File
"/Applications/MacPython-2.4/IDLE.app/Contents/Resources/__argvemulator_idle",
line 4, in ?
execfile(os.path.join(os.path.split(__file__)[0], "idle"))
File "/Applications/MacPython-2.4/IDLE.app/Contents/Resources/idle",
line 5, in ?
main()
File
"/Applications/MacPython-2.4/IDLE.app/Contents/Resources/idlelib/PyShell.py",
line 1361, in main
if not flist.open_shell():
File
"/Applications/MacPython-2.4/IDLE.app/Contents/Resources/idlelib/PyShell.py",
line 275, in open_shell
self.pyshell = PyShell(self)
File
"/Applications/MacPython-2.4/IDLE.app/Contents/Resources/idlelib/PyShell.py",
line 793, in __init__
OutputWindow.__init__(self, flist, None, None)
File
"/Applications/MacPython-2.4/IDLE.app/Contents/Resources/idlelib/OutputWindow.py",
line 16, in __init__
EditorWindow.__init__(self, *args)
File
"/Applications/MacPython-2.4/IDLE.app/Contents/Resources/idlelib/EditorWindow.py",
line 108, in __init__
self.apply_bindings()
File
"/Applications/MacPython-2.4/IDLE.app/Contents/Resources/idlelib/EditorWindow.py",
line 778, in apply_bindings
text.event_add(event, *keylist)
File
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/lib-tk/Tkinter.py",
line 1299, in event_add
self.tk.call(args)
_tkinter.TclError: bad event type or keysym "tab"
I suppose I shouldn't have used the 'tab'-Key as a shortcut. Perhaps
you should deactivate that option in IDLE to prevent users from
crashing their IDLEs too.
Reinstalling does not help in any way. I hope, somebody can tell me
the name of the file, so I can fix this.
Thanks.
Andreas
P.S. My System-Info: PowerBook 15'', 1,67Ghz, MacOS Tiger 10.4.3,
MacPython 2.4.1
More information about the Pythonmac-SIG
mailing list