Modify

Opened 17 years ago

Closed 4 years ago

#1905 closed defect (wontfix)

column rev is not unique

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

Description

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/main.py", line 406, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 191, in dispatch
    chosen_handler = self._pre_process_request(req, chosen_handler)
  File "/usr/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/lib/python2.4/site-packages/trac/versioncontrol/api.py", line 73, in pre_process_request
    self.get_repository(req.authname).sync()
  File "build/bdist.linux-i686/egg/p4trac/api.py", line 277, in sync
  File "build/bdist.linux-i686/egg/p4trac/api.py", line 248, in updateCache
  File "build/bdist.linux-i686/egg/p4trac/api.py", line 195, in storeChangesInDB
  File "/usr/lib/python2.4/site-packages/trac/db/util.py", line 50, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
  File "/usr/lib/python2.4/site-packages/sqlite/main.py", line 255, in execute
    self.rs = self.con.db.execute(SQL % parms)
IntegrityError: column rev is not unique

Thanks, Georg

Attachments (0)

Change History (2)

comment:1 Changed 17 years ago by ttressieres

Owner: changed from Lewis Baker to ttressieres
Status: newassigned

comment:2 Changed 4 years ago by Ryan J Ollos

Resolution: wontfix
Status: assignedclosed

Plugin is deprecated.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain ttressieres.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.