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: Python 3.2 (r32:88452) F5 "Run Module" freezes IDLE
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: andrewlih, ned.deily
Priority: normal Keywords:

Created on 2011年03月07日 08:22 by andrewlih, last changed 2022年04月11日 14:57 by admin. This issue is now closed.

Messages (5)
msg130240 - (view) Author: Andrew Lih (andrewlih) Date: 2011年03月07日 08:22
"Run Module" causes the IDLE to freeze when I start "Run Module" by pressing F5 on the keyboard. But clicking "Run Module" via "Run" on the menu bar have no freezing issue.
Mac 10.6.6
msg130267 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2011年03月07日 17:24
Which Python 3.2 installation are you using? There are two installers for Python 3.2 for Mac OS X downloadable from python.org, 32-bit-only and 64-bit/32-bit. And which version of Tcl/Tk are you using? Please start IDLE and report the first two lines shown in the "Python Shell" window, for instance:
Python 3.2 (r32:88452, Feb 20 2011, 10:19:59) 
[GCC 4.0.1 (Apple Inc. build 5493)] on darwin
and then show the results of executing the following lines in the IDLE shell:
import _tkinter, subprocess
print(subprocess.getoutput("otool -L " + _tkinter.__file__))
print(subprocess.getoutput("ls -l /Library/Frameworks/Tk.framework/Versions"))
msg130293 - (view) Author: Andrew Lih (andrewlih) Date: 2011年03月07日 21:49
I'm using the Python 3.2 Mac OS X 64-bit/32-bit x86-64/i386 Installer.
Python 3.2 (r32:88452, Feb 20 2011, 11:12:31) 
[GCC 4.2.1 (Apple Inc. build 5664)] on darwin
It just freezes every time I try to paste the lines u gave me.
But I mange to edit the .py file via TextEdit. 
here's the result:
/bin/sh: otool: command not found
ls: /Library/Frameworks/Tk.framework/Versions: No such file or directory
msg130294 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2011年03月07日 22:18
It appears then that you do not ActiveTcl 8.5 installed which is required because of deficiencies with the current Apple-supplied Tcl/Tk 8.5 in OS X 10.6. A warning message should have appeared in your PyShell window:
 >>> WARNING: The version of Tcl/Tk (8.5.7) in use may be unstable.
 Visit http://www.python.org/download/mac/tcltk/ for current information. Please note the information there. You need to either install ActiveTcl 8.5 (if possible) or you need to revert to the 32-bit-installer which uses Tcl/Tk 8.4. Either action should solve the problem.
msg130296 - (view) Author: Andrew Lih (andrewlih) Date: 2011年03月07日 22:40
Thanks a lot Ned!
My problem is solved! Awesome!
History
Date User Action Args
2022年04月11日 14:57:14adminsetgithub: 55640
2011年03月07日 22:53:47ned.deilysetnosy: ned.deily, andrewlih
stage: resolved
2011年03月07日 22:40:52andrewlihsetstatus: pending -> closed
nosy: ned.deily, andrewlih
messages: + msg130296
2011年03月07日 22:18:18ned.deilysetstatus: open -> pending

messages: + msg130294
resolution: works for me
nosy: ned.deily, andrewlih
2011年03月07日 21:49:15andrewlihsetnosy: ned.deily, andrewlih
messages: + msg130293
2011年03月07日 17:24:14ned.deilysetassignee: ned.deily

messages: + msg130267
nosy: + ned.deily
2011年03月07日 08:24:06andrewlihsettitle: Python 3.2 (r32:88452) F5 crashes -> Python 3.2 (r32:88452) F5 "Run Module" freezes IDLE
2011年03月07日 08:22:12andrewlihcreate

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