Edgewall Software
Modify

Opened 16 years ago

Closed 16 years ago

#7302 closed defect (duplicate)

IntegrityError: duplicate key violates unique constraint "session_attribute_pk"

Reported by: anonymous Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

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

(please provide additional details here)

Request parameters:

{'id': u'10'}

System Information

Trac 0.11dev-r7176
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-r847
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_r7176-py2.4.egg/trac/web/main.py", line 423, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/local/virtualenv/lib/python2.4/site-packages/Trac-0.11dev_r7176-py2.4.egg/trac/web/main.py", line 222, in dispatch
    req.session.save()
  File "/usr/local/virtualenv/lib/python2.4/site-packages/Trac-0.11dev_r7176-py2.4.egg/trac/web/session.py", line 93, in save
    "VALUES(%s,%s,%s,%s)", attrs)
  File "/usr/local/virtualenv/lib/python2.4/site-packages/Trac-0.11dev_r7176-py2.4.egg/trac/db/util.py", line 57, in executemany
    return self.cursor.executemany(sql_escape_percent(sql), args)
  File "/usr/local/virtualenv/lib/python2.4/site-packages/Trac-0.11dev_r7176-py2.4.egg/trac/db/util.py", line 57, in executemany
    return self.cursor.executemany(sql_escape_percent(sql), args)
IntegrityError: duplicate key violates unique constraint "session_attribute_pk"


Attachments (0)

Change History (1)

comment:1 by Emmanuel Blot, 16 years ago

Resolution: duplicate
Status: newclosed

multi-duplicate. Search for "session_attribute_pk"

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.