Message934

Author amak
Recipients
Date 2007-05-19.18:00:49
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
This looks like an OS specific problem, and not a jython problem. You can test this by trying  to create the cachedir directory manually from a command prompt, like so 

C:\>mkdir "C:\Program Files\Java\jython\cachedir"

If Windows won't let you do that, then there's nothing jython can do to help.

However, there should be a simple workaround.

Edit the jython registry file and change the setting 

python.cachedir = cachedir

to a directory to which you *know* you have write access. You should probably set this to an absolute path, such as

python.cachedir = C:\\temp\\cachedir

or whatever is appropriate for your local environment.

From the registry file

"""
# Set the directory to use for caches (currently just package information)
# This directory should be writable by the user
# If this is an absolute path it is used as given
# Otherwise it is interpreted relative to sys.prefix
# (typically the directory of this file)
python.cachedir = cachedir
"""
History
Date User Action Args
2008-02-20 17:17:19adminlinkissue1023671 messages
2008-02-20 17:17:19admincreate