Skip to content

Instantly share code, notes, and snippets.

@vortec
Created March 23, 2016 15:27
Show Gist options
  • Select an option

  • Save vortec/e0dd724b58065970f64c to your computer and use it in GitHub Desktop.

Select an option

Save vortec/e0dd724b58065970f64c to your computer and use it in GitHub Desktop.
[ERROR] Internal Server Error: /auth/login/
Traceback (most recent call last):
File "/opt/sentry/local/lib/python2.7/site-packages/sentry/../django/core/handlers/base.py", line 112, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/opt/sentry/local/lib/python2.7/site-packages/sentry/../django/views/generic/base.py", line 69, in view
return self.dispatch(request, *args, **kwargs)
File "/opt/sentry/local/lib/python2.7/site-packages/sentry/../django/utils/decorators.py", line 29, in _wrapper
return bound_func(*args, **kwargs)
File "/opt/sentry/local/lib/python2.7/site-packages/sentry/../django/utils/decorators.py", line 99, in _wrapped_view
response = view_func(request, *args, **kwargs)
File "/opt/sentry/local/lib/python2.7/site-packages/sentry/../django/utils/decorators.py", line 25, in bound_func
return func(self, *args2, **kwargs2)
File "/opt/sentry/local/lib/python2.7/site-packages/sentry/web/frontend/base.py", line 172, in dispatch
return self.handle(request, *args, **kwargs)
File "/opt/sentry/local/lib/python2.7/site-packages/sentry/../django/views/decorators/cache.py", line 52, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/opt/sentry/local/lib/python2.7/site-packages/sentry/../django/db/transaction.py", line 371, in inner
return func(*args, **kwargs)
File "/opt/sentry/local/lib/python2.7/site-packages/sentry/web/frontend/auth_login.py", line 148, in handle
return self.handle_basic_auth(request)
File "/opt/sentry/local/lib/python2.7/site-packages/sentry/web/frontend/auth_login.py", line 86, in handle_basic_auth
elif login_form.is_valid():
File "/opt/sentry/local/lib/python2.7/site-packages/sentry/../django/forms/forms.py", line 129, in is_valid
return self.is_bound and not bool(self.errors)
File "/opt/sentry/local/lib/python2.7/site-packages/sentry/../django/forms/forms.py", line 121, in errors
self.full_clean()
File "/opt/sentry/local/lib/python2.7/site-packages/sentry/../django/forms/forms.py", line 274, in full_clean
self._clean_form()
File "/opt/sentry/local/lib/python2.7/site-packages/sentry/../django/forms/forms.py", line 300, in _clean_form
self.cleaned_data = self.clean()
File "/opt/sentry/local/lib/python2.7/site-packages/sentry/web/forms/accounts.py", line 120, in clean
password=password)
File "/opt/sentry/local/lib/python2.7/site-packages/sentry/../django/contrib/auth/__init__.py", line 47, in authenticate
for backend in get_backends():
File "/opt/sentry/local/lib/python2.7/site-packages/sentry/../django/contrib/auth/__init__.py", line 22, in get_backends
backends.append(load_backend(backend_path))
File "/opt/sentry/local/lib/python2.7/site-packages/sentry/../django/contrib/auth/__init__.py", line 16, in load_backend
return import_by_path(path)()
File "/opt/sentry/local/lib/python2.7/site-packages/sentry/../django/utils/module_loading.py", line 26, in import_by_path
sys.exc_info()[2])
File "/opt/sentry/local/lib/python2.7/site-packages/sentry/../django/utils/module_loading.py", line 21, in import_by_path
module = import_module(module_path)
File "/opt/sentry/local/lib/python2.7/site-packages/sentry/../django/utils/importlib.py", line 40, in import_module
__import__(name)
File "/opt/sentry/local/lib/python2.7/site-packages/sentry/../sentry_ldap_auth/backend.py", line 5, in <module>
from sentry.models import Organization, OrganizationMember, OrganizationMemberType
ImproperlyConfigured: Error importing module sentry_ldap_auth.backend: "cannot import name OrganizationMemberType"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment