Issue1460735

classification
Title: request for cachedir list
Type: Severity: normal
Components: None Versions:
Milestone:
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: kzuberi, mwette
Priority: low Keywords:

Created on 2006-03-29.15:25:32 by mwette, last changed 2006-05-16.00:59:34 by mwette.

Messages
msg1115 (view) Author: Matthew R. Wette (mwette) Date: 2006-03-29.15:25:32
It would be nice to have a list of cachedirs
or an additional usercachedir.
Reason: many installations are not controlled
by the user.  At work I use jpython maintained
by the sysadmin group which is mounted readonly.
If I could specify an additional cachedir then
I would avoid all the warning/error messages
on startup.   Thanks -- Matt
msg1116 (view) Author: Khalid Zuberi (kzuberi) Date: 2006-04-06.14:12:57
Logged In: YES 
user_id=18288


Can you use the existing jython registry setting
python.cachedir to override the system default for yourself?
According to:

  http://www.jython.org/docs/registry.html

you should be able to override this from the command line,
or even more generally, invoke jython with say (unix example):

  jython -Duser.dir=/home/myusername

then put a copy of the jython registry as
/home/myusername/.jython, and customize the various settings
for yourself, including python.cachedir. 

Does that help? Or do you really want to have some cachedir
shared and some user-specific?

- kz
msg1117 (view) Author: Khalid Zuberi (kzuberi) Date: 2006-05-15.15:49:27
Logged In: YES 
user_id=18288


Matthew, it looks like you changed the resolution attribute
on this ticket to 'accepted' (am i correct? its a bit
difficult to follow from the tracker details). If this was a
subtle hint that you are satisfied with the proposed
solution, could you please indicate by comment on the
ticket, and change its status to closed? Thanks!

- kz
msg1118 (view) Author: Matthew R. Wette (mwette) Date: 2006-05-16.00:59:34
Logged In: YES 
user_id=829837

I can work with the suggest command line solution.
History
Date User Action Args
2006-03-29 15:25:32mwettecreate