I’m installing edx/ecommerce with version ironwood.master and follow this guide to configure ecommerce: https://github.com/edx/ecommerce/blob/open-release/ironwood.master/docs/install_ecommerce.rst. But I can’t login e-commerce use LMS oauth2, after login at LMS I suddenly got this error:
[django.request] exception.py:135 - Internal Server Error: /oauth2/authorize/
lms_1 | Traceback (most recent call last):
lms_1 | File “/openedx/venv/local/lib/python2.7/site-packages/django/core/handlers/exception.py”, line 41, in inner
lms_1 | response = get_response(request)
lms_1 | File “/openedx/venv/local/lib/python2.7/site-packages/django/core/handlers/base.py”, line 249, in _legacy_get_response
lms_1 | response = self._get_response(request)
lms_1 | File “/openedx/venv/local/lib/python2.7/site-packages/django/core/handlers/base.py”, line 187, in _get_response
lms_1 | response = self.process_exception_by_middleware(e, request)
lms_1 | File “/openedx/venv/local/lib/python2.7/site-packages/django/core/handlers/base.py”, line 185, in _get_response
lms_1 | response = wrapped_callback(request, *callback_args, **callback_kwargs)
lms_1 | File “/openedx/venv/local/lib/python2.7/site-packages/django/utils/decorators.py”, line 185, in inner
lms_1 | return func(*args, **kwargs)
lms_1 | File “/openedx/venv/local/lib/python2.7/site-packages/django/views/decorators/csrf.py”, line 58, in wrapped_view
lms_1 | return view_func(*args, **kwargs)
lms_1 | File “/openedx/venv/local/lib/python2.7/site-packages/django/views/generic/base.py”, line 68, in view
lms_1 | return self.dispatch(request, *args, **kwargs)
lms_1 | File “/openedx/edx-platform/openedx/core/djangoapps/oauth_dispatch/views.py”, line 55, in dispatch
lms_1 | return view(request, *args, **kwargs)
lms_1 | File “/openedx/venv/local/lib/python2.7/site-packages/django/views/generic/base.py”, line 68, in view
lms_1 | return self.dispatch(request, *args, **kwargs)
lms_1 | File “/openedx/venv/local/lib/python2.7/site-packages/oauth2_provider/views/base.py”, line 37, in dispatch
lms_1 | return super(BaseAuthorizationView, self).dispatch(request, *args, **kwargs)
lms_1 | File “/openedx/venv/local/lib/python2.7/site-packages/django/contrib/auth/mixins.py”, line 56, in dispatch
lms_1 | return super(LoginRequiredMixin, self).dispatch(request, *args, **kwargs)
lms_1 | File “/openedx/venv/local/lib/python2.7/site-packages/django/views/generic/base.py”, line 88, in dispatch
lms_1 | return handler(request, *args, **kwargs)
lms_1 | File “/openedx/edx-platform/openedx/core/djangoapps/oauth_dispatch/dot_overrides/views.py”, line 97, in get
lms_1 | return self.error_response(error)
lms_1 | TypeError: error_response() takes exactly 3 arguments (2 given)
Does anyone know how to solve its ? Thanks !