-
Notifications
You must be signed in to change notification settings - Fork 0
KeyError in u'moderation_reasons' #1
Description
Hi,
when I create a new list and then send a message from an unsubscribed e-mail to this list, I get a reply saying: The message is being held because: N/A
As a moderator I get an info mail to enter the dashboard or to reply with approved: [list-password] as first line in the body. (Which password by the way? How would I set this?).
When I enter the dashboard to view the held messages the following exception occurs:
Request URL: http://example.com:8000/mailman3/lists/testlist.example.com/held_messages
Django Version: 1.8.17
Exception Location: /opt/mailman/mailman-bundler/eggs/mailmanclient-1.0.1-py2.7.egg/mailmanclient/_client.py in held, line 443
Python Executable: /opt/mailman/venv/bin/python2
Python Version: 2.7.9
Traceback:
File "/opt/mailman/mailman-bundler/eggs/Django-1.8.17-py2.7.egg/django/core/handlers/base.py" in get_response
132. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/opt/mailman/mailman-bundler/eggs/Django-1.8.17-py2.7.egg/django/views/generic/base.py" in view
71. return self.dispatch(request, *args, **kwargs)
File "/opt/mailman/mailman-bundler/eggs/postorius-1.0.3-py2.7.egg/postorius/views/generic.py" in dispatch
67. return super(MailingListView, self).dispatch(request, *args, **kwargs)
File "/opt/mailman/mailman-bundler/eggs/Django-1.8.17-py2.7.egg/django/views/generic/base.py" in dispatch
89. return handler(request, *args, **kwargs)
File "/opt/mailman/mailman-bundler/eggs/Django-1.8.17-py2.7.egg/django/utils/decorators.py" in _wrapper
34. return bound_func(*args, **kwargs)
File "/opt/mailman/mailman-bundler/eggs/postorius-1.0.3-py2.7.egg/postorius/auth/decorators.py" in wrapper
81. return fn(*args, **kwargs)
File "/opt/mailman/mailman-bundler/eggs/Django-1.8.17-py2.7.egg/django/utils/decorators.py" in bound_func
30. return func.__get__(self, type(self))(*args2, **kwargs2)
File "/opt/mailman/mailman-bundler/eggs/postorius-1.0.3-py2.7.egg/postorius/views/list.py" in get
387. held_messages = utils.paginate(request, self.mailing_list.held, 20)
File "/opt/mailman/mailman-bundler/eggs/mailmanclient-1.0.1-py2.7.egg/mailmanclient/_client.py" in held
443. moderation_reasons=entry['moderation_reasons'],
Exception Type: KeyError at /mailman3/lists/testlist.example.com/held_messages
Exception Value: u'moderation_reasons'
I have installed the apps via mailman-bundler.git
Regards
Logmod