pmuller / django-crowd-auth

Atlassian Crowd SSO integration for Django applications
Other
10 stars 6 forks source link

could not be loaded; Error importing module #3

Closed pulord closed 6 years ago

pulord commented 6 years ago

Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/django/utils/autoreload.py", line 226, in wrapper fn(*args, kwargs) File "/usr/local/lib/python2.7/site-packages/django/core/management/commands/runserver.py", line 142, in inner_run handler = self.get_handler(*args, *options) File "/usr/local/lib/python2.7/site-packages/django/contrib/staticfiles/management/commands/runserver.py", line 27, in get_handler handler = super(Command, self).get_handler(args, options) File "/usr/local/lib/python2.7/site-packages/django/core/management/commands/runserver.py", line 64, in get_handler return get_internal_wsgi_application() File "/usr/local/lib/python2.7/site-packages/django/core/servers/basehttp.py", line 59, in get_internal_wsgi_application sys.exc_info()[2]) File "/usr/local/lib/python2.7/site-packages/django/core/servers/basehttp.py", line 49, in get_internal_wsgi_application return import_string(app_path) File "/usr/local/lib/python2.7/site-packages/django/utils/module_loading.py", line 20, in import_string module = import_module(module_path) File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/init.py", line 37, in import_module import(name) File "/Users/putaohong/Documents/work/git-code/test/its-tools/ytt/ytt/wsgi.py", line 16, in application = get_wsgi_application() File "/usr/local/lib/python2.7/site-packages/django/core/wsgi.py", line 14, in get_wsgi_application return WSGIHandler() File "/usr/local/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 153, in init self.load_middleware() File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 80, in load_middleware middleware = import_string(middleware_path) File "/usr/local/lib/python2.7/site-packages/django/utils/module_loading.py", line 20, in import_string module = import_module(module_path) File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/init.py", line 37, in import_module import(name) django.core.exceptions.ImproperlyConfigured: WSGI application 'ytt.wsgi.application' could not be loaded; Error importing module: 'No module named middleware'

pmuller commented 6 years ago

I do not see any call to django_crowd_auth in the stack trace. Why do you think your issue is related to this project ?

pmuller commented 6 years ago

Feel free to reopen the issue if it persists.