Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

the email pusher is broken in 0.33.7 #4065

@richvdh

Description

@richvdh

If you leave email_templates unset, or set to res/templates, you get the following error when the pusher tries to send an email:

Traceback (most recent call last):
  File synapse/push/emailpusher.py, line 125, in _process
  File /home/matrix/.synapse/local/lib/python2.7/site-packages/twisted/internet/defer.py, line 1416, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File /home/matrix/.synapse/local/lib/python2.7/site-packages/twisted/python/failure.py, line 491, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File synapse/push/emailpusher.py, line 177, in _unsafe_process
  File /home/matrix/.synapse/local/lib/python2.7/site-packages/twisted/internet/defer.py, line 1416, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File /home/matrix/.synapse/local/lib/python2.7/site-packages/twisted/python/failure.py, line 491, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File synapse/push/emailpusher.py, line 287, in send_notification
  File /home/matrix/.synapse/local/lib/python2.7/site-packages/twisted/internet/defer.py, line 1418, in _inlineCallbacks
    result = g.send(result)
  File synapse/push/mailer.py, line 178, in send_notification_mail
  File /home/matrix/.synapse/local/lib/python2.7/site-packages/jinja2/environment.py, line 1008, in render
    return self.environment.handle_exception(exc_info, True)
  File /home/matrix/.synapse/local/lib/python2.7/site-packages/jinja2/environment.py, line 780, in handle_exception
    reraise(exc_type, exc_value, tb)
  File synapse/res/templates/notif_mail.html, line 5, in top-level template code
  File /home/matrix/.synapse/local/lib/python2.7/site-packages/jinja2/loaders.py, line 235, in get_source
    raise TemplateNotFound(template)
TemplateNotFound: mail.css

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions