Menu

#8 can't create package cache dir

open
None
5
2006-02-23
2006-02-16
No

Running a jython script from eclipse brings the error:
*sys-package-mgr*: can't create package cache dir,
'/usr/share/jython/cachedir/packages'

That is to be expected, of course, as a normal user
does not have write access to system directories such
as /usr/share. Stand-alone jython on the command line
stores the cached packages in ~/.jython-cache/packages

Additional info:
System: Linux (Debian)
Jython version: 2.1
Jython home: /usr/share/jython

Discussion

  • Michael Piefel

    Michael Piefel - 2006-02-16

    Logged In: YES
    user_id=132590

    Of course, adding
    -Dpython.cachedir=${env_var:HOME}/.jython-cache
    to the run configuration fixes this, but that should somehow
    happen automatically.

    The /usr/bin/jython script also includes additional
    libraries that are otherwise missing.

     
  • Red Robin

    Red Robin - 2006-02-23
    • assigned_to: nobody --> red-robin
     

Log in to post a comment.

MongoDB Logo MongoDB