Opened 11 years ago

Last modified 10 years ago

#1905 assigned defect

column rev is not unique

Reported by: Georg Baumann Owned by: ttressieres
Priority: normal Component: PerforcePlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10


After installing PerforcePlugin and configuring repository_type and repository_dir, i tried to browse the repository. It takes some time and then i get an internal error with no further message but this traceback. Looks like some problem with the sqlite database. I have no other plugins installed.

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/web/", line 406, in dispatch_request
  File "/usr/lib/python2.4/site-packages/trac/web/", line 191, in dispatch
    chosen_handler = self._pre_process_request(req, chosen_handler)
  File "/usr/lib/python2.4/site-packages/trac/web/", line 263, in _pre_process_request
    chosen_handler = f.pre_process_request(req, chosen_handler)
  File "/usr/lib/python2.4/site-packages/trac/versioncontrol/", line 73, in pre_process_request
  File "build/bdist.linux-i686/egg/p4trac/", line 277, in sync
  File "build/bdist.linux-i686/egg/p4trac/", line 248, in updateCache
  File "build/bdist.linux-i686/egg/p4trac/", line 195, in storeChangesInDB
  File "/usr/lib/python2.4/site-packages/trac/db/", line 50, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
  File "/usr/lib/python2.4/site-packages/sqlite/", line 255, in execute = self.con.db.execute(SQL % parms)
IntegrityError: column rev is not unique

Thanks, Georg

Attachments (0)

Change History (1)

comment:1 Changed 10 years ago by ttressieres

Owner: changed from Lewis Baker to ttressieres
Status: newassigned

Modify Ticket

Change Properties
Set your email in Preferences
as assigned The owner will remain ttressieres.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.