On 1/30/20 9:22 AM, Bala Mutyam wrote:
Sorry one more issue,
Mailman settings page giving me below error.
Server error An error occurred while processing your request.
Error logs:
ERROR 2020-01-30 17:20:11,331 16285 django.request Internal Server Error: /postorius/accounts/subscriptions/ Traceback (most recent call last): File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", line 41, in inner response = get_response(request) File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 187, in _get_response response = self.process_exception_by_middleware(e, request) File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 185, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/usr/lib/python3/dist-packages/django/contrib/auth/decorators.py", line 23, in _wrapped_view return view_func(request, *args, **kwargs) File "/usr/lib/python3/dist-packages/postorius/views/user.py", line 306, in user_subscriptions mm_user = MailmanUser.objects.get_or_create_from_django(request.user) File "/usr/lib/python3/dist-packages/postorius/models.py", line 164, in get_or_create_from_django return self.get(address=user.email) File "/usr/lib/python3/dist-packages/postorius/models.py", line 86, in get return method(*args, **kwargs) File "/usr/lib/python3/dist-packages/mailmanclient/client.py", line 322, in get_user return User(self._connection, content['self_link'], content) KeyError: 'self_link'
Just prior to this is a call to the REST API to GET /users/user@example.com (or whatever the user's address is). It appears that that user doesn't exist in core.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (1)
-
Mark Sapiro