Bug Tracker

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#13302 closed bug (notabug)

Can't register: IntegrityError: (1062, "Duplicate entry 'BiAiB-1-email' for key 'PRIMARY'")

Reported by: BiAiB Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: git
Keywords: Cc:
Blocked by: Blocking:


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'c43be6b5018d50f0c0632c3d',
 'action': u'create',
 'email': u'[email protected]',
 'name': u'Rodolphe',
 'password': u'thisneither',
 'password_confirm': u'thisneither',
 'user': u'BiAiB'}

User agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.27 (KHTML, like Gecko) Chrome/26.0.1386.0 Safari/537.27

System Information

System information not available

Enabled Plugins

Plugin information not available

Python Traceback

Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.1-py2.6.egg/trac/web/main.py", line 511, in _dispatch_request
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.1-py2.6.egg/trac/web/main.py", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/local/lib/python2.6/dist-packages/TracAccountManager-0.2.1dev_r9276-py2.6.egg/acct_mgr/web_ui.py", line 394, in process_request
    _create_user(req, self.env)
  File "/usr/local/lib/python2.6/dist-packages/TracAccountManager-0.2.1dev_r9276-py2.6.egg/acct_mgr/web_ui.py", line 141, in _create_user
    (user, key, value))
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.1-py2.6.egg/trac/db/util.py", line 65, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
  File "/usr/lib/pymodules/python2.6/MySQLdb/cursors.py", line 166, in execute
    self.errorhandler(self, exc, value)
  File "/usr/lib/pymodules/python2.6/MySQLdb/connections.py", line 35, in defaulterrorhandler
    raise errorclass, errorvalue
IntegrityError: (1062, "Duplicate entry 'BiAiB-1-email' for key 'PRIMARY'")

====After==== When I try again I have this new error: ERROR

"Another account or group with that name already exists."

But I can't log in with the credentials I used, neither do I received any confirmation email.

Change History (2)

comment:1 Changed 10 years ago by dmethvin

Resolution: notabug
Status: newclosed

I suspect you may have pressed register a second time thinking it hadn't completed, we know our Trac setup could use some work. Let us know if you can't register with a different name. I'll close this since our internal infrastructure setup already has an action item.

comment:2 Changed 10 years ago by dmethvin

#13295 is a duplicate of this ticket.

Note: See TracTickets for help on using tickets.