Opened 13 years ago

Closed 13 years ago

Last modified 10 years ago

#5379 closed bug (duplicate)

IntegrityError: (1062, "Duplicate entry '[email protected]_href' for key 1")

Reported by: [email protected] Owned by:
Priority: critical Milestone:
Component: ui.core Version: 1.8
Keywords: Cc:
Blocked by: Blocking:


How to Reproduce

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

(please provide additional details here) Appears to be related to cookies, as the error does not occur if cookies are cleared. However, obviously, this also removes any active sessions. Tested in Firefox 3.6, IE 8 and Chrome 4.1.249.

Request parameters:

{'id': u'7'}

System Information

Trac 0.11.1
Python 2.4.3 (#1, May 24 2008, 13:47:28)
[GCC 4.1.2 20070626 (Red Hat 4.1.2-14)]
setuptools 0.6c5
MySQL server: "5.0.45", client: "5.0.45", thread-safe: 0
MySQLdb 1.2.2
Genshi 0.5.1
mod_python 3.2.8
Subversion 1.4.2 (r22196)

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/Trac-0.11.1-py2.4.egg/trac/web/", line 423, in _dispatch_request
  File "/usr/lib/python2.4/site-packages/Trac-0.11.1-py2.4.egg/trac/web/", line 222, in dispatch
  File "/usr/lib/python2.4/site-packages/Trac-0.11.1-py2.4.egg/trac/web/", line 102, in save
    "VALUES(%s,%s,%s,%s)", attrs)
  File "/usr/lib/python2.4/site-packages/Trac-0.11.1-py2.4.egg/trac/db/", line 57, in executemany
    return self.cursor.executemany(sql_escape_percent(sql), args)
  File "build/bdist.linux-i686/egg/MySQLdb/", line 218, in executemany
  File "build/bdist.linux-i686/egg/MySQLdb/", line 312, in _query
  File "build/bdist.linux-i686/egg/MySQLdb/", line 276, in _do_query
IntegrityError: (1062, "Duplicate entry '[email protected]_href' for key 1")

Attachments (1)

jquery_not_defined.png (121.7 KB) - added by [email protected] 13 years ago.
JavaScript error found using Web Developer plug-in in Firefox.

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by [email protected]

Attachment: jquery_not_defined.png added

JavaScript error found using Web Developer plug-in in Firefox.

comment:1 Changed 13 years ago by Rwhitbeck

Resolution: duplicate
Status: newclosed

Request from Web Developer plugin wasn't logged in. There is an existing ticket that deals with this error. Trac ticket filed with Trac to provide a fix.

comment:2 Changed 10 years ago by Scott González

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.