Skip to main content

Bug Tracker

Side navigation

#13302 closed bug (notabug)

Opened January 22, 2013 04:19PM UTC

Closed January 26, 2013 06:52PM UTC

Last modified January 26, 2013 06:53PM UTC

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:
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'c43be6b5018d50f0c0632c3d',
 'action': u'create',
 'email': u'youwontneedthis@gmail.com',
 '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
    dispatcher.dispatch(req)
  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.

Attachments (0)
Change History (2)

Changed January 26, 2013 06:52PM UTC by dmethvin comment:1

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.

Changed January 26, 2013 06:53PM UTC by dmethvin comment:2

#13295 is a duplicate of this ticket.