Modify ↓
Opened 15 years ago
Closed 15 years ago
#9170 closed defect (cantfix)
AttributeError: 'NotificationSystem' object has no attribute 'send_email'
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | highest | Milestone: | |
Component: | notification | Version: | 0.11-stable |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
How to Reproduce
While doing a POST operation on /admin/accounts/users
, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{'__FORM_TOKEN': u'd6a5e3ae45644e5e8ec1bbfc', 'add': u' Add ', 'cat_id': u'accounts', 'email': u'leibner@me.com', 'name': u'haufen', 'panel_id': u'users', 'password': u'123', 'password_confirm': u'123', 'path_info': None, 'user': u'haufen'}
User Agent was: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_2; de-de) AppleWebKit/531.22.7 (KHTML, like Gecko) Version/4.0.5 Safari/531.22.7
System Information
Trac | 0.11.7
|
Python | 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit (Intel)]
|
setuptools | 0.6c11
|
SQLite | 3.5.9
|
pysqlite | 2.4.1
|
Genshi | 0.6dev-r1096
|
jQuery: | 1.2.6
|
Python Traceback
Traceback (most recent call last): File "C:\Python26\lib\site-packages\trac-0.11.7-py2.6-win32.egg\trac\web\main.py", line 450, in _dispatch_request dispatcher.dispatch(req) File "C:\Python26\lib\site-packages\trac-0.11.7-py2.6-win32.egg\trac\web\main.py", line 206, in dispatch resp = chosen_handler.process_request(req) File "C:\Python26\lib\site-packages\trac-0.11.7-py2.6-win32.egg\trac\admin\web_ui.py", line 114, in process_request path_info) File "build\bdist.win32\egg\acct_mgr\admin.py", line 117, in render_admin_panel return self._do_users(req) File "build\bdist.win32\egg\acct_mgr\admin.py", line 188, in _do_users _create_user(req, self.env, check_permissions=False) File "build\bdist.win32\egg\acct_mgr\web_ui.py", line 70, in _create_user mgr.set_password(user, password) File "build\bdist.win32\egg\acct_mgr\api.py", line 144, in set_password self._notify('created', user, password) File "build\bdist.win32\egg\acct_mgr\api.py", line 253, in _notify getattr(l, func)(*args) File "build\bdist.win32\egg\acct_mgr\notification.py", line 41, in user_created notifier.notify(username, 'New user registration') File "build\bdist.win32\egg\acct_mgr\notification.py", line 90, in notify NotifyEmail.notify(self, username, subject) File "C:\Python26\lib\site-packages\trac-0.11.7-py2.6-win32.egg\trac\notification.py", line 241, in notify Notify.notify(self, resid) File "C:\Python26\lib\site-packages\trac-0.11.7-py2.6-win32.egg\trac\notification.py", line 135, in notify self.send(torcpts, ccrcpts) File "build\bdist.win32\egg\acct_mgr\notification.py", line 164, in send NotificationSystem(self.env).send_email(msg['From'], recipients, AttributeError: 'NotificationSystem' object has no attribute 'send_email'
Attachments (0)
Note:
See TracTickets
for help on using tickets.
PluginIssue (th:AccountManagerPlugin).