Monday, October 25, 2010

Re: Still Confused about Python Egg Cache

I'm sorry for being so bouncy about this. Fixed again, but with
different instructions.

<Location />
SetHandler python-program
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE settings
SetEnv PYTHON_EGG_CACHE /tmp
PythonOption django.root /home/amr/django/amr
PythonPath "['/home/amr/django', '/home/amr/django/amr', '/usr/
local/lib
/site-packages/django'] + sys.path"
PythonDebug On
</Location>

Added second SetEnv to <Location />, but those aren't the instructions
on the django doc site.
Got instructions from here:
http://www.question-defense.com/2009/12/22/extractionerror-cant-extract-files-to-egg-cache-errno-13-permission-denied-root-python-eggs

On Oct 25, 11:58 am, octopusgrabbus <old_road_f...@verizon.net> wrote:
> I've added
>
> PythonInterpreter amr_django
> PythonImport /home/amr/django/amr/python_egg_cache.py amr_django
>
> to /etc/init.d/conf/httpd.conf.
>
> Here's python_egg_cache.py
>
> import os
> os.environ['PYTHON_EGG_CACHE'] = '/python_egg_cache/.python-eggs'
>
> This was working a few days ago, after I added the configuration noted
> above. So, I'm confused as to why I keep getting this egg cache
> error.
>
> Any ideas or pointers would be appreciated.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment