Issue 24170: IDLE crashes when I press ^ caret key (original) (raw)
Issue24170
Created on 2015-05-12 19:05 by magnus.forsberg, last changed 2022-04-11 14:58 by admin. This issue is now closed.
Messages (8) | ||
---|---|---|
msg242990 - (view) | Author: (magnus.forsberg) | Date: 2015-05-12 19:05 |
Every time I press the ^ key, IDLE crashes. I've tried this with two different keyboards with the same result. I use IDLE 3.4.3 with Mac OS X 10.10.3. | ||
msg242997 - (view) | Author: Ned Deily (ned.deily) * ![]() |
Date: 2015-05-12 19:22 |
If you are using a Python 3.4.3 from a python.org installer for OS X or have built your own, have you installed the latest ActiveTcl 8.5.x as described here? https://www.python.org/download/mac/tcltk/ If not, you should have received a warning when you launched IDLE. | ||
msg243011 - (view) | Author: Terry J. Reedy (terry.reedy) * ![]() |
Date: 2015-05-12 20:55 |
Does not happen on Windows. Please start Idle with "python -m idlelib" in a console and report any error traceback you see. Replace 'python' with 'python3' or 'py -3' as needed to start 3.x. (I am not familiar with osx incantation.) | ||
msg243012 - (view) | Author: Ned Deily (ned.deily) * ![]() |
Date: 2015-05-12 20:59 |
This is undoubtedly a crash in Tk, not in Python itself, so there won't be any Python traceback. | ||
msg243013 - (view) | Author: Terry J. Reedy (terry.reedy) * ![]() |
Date: 2015-05-12 21:05 |
At least on Windows, tk errors usually result in TclError with a message that is sometimes helpful. | ||
msg243014 - (view) | Author: Ned Deily (ned.deily) * ![]() |
Date: 2015-05-12 21:11 |
Unless I'm very much mistaken, this is another instance of the old Cocoa Tk problem documented here (http://sourceforge.net/p/tktoolkit/bugs/2722/) and referred to in https://www.python.org/download/mac/tcltk/. It's not like a normal TclError in that it causes the embedded Tcl interpreter used by Python to hard crash with no chance of recovery. This is why we strongly recommend people not use older versions of Cocoa Tk as, unfortunately, are still shipped by Apple with the latest versions of OS X. The problem has been fixed in more recent versions of Cocoa Tk such as those shipped by ActiveState and which the python.org installer will use if installed (and will warn about if not installed). | ||
msg243023 - (view) | Author: (magnus.forsberg) | Date: 2015-05-12 21:59 |
Thanks for your replies! There is a warning about Tcl/Tk: ">>> WARNING: The version of Tcl/Tk (8.5.9) in use may be unstable. Visit http://www.python.org/download/mac/tcltk/ for current information." | ||
msg243024 - (view) | Author: Ned Deily (ned.deily) * ![]() |
Date: 2015-05-12 22:10 |
Thanks! I'm going to assume then that installing a current ActiveTcl 8.5.x will fix the problem for you. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:58:16 | admin | set | github: 68358 |
2017-09-15 12:57:29 | terry.reedy | link | issue31438 superseder |
2017-09-15 12:54:27 | terry.reedy | set | components: - IDLEtitle: IDLE crashes when I press ^ key -> IDLE crashes when I press ^ caret key |
2017-09-15 12:52:11 | terry.reedy | link | issue29826 superseder |
2017-09-15 12:51:43 | terry.reedy | link | issue27804 superseder |
2015-05-12 22:10:33 | ned.deily | set | status: open -> closedresolution: third partymessages: + stage: resolved |
2015-05-12 21:59:11 | magnus.forsberg | set | messages: + |
2015-05-12 21:11:24 | ned.deily | set | messages: + |
2015-05-12 21:05:00 | terry.reedy | set | messages: + |
2015-05-12 20:59:28 | ned.deily | set | messages: + |
2015-05-12 20:55:12 | terry.reedy | set | type: crash -> behaviormessages: + components: + macOS |
2015-05-12 19:22:21 | ned.deily | set | messages: + |
2015-05-12 19:14:52 | serhiy.storchaka | set | nosy: + terry.reedy, kbk, ronaldoussoren, ned.deily, roger.serwy |
2015-05-12 19:05:39 | magnus.forsberg | create |