[issue5707] IDLE will not load

GUO, Chen report at bugs.python.org
Fri Nov 6 21:31:44 CET 2009


GUO, Chen <gcd0318 at hotmail.com> added the comment:

Modification to "customer key set" would make IDLE fail to start

To re-produce:
1, Start IDLE, and switch to Preference -> Keys;
2, Make modification to the key binding;
3, Click Apply, then click OK
4, repeat above steps.
The 2nd time to click OK would not get any response.
But this is not the nightmare. Now quit IDLE and restart IDLE. But IDLE 
cannot restart.

I believe that issue5707 is still exist in Ver. 3.1.1 for Mac OS X.

OS: Mac OS X 10.6.1
Python version: 3.1.1

The error message from console of Mac OS X is attached as following:
-------------------------------
Last login: Sat Nov  7 03:34:20 on ttys000
/Applications/Python\ 3.1/IDLE.app/Contents/MacOS/IDLE ; exit;
localhost:~ gcd$ /Applications/Python\ 3.1/IDLE.app/Contents/MacOS/IDLE 
; exit;
Traceback (most recent call last):
  File "/Applications/Python 
3.1/IDLE.app/Contents/Resources/idlemain.py", line 73, in <module>
    main()
  File 
"/Library/Frameworks/Python.framework/Versions/3.1/lib/python3.1/idlelib
/PyShell.py", line 1386, in main
    flist.new()
  File 
"/Library/Frameworks/Python.framework/Versions/3.1/lib/python3.1/idlelib
/FileList.py", line 49, in new
    return self.EditorWindow(self, filename)
  File 
"/Library/Frameworks/Python.framework/Versions/3.1/lib/python3.1/idlelib
/PyShell.py", line 107, in __init__
    EditorWindow.__init__(self, *args)
  File 
"/Library/Frameworks/Python.framework/Versions/3.1/lib/python3.1/idlelib
/EditorWindow.py", line 135, in __init__
    self.apply_bindings()
  File 
"/Library/Frameworks/Python.framework/Versions/3.1/lib/python3.1/idlelib
/EditorWindow.py", line 961, in apply_bindings
    text.event_add(event, *keylist)
  File 
"/Library/Frameworks/Python.framework/Versions/3.1/lib/python3.1/idlelib
/MultiCall.py", line 359, in event_add
    widget.event_add(self, virtual, seq)
  File 
"/Library/Frameworks/Python.framework/Versions/3.1/lib/python3.1/tkinter
/__init__.py", line 1353, in event_add
    self.tk.call(args)
_tkinter.TclError: bad event type or keysym "Control"
logout

----------
nosy: +gcd0318

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5707>
_______________________________________


More information about the Python-bugs-list mailing list