Opened 9 years ago
Closed 9 years ago
#46 closed defect (wontfix)
AttributeError: 'AccountChangeNotification' object has no attribute 'smtp_server'
Reported by: | lily62 | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | contrib | Version: | tip |
Keywords: | Cc: | dev@freediameter.net | |
Blocked By: | Blocking: |
Description
How to Reproduce
While doing a POST operation on /register
, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{'__FORM_TOKEN': u'1207d6194d94d2321612c93b', 'action': u'create', 'email': u'', 'name': u'', 'password': u'09122256634', 'password_confirm': u'09122256634', 'user': u'lily62'}
User agent: Mozilla/5.0 (Windows NT 6.1; rv:22.0) Gecko/20100101 Firefox/22.0
System Information
System information not available
Enabled Plugins
Plugin information not available
Python Traceback
Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/Trac-1.0.1dev_r11445-py2.7.egg/trac/web/main.py", line 497, in _dispatch_request dispatcher.dispatch(req) File "/usr/local/lib/python2.7/dist-packages/Trac-1.0.1dev_r11445-py2.7.egg/trac/web/main.py", line 214, in dispatch resp = chosen_handler.process_request(req) File "/usr/lib/pymodules/python2.7/acct_mgr/web_ui.py", line 352, in process_request _create_user(req, self.env) File "/usr/lib/pymodules/python2.7/acct_mgr/web_ui.py", line 71, in _create_user mgr.set_password(user, password) File "/usr/lib/pymodules/python2.7/acct_mgr/api.py", line 144, in set_password self._notify('created', user, password) File "/usr/lib/pymodules/python2.7/acct_mgr/api.py", line 253, in _notify getattr(l, func)(*args) File "/usr/lib/pymodules/python2.7/acct_mgr/notification.py", line 41, in user_created notifier.notify(username, 'New user registration') File "/usr/lib/pymodules/python2.7/acct_mgr/notification.py", line 90, in notify NotifyEmail.notify(self, username, subject) File "/usr/local/lib/python2.7/dist-packages/Trac-1.0.1dev_r11445-py2.7.egg/trac/notification.py", line 343, in notify Notify.notify(self, resid) File "/usr/local/lib/python2.7/dist-packages/Trac-1.0.1dev_r11445-py2.7.egg/trac/notification.py", line 231, in notify self.send(torcpts, ccrcpts) File "/usr/lib/pymodules/python2.7/acct_mgr/notification.py", line 160, in send % (self.smtp_server, self.smtp_port, recipients)) AttributeError: 'AccountChangeNotification' object has no attribute 'smtp_server'
Note: See
TracTickets for help on using
tickets.
Is that a trac issue?