Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

#4755 closed defect (duplicate)

duplicate key error in revision table

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

Description (last modified by Christian Boos)

Python Traceback

Traceback (most recent call last):
  File "/usr/local/lib/python2.4/site-packages/trac/web/main.py", line 387, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/local/lib/python2.4/site-packages/trac/web/main.py", line 191, in dispatch
    chosen_handler = self._pre_process_request(req, chosen_handler)
  File "/usr/local/lib/python2.4/site-packages/trac/web/main.py", line 263, in _pre_process_request
    chosen_handler = f.pre_process_request(req, chosen_handler)
  File "/usr/local/lib/python2.4/site-packages/trac/versioncontrol/api.py", line 73, in pre_process_request
    self.get_repository(req.authname) # triggers a sync if applicable
  File "/usr/local/lib/python2.4/site-packages/trac/versioncontrol/api.py", line 101, in get_repository
    repos = self._connector.get_repository(rtype, rdir, authname)
  File "/usr/local/lib/python2.4/site-packages/trac/versioncontrol/svn_fs.py", line 260, in get_repository
    crepos = CachedRepository(self.env.get_db_cnx(), repos, None, self.log)
  File "/usr/local/lib/python2.4/site-packages/trac/versioncontrol/cache.py", line 34, in __init__
    self.sync()
  File "/usr/local/lib/python2.4/site-packages/trac/versioncontrol/cache.py", line 88, in sync
    "VALUES (%s,%s,%s,%s)", (str(current_rev),
  File "/usr/local/lib/python2.4/site-packages/trac/db/util.py", line 50, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
  File "/usr/local/lib/python2.4/site-packages/trac/db/util.py", line 50, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
IntegrityError: duplicate key violates unique constraint "revision_pkey"

Attachments (0)

Change History (1)

comment:1 by Christian Boos, 18 years ago

Description: modified (diff)
Resolution: duplicate
Status: newclosed
Summary: can't chat with MSN clients (names appear but they appear unavailable even when on MSN they aren't)duplicate key error in revision table

Mm, this ticket looks suspicious.

With a summary of "can't chat with MSN clients (names appear but they appear unavailable even when on MSN they aren't)", a "Rivergallery" and only a backtrace in the description, looks like a spam ticket…

Anyway, the backtrace itself is probably due to #4586, so let's consider this as a duplicate.

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.