Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImproperlyConfigured: Error importing middleware beanstalk.multiple_beanstalk in Apache #9

Open
srlefevre opened this issue Jan 23, 2013 · 0 comments

Comments

@srlefevre
Copy link

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"

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-

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant