Ticket #2206 (new defect)

Opened 11 months ago

Trac - "forgot password" causes errors

Reported by: wojtek Owned by: aoneil
Priority: medium Milestone:
Component: (Unknown) Version:
Severity: medium effort / impact Keywords:
Cc: Hours:

Description

Oops…
Trac detected an internal error:

TypeError: int argument required

There was an internal error in Trac. It is recommended that you inform your local Trac administrator and give him all the information he needs to reproduce the issue.

To that end, you could ==== How to Reproduce ==== While doing a POST operation on `/reset_password`, Trac issued an internal error. ''(please provide additional details here)'' Request parameters: {{{ {'__FORM_TOKEN': u'd82329998f594fdd491468d0', 'email': u'wojtek.szkutnik@gmail.com', 'username': u'wojtek'} }}} ==== System Information ==== || '''Trac''' || `0.11dev-r46565` || || '''Python''' || `2.4.4 (#1, Oct 20 2006, 00:18:53) ` [[br]] `[GCC 4.1.2 20061015 (prerelease) (Debian 4.1.1-16.1)]` || || '''setuptools''' || `0.6c3` || || '''MySQL''' || `server: "5.0.24a-Debian_9-log", client: "5.0.32", thread-safe: 0` || || '''MySQLdb''' || `1.2.1_p2` || || '''Genshi''' || `0.4.1` || || '''Pygments''' || `0.6` || || '''Subversion''' || `1.4.2 (r22196)` || ==== Python Traceback ==== {{{ Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/Trac-0.11dev_r46565-py2.4.egg/trac/web/main.py", line 428, in dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.4/site-packages/Trac-0.11dev_r46565-py2.4.egg/trac/web/main.py", line 216, in dispatch resp = chosen_handler.process_request(req) File "build/bdist.linux-i686/egg/acct_mgr/web_ui.py", line 158, in process_request File "build/bdist.linux-i686/egg/acct_mgr/web_ui.py", line 195, in _do_reset_password File "build/bdist.linux-i686/egg/acct_mgr/web_ui.py", line 113, in notify File "/usr/lib/python2.4/site-packages/Trac-0.11dev_r46565-py2.4.egg/trac/notification.py", line 219, in notify Notify.notify(self, resid) File "/usr/lib/python2.4/site-packages/Trac-0.11dev_r46565-py2.4.egg/trac/notification.py", line 114, in notify self.env.log.info("#%d, to: %s, cc: %s" % (resid, torcpts, ccrcpts)) TypeError: int argument required }}} a ticket at this site.

The action that triggered the error was:

POST: /reset_password

after entering the correct username and e-mail

Note: See TracTickets for help on using tickets.