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 not working
Type: behavior Stage:
Components: IDLE Versions: Python 3.1
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: loewis, pR0Ps
Priority: normal Keywords:

Created on 2009-11-05 04:51 by pR0Ps, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (5)
msg94919 - (view) Author: Carey (pR0Ps) * Date: 2009-11-05 04:51
IDLE will not open in windows 7 64 bit

My debug log is as follows:


Microsoft (R) Windows Debugger Version 6.11.0001.404 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.

CommandLine: C:\Python31\pythonw.exe
Symbol search path is: srv*
Executable search path is: 
ModLoad: 00000000`1d000000 00000000`1d00b000   pythonw.exe
ModLoad: 00000000`76f20000 00000000`770cb000   ntdll.dll
ModLoad: 00000000`76e00000 00000000`76f1f000  
C:\Windows\system32\kernel32.dll
ModLoad: 000007fe`fd1e0000 000007fe`fd24b000  
C:\Windows\system32\KERNELBASE.dll
ModLoad: 00000000`1e000000 00000000`1e2b0000  
C:\Windows\system32\python31.dll
ModLoad: 00000000`76d00000 00000000`76dfa000  
C:\Windows\system32\USER32.dll
ModLoad: 000007fe`ff1c0000 000007fe`ff227000   C:\Windows\system32\GDI32.dll
ModLoad: 000007fe`ff1b0000 000007fe`ff1be000   C:\Windows\system32\LPK.dll
ModLoad: 000007fe`fd380000 000007fe`fd44a000   C:\Windows\system32\USP10.dll
ModLoad: 000007fe`fdb30000 000007fe`fdbcf000  
C:\Windows\system32\msvcrt.dll
ModLoad: 000007fe`fda50000 000007fe`fdb2b000  
C:\Windows\system32\ADVAPI32.dll
ModLoad: 000007fe`fdd00000 000007fe`fdd1f000  
C:\Windows\SYSTEM32\sechost.dll
ModLoad: 000007fe`fd250000 000007fe`fd37e000  
C:\Windows\system32\RPCRT4.dll
ModLoad: 000007fe`fdf00000 000007fe`fec86000  
C:\Windows\system32\SHELL32.dll
ModLoad: 000007fe`fec90000 000007fe`fed01000  
C:\Windows\system32\SHLWAPI.dll
ModLoad: 00000000`730a0000 00000000`7313d000  
C:\Windows\WinSxS\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4926_none_08e1a05ba83fe554\MSVCR90.dll
(1284.19dc): Break instruction exception - code 80000003 (first chance)
ntdll!LdrpDoDebuggerBreak+0x30:
00000000`76fd1220 cc              int     3
0:000> g
ModLoad: 000007fe`fcd50000 000007fe`fcda7000  
C:\Windows\system32\apphelp.dll
ModLoad: 000007fe`fd810000 000007fe`fd83e000   C:\Windows\system32\IMM32.DLL
ModLoad: 000007fe`fed90000 000007fe`fee99000   C:\Windows\system32\MSCTF.dll
ntdll!NtTerminateProcess+0xa:
00000000`76f7017a c3              ret
0:000> g
       ^ No runnable debuggees error in 'g'
0:000> g
       ^ No runnable debuggees error in 'g'



It seems it cant find a file that it needs, but i dont know why.
msg94920 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2009-11-05 04:57
Please open a shell (cmd.exe), then

cd c:\python31
python.exe Lib\idlelib\idle.py

and report any python error messages that you receive.
msg94926 - (view) Author: Carey (pR0Ps) * Date: 2009-11-05 13:41
Running as an admin in Windows 7 64 bit


C:\>cd python31
cd python31

C:\Python31>python.exe lib/idlelib/idle.py
python.exe lib/idlelib/idle.py
Traceback (most recent call last):
  File "lib/idlelib/idle.py", line 11, in <module>
    idlelib.PyShell.main()
  File "C:\Python31\lib\idlelib\PyShell.py", line 1388, in main
    shell = flist.open_shell()
  File "C:\Python31\lib\idlelib\PyShell.py", line 277, in open_shell
    self.pyshell = PyShell(self)
  File "C:\Python31\lib\idlelib\PyShell.py", line 813, in __init__
    OutputWindow.__init__(self, flist, None, None)
  File "C:\Python31\lib\idlelib\OutputWindow.py", line 16, in __init__
    EditorWindow.__init__(self, *args)
  File "C:\Python31\lib\idlelib\EditorWindow.py", line 261, in __init__
    self.update_recent_files_list()
  File "C:\Python31\lib\idlelib\EditorWindow.py", line 779, in
update_recent_files_list
    rf_file = open(self.recent_files_path, 'w')
IOError: [Errno 13] Permission denied: 'C:\\Users\\Carey
Metcalfe\\.idlerc\\recent-files.lst'


It seems to not be able to access the recent files list (which does
exist, i checked)

The same issue is here: http://bugs.python.org/issue1743
msg94930 - (view) Author: Carey (pR0Ps) * Date: 2009-11-05 13:53
In the other issue there was a fix that involved unhiding the recent
files list. I unhid the files in the .idlerc folder and everthing works now.
msg94942 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2009-11-05 19:25
Closing as resolved, then.
History
Date User Action Args
2022-04-11 14:56:54adminsetgithub: 51514
2009-11-05 19:25:25loewissetstatus: open -> closed
resolution: fixed
messages: + msg94942
2009-11-05 13:53:03pR0Pssetmessages: + msg94930
2009-11-05 13:41:12pR0Pssetmessages: + msg94926
2009-11-05 04:57:44loewissetnosy: + loewis
messages: + msg94920
2009-11-05 04:51:10pR0Pscreate