springload / madewithwagtail

A showcase of sites and apps made with Wagtail CMS, the easy to use, open source Django content management system
http://madewithwagtail.org
MIT License
84 stars 21 forks source link

KeyError: 'request' #159

Open sentry-io[bot] opened 4 years ago

sentry-io[bot] commented 4 years ago

Sentry Issue: MADEWITHWAGTAIL-1D

MessageRejected: An error occurred (MessageRejected) when calling the SendRawEmail operation: Email address is not verified. The following identities failed the check in region US-EAST-1: madewithwagtail@madewithwagtail.org, alan@springload.co.nz, loic@springload.co.nz
(11 additional frame(s) were not displayed)
...
  File "django/core/mail/message.py", line 348, in send
    return self.get_connection(fail_silently).send_messages([self])
  File "django_amazon_ses.py", line 81, in send_messages
    if self._send(email_message):
  File "django_amazon_ses.py", line 110, in _send
    Source=from_email, Destinations=recipients, RawMessage={"Data": message}
  File "botocore/client.py", line 357, in _api_call
    return self._make_api_call(operation_name, kwargs)
  File "botocore/client.py", line 661, in _make_api_call
    raise error_class(parsed_response, operation_name)

KeyError: 'request'
(17 additional frame(s) were not displayed)
...
  File "django/template/base.py", line 990, in render
    bit = node.render_annotated(context)
  File "django/template/base.py", line 957, in render_annotated
    return self.render(context)
  File "django/template/library.py", line 225, in render
    _dict = self.func(*resolved_args, **resolved_kwargs)
  File "core/templatetags/core_tags.py", line 33, in menu
    'request': context['request'],
  File "django/template/context.py", line 87, in __getitem__
    raise KeyError(key)
tacitus commented 4 years ago

Hey @johnanders123 - the submission is failing due to the sender being rejected - can you please have a looky?

johnanders123 commented 4 years ago

Will do

ekini commented 4 years ago

I'm on it