Skip to content
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

recent-files defaulted to strange place and bad permissions #38987

Closed
lha2 mannequin opened this issue Jul 31, 2003 · 4 comments
Closed

recent-files defaulted to strange place and bad permissions #38987

lha2 mannequin opened this issue Jul 31, 2003 · 4 comments
Assignees

Comments

@lha2
Copy link
Mannequin

lha2 mannequin commented Jul 31, 2003

BPO 780887
Nosy @loewis, @kbkaiser

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:

assignee = 'https://github.com/kbkaiser'
closed_at = <Date 2003-09-05.23:17:06.000>
created_at = <Date 2003-07-31.14:48:08.000>
labels = ['expert-IDLE']
title = 'recent-files defaulted to strange place and bad permissions'
updated_at = <Date 2003-09-05.23:17:06.000>
user = 'https://bugs.python.org/lha2'

bugs.python.org fields:

activity = <Date 2003-09-05.23:17:06.000>
actor = 'kbk'
assignee = 'kbk'
closed = True
closed_date = None
closer = None
components = ['IDLE']
creation = <Date 2003-07-31.14:48:08.000>
creator = 'lha2'
dependencies = []
files = []
hgrepos = []
issue_num = 780887
keywords = []
message_count = 4.0
messages = ['17547', '17548', '17549', '17550']
nosy_count = 3.0
nosy_names = ['loewis', 'kbk', 'lha2']
pr_nums = []
priority = 'low'
resolution = None
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue780887'
versions = ['Python 2.3']

@lha2
Copy link
Mannequin Author

lha2 mannequin commented Jul 31, 2003

After a non-admin install of Python 2.3 with Python 2.2
admin-installed, I got:

C:\Python23\Lib\idlelib>c:\python23\python idle.py
Traceback (most recent call last):
  File "idle.py", line 23, in ?
    idlelib.PyShell.main()
  File "C:\Python23\lib\idlelib\PyShell.py", line 1277, in 
main
    flist.pyshell = PyShell(flist)
  File "C:\Python23\lib\idlelib\PyShell.py", line 721, in 
__init__
    OutputWindow.__init__(self, flist, None, None)
  File "C:\Python23\lib\idlelib\OutputWindow.py", line 16, 
in __init__
    EditorWindow.__init__(self, *args)
  File "C:\Python23\lib\idlelib\EditorWindow.py", line 181, 
in __init__
    self.UpdateRecentFilesList()
  File "C:\Python23\lib\idlelib\EditorWindow.py", line 580, 
in UpdateRecentFilesList
    RFfile=open(self.recentFilesPath,'r')
IOError: [Errno13] Permission denied: 'F:\\.idlerc\\recent-
files.lst'

======
I have a login to a university server, and the F drive is
the user drive. I don't recall specifying that anything
should be kept on the F drive, and would prefer that
recent files be kept on the local machine.

Changing my own permissions to .idlerc to allow full
permissions, and to apply these permissions to contents,
worked and resolved the problem, except that multiple
users use the same network drive and will now share
recent files.

Idle 1.0 under the brand-spanking-new Python2.3, with
Windows XP Professional 5.1.2600 Service Pack 1 Build
2600.

@lha2 lha2 mannequin closed this as completed Jul 31, 2003
@lha2 lha2 mannequin assigned kbkaiser Jul 31, 2003
@lha2 lha2 mannequin added the topic-IDLE label Jul 31, 2003
@lha2 lha2 mannequin closed this as completed Jul 31, 2003
@lha2 lha2 mannequin assigned kbkaiser Jul 31, 2003
@lha2 lha2 mannequin added the topic-IDLE label Jul 31, 2003
@loewis
Copy link
Mannequin

loewis mannequin commented Aug 3, 2003

Logged In: YES
user_id=21627

IDLE first tries %HOME%, then %HOMEDRIVE%/%HOMEPATH%
The latter is the system convention, so IDLE should follow it.

So setting the HOME environment variable should fix this
problem.

Is this a sufficient solution?

@kbkaiser
Copy link
Contributor

Logged In: YES
user_id=149084

What are the vaules of
HOME
HOMEDRIVE
USERPROFILE
on your machine?

@kbkaiser
Copy link
Contributor

kbkaiser commented Sep 5, 2003

Logged In: YES
user_id=149084

No response from OP, change status to Pending.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant