django-jack icon indicating copy to clipboard operation
django-jack copied to clipboard

ImproperlyConfigured: Error importing middleware beanstalk.multiple_beanstalk in Apache

Open srlefevre opened this issue 12 years ago • 0 comments

I'm trying to set this up in apache with the following config: <Location /jack > SetHandler python-program PythonHandler django.core.handlers.modpython SetEnv DJANGO_SETTINGS_MODULE jack.settings SetEnv PYTHON_EGG_CACHE "/var/cache/mod_python" PythonOption django.root /jack PythonDebug Off PythonPath "['/usr/lib/python2.6/site-packages/jack', '/usr/lib/python2.6/site-packages/django', '/usr/lib/python2.6/site-packages/beanstalkc-0.3.0-py2.6.egg', '/usr/lib/python2.6/site-packages/djangoflash'] + sys.path" </Location>

I have django, djangoflash, and beanstalkc installed and in the PythonPath. I'm getting an error w/in apache's log stating: ImproperlyConfigured: Error importing middleware beanstalk.multiple_beanstalk: "No module named beanstalk.multiple_beanstalk"

beanstalkc is installed as what appears to be an "egg". Not being a python guy I'd appreciate any help is figuring out how to import the library modules correctly. Thanks! S-

srlefevre avatar Jan 23 '13 05:01 srlefevre