id,summary,reporter,owner,description,type,status,priority,component,severity,resolution,keywords,cc,release
9246,InternalError when refresh_passwd = true,wizpig64,hasienda,Was really going insane with configuring my new trac server and this plugin_ until i started over and logged out and in at each step. Found the issue here_ when Admin > Accounts > Configuration > Password Refresh is enabled. \r\n\r\nI found and disabled it here in the trac.ini file:\r\n\r\n{{{\r\n[account-manager]\r\nrefresh_passwd = false\r\n}}}\r\n\r\n\r\nWhen the above is enabled_ logging in gives this error_ likely during the process which re-encrypts the password of course:\r\n\r\n{{{\r\nTraceback (most recent call last):\r\n  File "c:\\docume~1\\david\\locals~1\\temp\\easy_install-gddpnv\\Trac-0.12.2-py2.6-win32.egg.tmp\\trac\\web\\api.py"_ line 440_ in send_error\r\n    data_ 'text/html')\r\n  File "c:\\docume~1\\david\\locals~1\\temp\\easy_install-gddpnv\\Trac-0.12.2-py2.6-win32.egg.tmp\\trac\\web\\chrome.py"_ line 827_ in render_template\r\n    message = req.session.pop('chrome.%s.%d' % (type__ i))\r\n  File "c:\\docume~1\\david\\locals~1\\temp\\easy_install-gddpnv\\Trac-0.12.2-py2.6-win32.egg.tmp\\trac\\web\\api.py"_ line 216_ in __getattr__\r\n    value = self.callbacks[name](self)\r\n  File "c:\\docume~1\\david\\locals~1\\temp\\easy_install-gddpnv\\Trac-0.12.2-py2.6-win32.egg.tmp\\trac\\web\\main.py"_ line 300_ in _get_session\r\n    return Session(self.env_ req)\r\n  File "c:\\docume~1\\david\\locals~1\\temp\\easy_install-gddpnv\\Trac-0.12.2-py2.6-win32.egg.tmp\\trac\\web\\session.py"_ line 192_ in __init__\r\n    if req.authname == 'anonymous':\r\n  File "c:\\docume~1\\david\\locals~1\\temp\\easy_install-gddpnv\\Trac-0.12.2-py2.6-win32.egg.tmp\\trac\\web\\api.py"_ line 216_ in __getattr__\r\n    value = self.callbacks[name](self)\r\n  File "c:\\docume~1\\david\\locals~1\\temp\\easy_install-gddpnv\\Trac-0.12.2-py2.6-win32.egg.tmp\\trac\\web\\main.py"_ line 159_ in authenticate\r\n    authname = authenticator.authenticate(req)\r\n  File "build\\bdist.win32\\egg\\acct_mgr\\web_ui.py"_ line 489_ in wrap\r\n    return func(self_ *args_ **kwds)\r\n  File "build\\bdist.win32\\egg\\acct_mgr\\web_ui.py"_ line 510_ in authenticate\r\n    user = self._remote_user(req)\r\n  File "build\\bdist.win32\\egg\\acct_mgr\\web_ui.py"_ line 790_ in _remote_user\r\n    if acctmgr.check_password(user_ password) == True:\r\n  File "build\\bdist.win32\\egg\\acct_mgr\\api.py"_ line 306_ in check_password\r\n    valid = store.check_password(user_ password)\r\n  File "build\\bdist.win32\\egg\\acct_mgr\\db.py"_ line 99_ in check_password\r\n    """_ (self.key_ user))\r\n  File "c:\\docume~1\\david\\locals~1\\temp\\easy_install-gddpnv\\Trac-0.12.2-py2.6-win32.egg.tmp\\trac\\db\\util.py"_ line 65_ in execute\r\n    return self.cursor.execute(sql_escape_percent(sql)_ args)\r\nInternalError: current transaction is aborted_ commands ignored until end of transaction block\r\n}}}\r\n\r\n\r\nIf there's any more information i can give about my setup that might be causing this_ let me know how I can help.,defect,closed,normal,AccountManagerPlugin,normal,fixed,refresh_passwd password refresh,,0.11
