[Pidgin] #8629: internal error in Trac

Pidgin trac at pidgin.im
Wed Mar 11 18:54:56 EDT 2009


#8629: internal error in Trac
----------------------------+-----------------------------------------------
 Reporter:  chickenandporn  |           Owner:  datallah
     Type:  defect          |          Status:  pending 
Milestone:                  |       Component:  trac    
  Version:  2.5.5           |      Resolution:          
 Keywords:                  |   Launchpad_bug:          
----------------------------+-----------------------------------------------
Changes (by datallah):

  * status:  new => pending


Old description:

> I cannot search for existing tickets, so this might be a dupe; I got this
> error searching for existing tickets.
>

>
> Oops…
> Trac detected an internal error:
>
> IntegrityError: duplicate key violates unique constraint
> "session_attribute_pk"
>
> There was an internal error in Trac. It is recommended that you inform
> your local Trac administrator and give him all the information he needs
> to reproduce the issue.
>
> To that end, you could ==== How to Reproduce ==== While doing a GET
> operation on `/query`, Trac issued an internal error. ''(please provide
> additional details here)'' Request parameters: {{{ {'col': [u'id',
> u'summary', u'status', u'owner', u'milestone'], 'max': u'1000', 'order':
> u'priority', 'status': [u'invalid', u'new', u'pending'], 'type':
> u'defect'} }}} ==== System Information ==== || '''Trac''' || `0.11.1` ||
> || '''Python''' || `2.5.2 (r252:60911, Jan 4 2009, 17:40:26) ` [[br]]
> `[GCC 4.3.2]` || || '''setuptools''' || `0.6c8` || || '''psycopg2''' ||
> `2.0.7` || || '''Genshi''' || `0.5.1` || ==== Python Traceback ==== {{{
> Traceback (most recent call last): File "/usr/local/lib/python2.5/site-
> packages/Trac-0.11.1-py2.5.egg/trac/web/main.py", line 423, in
> _dispatch_request dispatcher.dispatch(req) File "/usr/local/lib/python2.5
> /site-packages/Trac-0.11.1-py2.5.egg/trac/web/main.py", line 222, in
> dispatch req.session.save() File "/usr/local/lib/python2.5/site-
> packages/Trac-0.11.1-py2.5.egg/trac/web/session.py", line 103, in save
> "VALUES(%s,%s,%s,%s)", attrs) File "/usr/local/lib/python2.5/site-
> packages/Trac-0.11.1-py2.5.egg/trac/db/util.py", line 57, in executemany
> return self.cursor.executemany(sql_escape_percent(sql), args) File
> "/usr/local/lib/python2.5/site-
> packages/Trac-0.11.1-py2.5.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" }}} a ticket at this site.
>
> The action that triggered the error was:
>
> GET: /query
>
> TracGuide — The Trac User and Administration Guide

New description:

 I cannot search for existing tickets, so this might be a dupe; I got this
 error searching for existing tickets.


 {{{
 Oops…
 Trac detected an internal error:

 IntegrityError: duplicate key violates unique constraint
 "session_attribute_pk"

 There was an internal error in Trac. It is recommended that you inform
 your local Trac administrator and give him all the information he needs to
 reproduce the issue.

 To that end, you could ==== How to Reproduce ==== While doing a GET
 operation on `/query`, Trac issued an internal error. ''(please provide
 additional details here)'' Request parameters: {{{ {'col': [u'id',
 u'summary', u'status', u'owner', u'milestone'], 'max': u'1000', 'order':
 u'priority', 'status': [u'invalid', u'new', u'pending'], 'type':
 u'defect'} }}} ==== System Information ==== || '''Trac''' || `0.11.1` ||
 || '''Python''' || `2.5.2 (r252:60911, Jan 4 2009, 17:40:26) ` [[br]]
 `[GCC 4.3.2]` || || '''setuptools''' || `0.6c8` || || '''psycopg2''' ||
 `2.0.7` || || '''Genshi''' || `0.5.1` || ==== Python Traceback ==== {{{
 Traceback (most recent call last): File "/usr/local/lib/python2.5/site-
 packages/Trac-0.11.1-py2.5.egg/trac/web/main.py", line 423, in
 _dispatch_request dispatcher.dispatch(req) File "/usr/local/lib/python2.5
 /site-packages/Trac-0.11.1-py2.5.egg/trac/web/main.py", line 222, in
 dispatch req.session.save() File "/usr/local/lib/python2.5/site-
 packages/Trac-0.11.1-py2.5.egg/trac/web/session.py", line 103, in save
 "VALUES(%s,%s,%s,%s)", attrs) File "/usr/local/lib/python2.5/site-
 packages/Trac-0.11.1-py2.5.egg/trac/db/util.py", line 57, in executemany
 return self.cursor.executemany(sql_escape_percent(sql), args) File
 "/usr/local/lib/python2.5/site-
 packages/Trac-0.11.1-py2.5.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" }}} a ticket at this site.

 The action that triggered the error was:

 GET: /query

 TracGuide — The Trac User and Administration Guide
 }}}

--

Comment:

 What exactly did you search for (I can't recreate it)?

-- 
Ticket URL: <http://developer.pidgin.im/ticket/8629#comment:1>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list