New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IDLE won't open anymore, .idlerc unaccessible #48875
Comments
Hello, I was able to run IDLE once or twice on my laptop. Then I downloaded C:\Python25>python.exe Lib\idlelib\idle.py
Traceback (most recent call last):
File "Lib\idlelib\idle.py", line 21, in <module>
idlelib.PyShell.main()
File "C:\Python25\lib\idlelib\PyShell.py", line 1404, in main
shell = flist.open_shell()
File "C:\Python25\lib\idlelib\PyShell.py", line 275, in open_shell
self.pyshell = PyShell(self)
File "C:\Python25\lib\idlelib\PyShell.py", line 813, in __init__
OutputWindow.__init__(self, flist, None, None)
File "C:\Python25\lib\idlelib\OutputWindow.py", line 16, in __init__
EditorWindow.__init__(self, *args)
File "C:\Python25\lib\idlelib\EditorWindow.py", line 248, in __init__
self.update_recent_files_list()
File "C:\Python25\lib\idlelib\EditorWindow.py", line 715, in
update_recent_fil
es_list
rf_file = open(self.recent_files_path, 'w')
IOError: [Errno 13] Permission denied: 'C:\\Documents and
Settings\\skcheng\\.id
lerc\\recent-files.lst' I've tried uninstalling and reinstalling several times 2.5 and also 2.6. |
I meet the same problem and have it fixed. I use Python 2.5.2 on Windows XP. This is my solution:
Now this problem should be fixed. Hope this works. |
Any ideas about how the permissions for .idlerc may get wrong? Is this |
Was python installed with another user account, or a "just for me" install? |
Thanks!! This worked perfectly! Finally got around to trying this out Sincerely, On 3/20/09 4:26 AM, "Timothy Zhang" <report@bugs.python.org> wrote:
|
A quick test on Linux would be: IDLE will give a traceback and not start. This should not be a fatal error. The provided patch will present an error dialog if the recent files list can not be written. |
A couple of comments on the patch:
Here are updated patches that address these issues. |
I just tested Ned's updated patches against 3.3a0 and 2.7 and they work as advertised. |
Hi Ned, Thanks for the patch, I appreciate it. Sadly, I've since upgraded my Sincerely, On Wed, Dec 14, 2011 at 10:50 AM, Roger Serwy <report@bugs.python.org>wrote:
|
New changeset 7857d1f4ce79 by Ned Deily in branch '2.7': New changeset 26e3e542d20d by Ned Deily in branch '3.2': New changeset ba832d42cd9e by Ned Deily in branch 'default': New changeset f6ca22bbf138 by Ned Deily in branch '2.7': New changeset f1fe411bfd6b by Ned Deily in branch '3.2': New changeset f6510cdf4ada by Ned Deily in branch 'default': |
Applied to 2.7 (for release in 2.7.3), 3.2 (3.2.3), and default (3.3). |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: