Edgewall Software

Ticket #7045 (closed defect: duplicate)

Opened 8 months ago

Last modified 8 months ago

IntegrityError: duplicate key violates unique constraint "session_pk"

Reported by: anonymous Owned by: cmlenz
Priority: highest Milestone:
Component: admin/console Version:
Severity: blocker Keywords:
Cc:

Description

How to Reproduce

While doing a GET operation on /report/13, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'id': u'13'}

System Information

Trac 0.11dev-r6683
Python 2.4.3 (#2, Oct 6 2006, 07:49:22)
[GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5)]
setuptools 0.6c7
psycopg2 2.0.5.1
Genshi 0.5dev-r801
Pygments 0.9
Subversion 1.3.2 (r19776)

Python Traceback

Traceback (most recent call last):
  File "/usr/local/virtualenv/lib/python2.4/site-packages/Trac-0.11dev_r6683-py2.4.egg/trac/web/main.py", line 419, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/local/virtualenv/lib/python2.4/site-packages/Trac-0.11dev_r6683-py2.4.egg/trac/web/main.py", line 221, in dispatch
    req.session.save()
  File "/usr/local/virtualenv/lib/python2.4/site-packages/Trac-0.11dev_r6683-py2.4.egg/trac/web/session.py", line 175, in save
    (self.sid, self.last_visit, authenticated))
  File "/usr/local/virtualenv/lib/python2.4/site-packages/Trac-0.11dev_r6683-py2.4.egg/trac/db/util.py", line 50, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
  File "/usr/local/virtualenv/lib/python2.4/site-packages/Trac-0.11dev_r6683-py2.4.egg/trac/db/util.py", line 50, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
IntegrityError: duplicate key violates unique constraint "session_pk"


Attachments

Change History

Changed 8 months ago by cboos

  • status changed from new to closed
  • resolution set to duplicate

Ok, I'm going to hate the semi-automatic bug report feature ...

Please check for duplicates first before creating the ticket. You even had a nice "Search" button that would have done that for you.

search:'duplicate key violates unique constraint "session_pk"' -> #7007.

Add/Change #7045 (IntegrityError: duplicate key violates unique constraint "session_pk")

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from cmlenz. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.