Traceback from log:
2010-12-14 10:16:19,918 Trac[email_decorators] DEBUG: StaticEmailDecorator added 'guttman@alum.mit.edu' because of rule: email_always_cc
2010-12-14 10:16:19,920 Trac[api] ERROR: AnnouncementSystem failed.
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/TracAnnouncer-0.12.1.dev-py2.6.egg/announcer/api.py", line 560, in _real_send
evt)
File "/usr/local/lib/python2.6/dist-packages/TracAnnouncer-0.12.1.dev-py2.6.egg/announcer/distributors/mail.py", line 367, in distribute
self._do_send(transport, event, k, v, fmtdict[k], msg_pubkey_ids)
File "/usr/local/lib/python2.6/dist-packages/TracAnnouncer-0.12.1.dev-py2.6.egg/announcer/distributors/mail.py", line 513, in _do_send
decorator.decorate_message(event, rootMessage, decorators)
File "/usr/local/lib/python2.6/dist-packages/TracAnnouncer-0.12.1.dev-py2.6.egg/announcer/email_decorators.py", line 237, in decorate_message
return next_decorator(event, message, decorates)
File "/usr/local/lib/python2.6/dist-packages/TracAnnouncer-0.12.1.dev-py2.6.egg/announcer/util/mail.py", line 48, in next_decorator
return next.decorate_message(event, message, decorates)
File "/usr/local/lib/python2.6/dist-packages/TracAnnouncer-0.12.1.dev-py2.6.egg/announcer/email_decorators.py", line 203, in decorate_message
return next_decorator(event, message, decorates)
File "/usr/local/lib/python2.6/dist-packages/TracAnnouncer-0.12.1.dev-py2.6.egg/announcer/util/mail.py", line 48, in next_decorator
return next.decorate_message(event, message, decorates)
File "/usr/local/lib/python2.6/dist-packages/TracAnnouncer-0.12.1.dev-py2.6.egg/announcer/email_decorators.py", line 186, in decorate_message
return next_decorator(event, message, decorates)
File "/usr/local/lib/python2.6/dist-packages/TracAnnouncer-0.12.1.dev-py2.6.egg/announcer/util/mail.py", line 48, in next_decorator
return next.decorate_message(event, message, decorates)
File "/usr/local/lib/python2.6/dist-packages/TracAnnouncer-0.12.1.dev-py2.6.egg/announcer/email_decorators.py", line 148, in decorate_message
return next_decorator(event, message, decorators)
File "/usr/local/lib/python2.6/dist-packages/TracAnnouncer-0.12.1.dev-py2.6.egg/announcer/util/mail.py", line 48, in next_decorator
return next.decorate_message(event, message, decorates)
File "/usr/local/lib/python2.6/dist-packages/TracAnnouncer-0.12.1.dev-py2.6.egg/announcer/email_decorators.py", line 123, in decorate_message
recips = ", ".join(str(message[k]), v)
TypeError: join() takes exactly one argument (2 given)
Changing line 123 (I added two debug lines so should really be 121 in original version from trunk) of
email_decorators.py
fixed it for me - from:to:
However, the overall logic still seems wrong for this decorator - unless duplicate email addresses and prefixed spaces are presumed to be handled downstream?