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 startup error
Type: crash Stage: resolved
Components: IDLE Versions: Python 3.3
process
Status: closed Resolution: works for me
Dependencies: Superseder:
Assigned To: Nosy List: mwei11, ned.deily
Priority: normal Keywords:

Created on 2013-07-11 11:53 by mwei11, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (4)
msg192868 - (view) Author: Mike (mwei11) Date: 2013-07-11 11:53
Python used to run smoothly on my macbook, but since I opened the debugger yesterday, the IDLE window cannot be opened anymore. It shows an error message "IDLE's subprocess didn't make connection". 

I tried to uninstall everything and download it again from the website, but the problem is unsolved. I am using the latest OS X Mountain Lion, and installed Python 3.3.2 and the latest Tcl/Tk. Please advice me how to fix the problem.
msg192905 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2013-07-11 21:02
To help see what the problem is open a Terminal shell window and type:
cd $HOME
ls -l .idlerc/*
cat .idlerc/*

Then try typing:
/usr/local/bin/idle3.3

If that fails, try:
/usr/local/bin/idle3.3 -n

For all of the above, please update this issue with a copy and paste of the resulting outputs.
msg192952 - (view) Author: Mike (mwei11) Date: 2013-07-12 17:28
Thanks Ned,

I have solved the issue by deleting all my previous py files on my computer. But I couldn't figure out what really triggered this error, as those files did not create any problems before.
msg192958 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2013-07-12 19:02
If deleting .py files solved the problem, you probably had created a .py file with the same name as a Python standard library module.  If that file is in your Documents folder (if you are using /Applications/Python3.3/IDLE.app) or your current working directory (if you use /usr/local/bin/idle3.3), that directory is inserted first on Python's search path for modules and the files there will be found before the normal standard library version.  For example, if you create a dummy text file named socket.py in Documents and then double-click on IDLE.app, you should see the same message that the subprocess didn't make a connection because the dummy socket.py shadows the standard library socket module.  In any case, I'm glad that the problem is resolved for you.
History
Date User Action Args
2022-04-11 14:57:47adminsetgithub: 62628
2013-07-12 19:02:29ned.deilysetstatus: open -> closed
resolution: works for me
messages: + msg192958

stage: resolved
2013-07-12 17:28:34mwei11setmessages: + msg192952
2013-07-11 21:02:33ned.deilysetnosy: + ned.deily
messages: + msg192905
2013-07-11 11:53:10mwei11create