﻿id	summary	reporter	owner	description	type	status	component	version	resolution	keywords	cc	guest	host
14094	"IntegrityError: (1062, ""Duplicate entry 'gabriel.lage@hostrevenda.com' for key 'PRIMARY'"")"	Gabriel Lage		"==== How to Reproduce ====

While doing a POST operation on `/login`, Trac issued an internal error.

''(please provide additional details here)''

Request parameters:
{{{
{'__FORM_TOKEN': u'393486088cb3a67fe57fe219',
 'nick': u'GabrielLage',
 'referer': u'https://www.virtualbox.org/login'}
}}}

User agent: `Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0`

==== System Information ====
''System information not available''

==== Enabled Plugins ====
''Plugin information not available''

==== Python Traceback ====
{{{
Traceback (most recent call last):
  File ""/usr/lib/python2.4/site-packages/trac/web/main.py"", line 513, in _dispatch_request
    dispatcher.dispatch(req)
  File ""/usr/lib/python2.4/site-packages/trac/web/main.py"", line 235, in dispatch
    resp = chosen_handler.process_request(req)
  File ""/usr/lib/python2.4/site-packages/trac/web/auth.py"", line 126, in process_request
    ret = self._do_login(req)
  File ""/usr/lib/python2.4/site-packages/trac/web/auth.py"", line 231, in _do_login
    @self.env.with_transaction()
  File ""/usr/lib/python2.4/site-packages/trac/db/api.py"", line 77, in transaction_wrapper
    fn(ldb)
  File ""/usr/lib/python2.4/site-packages/trac/web/auth.py"", line 236, in store_authnick
    (remote_user, nick))
  File ""/usr/lib/python2.4/site-packages/trac/db/util.py"", line 65, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
  File ""/usr/lib64/python2.4/site-packages/MySQL_python-1.2.4b4-py2.4-linux-x86_64.egg/MySQLdb/cursors.py"", line 202, in execute
    self.errorhandler(self, exc, value)
  File ""/usr/lib64/python2.4/site-packages/MySQL_python-1.2.4b4-py2.4-linux-x86_64.egg/MySQLdb/connections.py"", line 36, in defaulterrorhandler
    raise errorclass, errorvalue
IntegrityError: (1062, ""Duplicate entry 'gabriel.lage@hostrevenda.com' for key 'PRIMARY'"")
}}}"	defect	closed	other	VirtualBox 4.3.26	duplicate			other	other
