Description of problem: after activating the virtual environment, I attempted to run the django syncdb script and received: [Errno 13] Permission denied: '/var/lib/stickshift/e1ff4f1c78894db7833479734fd33bcc/.python-eggs' The fix is to export PYTHON_EGG_CACHE=/var/lib/stickshift/e1ff4f1c78894db7833479734fd33bcc/tinsley/virtenv/lib/python2.6/site-packages/ Would it be possible to have PYTHON_EGG_CACHE=$OPENSHIFT_GEAR_DIR/virtenv/lib/python2.6/site-packages by default for python apps? Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Fixed with git commits 9f102353ec5c8d74e8af8512e0f9fbd9d7a5c448 and 3fe92d29562bb7dea1d2e04060d2909ccb5c0043. The PYTHON_EGG_CACHE variable is now set to the app's .python-eggs directory. ($OPENSHIFT_GEAR_DIR/.python-eggs/).
checked on devenv-stage_166 with cartridge-python-3.2-0.89.5-1.git.0.1053381.el6_2.noarch, var PYTHON_EGG_CACHE has value "$OPENSHIFT_GEAR_DIR/.python-eggs/"