How to Reproduce
While doing a POST operation on /prefs/account, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{'__FORM_TOKEN': u'd08ffb504b3328d5959faa25',
'action': u'save',
'old_password': u'AdNyOfBb',
'panel_id': u'account',
'password': u'Xy-04#eA@3271',
'password_confirm': u'Xy-04#eA@3271'}
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.122 Safari/534.30
| Trac | 0.12.2
|
| Babel | 0.9.5
|
| Genshi | 0.6
|
| mod_wsgi | 2.5 (WSGIProcessGroup WSGIApplicationGroup %{GLOBAL})
|
| MySQL | server: "5.1.56-0.dotdeb.0", client: "5.0.51a", thread-safe: 1
|
| MySQLdb | 1.2.2
|
| Python | 2.5.2 (r252:60911, Jan 24 2010, 18:02:01) [GCC 4.3.2]
|
| setuptools | 0.6c8
|
| Subversion | 1.5.1 (r32289)
|
| jQuery | 1.4.2
|
Enabled Plugins
| TracAccountManager | 0.2.1dev-r7163
|
| TracWysiwyg | 0.11.0.2-r8148
|
Python Traceback
Traceback (most recent call last):
File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 511, in _dispatch_request
dispatcher.dispatch(req)
File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 237, in dispatch
resp = chosen_handler.process_request(req)
File "build/bdist.linux-x86_64/egg/trac/prefs/web_ui.py", line 77, in process_request
template, data = chosen_provider.render_preference_panel(req, panel_id)
File "build/bdist.linux-x86_64/egg/acct_mgr/web_ui.py", line 189, in render_preference_panel
data = {'account': self._do_account(req)}
File "build/bdist.linux-x86_64/egg/acct_mgr/web_ui.py", line 239, in _do_account
data.update(self._do_change_password(req))
File "build/bdist.linux-x86_64/egg/acct_mgr/web_ui.py", line 316, in _do_change_password
mgr.set_password(user, password)
File "build/bdist.linux-x86_64/egg/acct_mgr/api.py", line 131, in set_password
self._notify('password_changed', user, password)
File "build/bdist.linux-x86_64/egg/acct_mgr/api.py", line 238, in _notify
getattr(l, func)(*args)
File "build/bdist.linux-x86_64/egg/acct_mgr/notification.py", line 46, in user_password_changed
notifier.notify(username, 'Password reset for user')
File "build/bdist.linux-x86_64/egg/acct_mgr/notification.py", line 79, in notify
NotifyEmail.notify(self, username, subject)
File "build/bdist.linux-x86_64/egg/trac/notification.py", line 324, in notify
Notify.notify(self, resid)
File "build/bdist.linux-x86_64/egg/trac/notification.py", line 226, in notify
self.send(torcpts, ccrcpts)
File "build/bdist.linux-x86_64/egg/acct_mgr/notification.py", line 149, in send
% (self.smtp_server, self.smtp_port, recipients))
AttributeError: 'AccountChangeNotification' object has no attribute 'smtp_server'