homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: IDLE crashes when I use F5 to run
Type: crash Stage: resolved
Components: IDLE Versions: Python 3.2
process
Status: closed Resolution: works for me
Dependencies: Superseder:
Assigned To: ned.deily Nosy List: Kevin Ness, ned.deily, terry.reedy
Priority: normal Keywords:

Created on 2011年05月25日 04:32 by Kevin Ness, last changed 2022年04月11日 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
Screen shot 2011年05月23日 at 5.56.19 PM.png Kevin Ness, 2011年05月25日 04:32 screenshot of ActiveTcl "Fatal Error"
Messages (5)
msg136826 - (view) Author: Kevin (Kevin Ness) Date: 2011年05月25日 04:32
Similar to bug issue 11431, my IDLE crashes (OS 10.6.7) when using F5, but works fine or better when I click run module. However, unlike 11431, I have downloaded, and I believe, correctly installed ActiveTcl 8.5.
Similar to Ned's suggestions in issue: 11431, here are the first two lines when I launch my shell:
Python 3.2 (r32:88452, Feb 20 2011, 11:12:31) 
[GCC 4.2.1 (Apple Inc. build 5664)] on darwin
Also, here is the response when I run Ned's suggested commands per issue number 11431. First Ned's commands:
import _tkinter, subprocess
print(subprocess.getoutput("otool -L " + _tkinter.__file__))
print(subprocess.getoutput("ls -l /Library/Frameworks/Tk.framework/Versions"))
The responses:
/bin/sh: otool: command not found
total 8
drwxr-xr-x 8 root admin 272 Feb 4 01:52 8.5
lrwxr-xr-x 1 root admin 3 May 23 17:45 Current -> 8.5
Also, if it may help, when I click on the ActiveTCL application icon, a comodo dragon icon application named tclvfse, I get a fatal error message of which I took the following screen shot, attached.
My guess is that ActiveTcl 8.5 is partially installed, or flat out incorrectly installed.
Any ideas? Thanks for your help/time.
Kevin
msg136830 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2011年05月25日 07:25
How are you launching IDLE? Are you sure you aren't launching the IDLE for the Apple-supplied Python 2.6? The two easiest ways to launch IDLE 3.2 are to either double-click on the IDLE file in the /Applications/Python 3.2 folder or, from a terminal shell window, type /usr/local/bin/idle3.2. The resulting "Python Shell" window should say Python 3.2. If you still get a crash, please report any relevant output from the system.log; you can use /Applications/Utilities/Console.app to examine system.log. Or, if there is an OS X crash report, report the output from that. You could also verify the patch level of the ActiveState Tcl by doing the following:
 cd /Library/Frameworks/Tcl.framework
 grep TCL_VERSION tclConfig.sh
 # should be "TCL_VERSION='8.5'"
 grep TCL_PATCH tclConfig.sh
 # should be "TCL_PATCH_LEVEL='.9'"
msg136884 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2011年05月25日 18:42
Did I read right?
Clicking F5 crashes while clicking Run and then 'Run Module F5' works?
(They ought to be the same thing.)
If so, check the key bindings. Options/Configure IDLE .../Keys.
There should be an entry 'Run Module - <Key-F5>'.
Is F5 bound to anything else?
msg139384 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2011年06月29日 00:52
Since there's been no response and I believe the problem should not occur with a properly installed Python 3.2 and ActiveState Tcl 8.5 as described here (http://www.python.org/download/mac/tcltk/), I'm going to close this issue. Please reopen if the problem persists and you can supply more supporting information.
msg139456 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2011年06月30日 00:42
I forgot that there was another issue with F5 using IDLE on OS X when linked to Cocoa Tcl/Tk 8.5, including ActiveState 8.5; see Issue11088. The fix for it was released in Python 2.7.2 and will be in the forthcoming Python 3.2.1 (as of rc2).
History
Date User Action Args
2022年04月11日 14:57:17adminsetgithub: 56381
2011年06月30日 00:42:32ned.deilysetmessages: + msg139456
2011年06月29日 00:52:45ned.deilysetstatus: open -> closed
resolution: works for me
messages: + msg139384

stage: resolved
2011年05月25日 18:42:57terry.reedysetnosy: + terry.reedy
messages: + msg136884
2011年05月25日 07:25:35ned.deilysetassignee: ned.deily

messages: + msg136830
nosy: + ned.deily
2011年05月25日 04:32:40Kevin Nesscreate

AltStyle によって変換されたページ (->オリジナル) /