
On 2/24/20 7:44 PM, Shashikanth Komandoor wrote:
The below is the exception and the traceback I have copied and pasted:
...
Traceback:
File "/var/lib/mailman/venv3/lib64/python3.6/site-packages/Django-2.2.9-py3.6.egg/django/core/handlers/exception.py" in inner 34. response = get_response(request)
File "/var/lib/mailman/venv3/lib64/python3.6/site-packages/Django-2.2.9-py3.6.egg/django/core/handlers/base.py" in _get_response 115. response = self.process_exception_by_middleware(e, request)
File "/var/lib/mailman/venv3/lib64/python3.6/site-packages/Django-2.2.9-py3.6.egg/django/core/handlers/base.py" in _get_response 113. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/var/lib/mailman/venv3/lib64/python3.6/site-packages/Django-2.2.9-py3.6.egg/django/views/generic/base.py" in view 71. return self.dispatch(request, *args, **kwargs)
File "/var/lib/mailman/postorius/src/postorius/views/generic.py" in dispatch 61. int(kwargs.get('page', 1)))
File "/var/lib/mailman/postorius/src/postorius/views/generic.py" in _get_list 55. return List.objects.get_or_404(fqdn_listname=list_id)
File "/var/lib/mailman/postorius/src/postorius/models.py" in get_or_404 120. return self.get(*args, **kwargs)
File "/var/lib/mailman/postorius/src/postorius/models.py" in get 105. return method(*args, **kwargs)
File "/var/lib/mailman/mailmanclient/src/mailmanclient/client.py" in get_list 347. 'lists/{0}'.format(fqdn_listname))
File "/var/lib/mailman/mailmanclient/src/mailmanclient/restbase/connection.py" in call 112. error_msg, response, None)
During handling of the above exception (HTTP Error 500: <html> <head> <title>Internal Server Error</title> </head> <body> <h1><p>Internal Server Error</p></h1> </body> </html> ), another exception occurred:
The above exception, i.e., the 500 from the Mailman REST API is the issue. If your list has lots (thousands or maybe fewer on a slow server) of members, this could be a timeout. mailmanclient is just trying to get the list bye calling the REST API. This should be OK.
Whats in var/logs/mailman.log for this?
The KeyError comes from Django's attempt to log the error and is not the issue.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan