Modify ↓
#13864 closed defect (fixed)
AccountManagerPlugin doesn't manage to send emails under Trac 1.4
Reported by: | na-Itms | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | normal | Component: | AccountManagerPlugin |
Severity: | major | Keywords: | |
Cc: | Trac Release: | 1.4 |
Description
Hello, after upgrading Trac to 1.4, I upgraded AccountManagerPlugin to the development version.
I am currently using the latest revision r17706.
Everything works fine except sending emails for password reset and address verification. In both situations I get the following in the logs:
2020-08-05 20:17:35,212 Trac[mail] WARNING: EmailDistributor caught exception while formatting account to text/plain for email: <class 'acct_mgr.notification.AccountNotificationFormatter'> Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/trac/notification/mail.py", line 487, in distribute outputs[fmt] = formatter.format(transport, fmt, event) File "build/bdist.linux-x86_64/egg/acct_mgr/notification.py", line 171, in format return self._format_body(data, template_name) File "build/bdist.linux-x86_64/egg/acct_mgr/notification.py", line 179, in _format_body template = chrome.load_template(template_name, method='text') TypeError: load_template() got an unexpected keyword argument 'method'
Thanks for the work on the plugin, and thanks in advance for your help.
Attachments (0)
Change History (3)
comment:1 Changed 4 years ago by
comment:3 Changed 4 years ago by
Thank you so much for the quick fix. I forgot to report back, but it works smoothly for us now.
Note: See
TracTickets for help on using
tickets.
Thanks for reporting!