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 won't launch (Win XP)
Type: behavior Stage: resolved
Components: IDLE Versions: Python 2.6
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: asvetlov Nosy List: asvetlov, jonseger, loewis, roger.serwy, taleinat
Priority: normal Keywords:

Created on 2010年06月17日 04:05 by jonseger, last changed 2022年04月11日 14:57 by admin. This issue is now closed.

Messages (10)
msg107990 - (view) Author: Jon Seger (jonseger) Date: 2010年06月17日 04:05
I upgraded from 2.5.2 to 2.6.5 on a WinXP system. Console interpreter worked fine, but IDLE would not launch (quit without displaying anything on screen). Same with 2.6.4. Finally tried 2.5.4, which works as expected (like the old 2.5.2).
msg107991 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2010年06月17日 06:22
Please run "python.exe Lib/idlelib/idle.py" in a console window, and report any errors that you get.
msg107992 - (view) Author: Tal Einat (taleinat) * (Python committer) Date: 2010年06月17日 06:27
Also, try renaming/moving the directory C:\Documents and Settings\<username>\.idlerc, and then try to start IDLE.
msg108403 - (view) Author: Jon Seger (jonseger) Date: 2010年06月22日 18:04
Here's the result of doing what Martin asked (and then launching the interpreter, to confirm that it's the 2.5.4 version that I installed on Thursday just before submitting my original bug report).
C:\PYTHON25 is the first item in the PATH. 
C:\Python25\Lib\idlelib\idle.py exists, and IDLE launches properly when I double-click its icon on the desktop. But Python scripts (including idle.py and all of my own) do not show the Python icon.
Renaming .idlerc has no effect except that IDLE now doesn't have a list of recent files. Or did you mean to try this after installing one of the later (2.6) versions of Python, under which IDLE would not launch?
Is this looking like a registry problem?
msg108421 - (view) Author: Tal Einat (taleinat) * (Python committer) Date: 2010年06月22日 21:32
Let's focus on the problem you're having with Python 2.6, with which you said IDLE won't launch.
Please try to run IDLE using Python 2.6.5:
1) Install Python 2.6.5, say to C:\Python26
2) Rename/move your .idlerc directory so there isn't any such directory under C:\Documents and Settings\<username>
3) Then go to that directory and run:
C:\Python26> .\python.exe Lib\idlelib\idle.py
Post the output of that here, so that we can help diagnose the problem.
msg108427 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2010年06月22日 21:59
> Here's the result of doing what Martin asked (and then launching the
> interpreter, to confirm that it's the 2.5.4 version that I installed
> on Thursday just before submitting my original bug report).
>
> C:\PYTHON25 is the first item in the PATH.
> C:\Python25\Lib\idlelib\idle.py exists, and IDLE launches properly
> when I double-click its icon on the desktop. But Python scripts
> (including idle.py and all of my own) do not show the Python icon.
Unfortunately, this is not what I asked. Instead, I asked you to
run idle.py IN A CONSOLE WINDOW (i.e. not by double-clicking),
and to report any output you see in that console window.
msg108459 - (view) Author: Jon Seger (jonseger) Date: 2010年06月23日 16:57
Actually I did do exactly what Martin requested, but then somehow I failed to include the output in my message, which doesn't really make sense as a result. How embarrassing! I apologize. I thought I had included something like the following:
C:\Documents and Settings\jon\Desktop>python Lib\idlelib\idle.py
python: can't open file 'Lib\idlelib\idle.py': [Errno 2] No such file or directory
Same response with forward or back slashes in the argument. However, if I give python the full path (either with forward or back slashes), then it successfully launches IDLE:
C:\Documents and Settings\jon\Desktop>python c:/python25/Lib/idlelib/
idle.py
Now my remark about c:\Python25 being the first item in the path should make more sense than it did in the message as I sent it!
Again, this is all with 2.5.4, the installation that DOES launch IDLE when I click the desktop icon. I'll try later today with 2.6.5.
msg150041 - (view) Author: Roger Serwy (roger.serwy) * (Python committer) Date: 2011年12月21日 20:19
Is this still a problem?
msg156770 - (view) Author: Andrew Svetlov (asvetlov) * (Python committer) Date: 2012年03月25日 21:02
Ping.
I like to close the issue next week if no response.
msg157179 - (view) Author: Andrew Svetlov (asvetlov) * (Python committer) Date: 2012年03月31日 12:03
Closing as out if date and not active.
History
Date User Action Args
2022年04月11日 14:57:02adminsetgithub: 53262
2012年03月31日 12:52:09asvetlovsetstatus: open -> closed
2012年03月31日 12:03:29asvetlovsetassignee: asvetlov
resolution: out of date
messages: + msg157179
stage: resolved
2012年03月25日 21:02:37asvetlovsetnosy: + asvetlov
messages: + msg156770
2011年12月21日 20:19:57roger.serwysetnosy: + roger.serwy
messages: + msg150041
2010年06月23日 16:57:22jonsegersetmessages: + msg108459
2010年06月22日 21:59:54loewissetmessages: + msg108427
2010年06月22日 21:32:04taleinatsetmessages: + msg108421
2010年06月22日 18:04:27jonsegersetmessages: + msg108403
2010年06月17日 06:27:37taleinatsetnosy: + taleinat
messages: + msg107992
2010年06月17日 06:22:26loewissetnosy: + loewis
messages: + msg107991
2010年06月17日 04:05:34jonsegercreate

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