trac svn [Errno 13] Permission denied: ‚ #{trac_env}.egg-cache‘

We wanted to use TracSubticketsPlugin and faced the problem that we got


Warnung: post-commit hook failed (exit code 2) with output:
Error: ExtractionError: Can't extract file(s) to egg cache

The following error occurred while trying to extract file(s) to the Python egg
cache:

[Errno 13] Permission denied: ' #{trac_env}.egg-cache'

The Python egg cache directory is currently set to:

#{trac_env}.egg-cache

Perhaps your account does not have write access to this directory? You can
change the cache directory by setting the PYTHON_EGG_CACHE environment
variable to point to an accessible directory.

Even if access rights was set to


drwxrwxrwx 4 xa6237 xa6237g 110 1. Feb 09:46 .egg-cache

It did not work!

The only thing that really worked was to manually unpack the egg. In this case the egg is in the trac environment. So I did:


cd projects/playground/trac/plugins # projects/playground/trac is my trac environment

mv TracSubTicketsPlugin-0.2.0.dev_20131008-py2.6.egg TracSubTicketsPlugin-0.2.0.dev_20131008-py2.6.egg.zip

mkdir TracSubTicketsPlugin-0.2.0.dev_20131008-py2.6.egg

cd TracSubTicketsPlugin-0.2.0.dev_20131008-py2.6.egg

unzip ../TracSubTicketsPlugin-0.2.0.dev_20131008-py2.6.egg.zip

thanks to herbie at autobotcity for seting me on the right trac(k)

Neuer Kommentar