Content-Type: multipart/related; boundary="------------030600030405030704040209" --------------030600030405030704040209 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit

Jack Nutting wrote:
Hi people,

I keep getting lots of errors like this, each time I start a jython program:

*sys-package-mgr*: processing modified jar, '/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Classes/classes.jar'
*sys-package-mgr*: can't write cache file for '/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Classes/classes.jar'

This is with Jython 2.1, on Mac OS X (currently 10.4, but I had the same problem with 10.3).  I've tried using "sudo" to run things as root, hoping that would help let sys-package-mgr actually write the cache files it wants to, but it had no effect.

Is there any workaround for this?  Or can anyone tell me exactly where it's trying to create the cache file, so I can figure out if there are file permissions I can fix that will help?
import sys
print sys.cachedir
That is your cachedir.

Thanks,
-satya
  I can see that there are a number of pkc files inside the cachedir/packages directory in my jython installation, which seem to match the names of the jars that are triggering all the errors.  So maybe jython has successfully created the caches, but won't read them back for some reason. (?)

Google shows me a number of other users who have hit up against this, on a variety of platforms, but I've never seen a solution that works fo rme.  Any tips would be welcome...

--
// jack
// http://www.nuthole.com

--
 
Satya Ghattu
Senior Software Engineer
Phone: 781.993.7390
Mobile: 216.849.5471
YIM: satyabea
sghattu@bea.com
  BEA Systems, Inc.
4 Van De Graaff Drive
Burlington, MA 01803
www.bea.com
 
--------------030600030405030704040209 Content-Type: image/gif; name="spacer.gif" Content-Transfer-Encoding: base64 Content-ID: Content-Disposition: inline; filename="spacer.gif" R0lGODlhCgAKAIAAAP///////yH5BAUUAAEALAAAAAAKAAoAAAIIjI+py+0PYysAOw== --------------030600030405030704040209 Content-Type: image/gif; name="bealogo_sig_r1.gif" Content-Transfer-Encoding: base64 Content-ID: Content-Disposition: inline; filename="bealogo_sig_r1.gif" R0lGODlhPgAkAPcAAAAAAP////AAAecAA+QAAvAIDeYQE/UUGfMiJPYlKOs5O+5ZW/iEhfiZ m/2xsu0AC+gACOgABuYACuUACeUABuMACOEFDPVWXOh0eO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