Modify

Opened 7 years ago

Last modified 7 years ago

#1905 assigned defect

column rev is not unique

Reported by: andakawwa 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 (1)

comment:1 Changed 7 years ago by ttressieres

  • Owner changed from lewisbaker to ttressieres
  • Status changed from new to assigned

Add Comment

Modify Ticket

Action
as assigned .
Author


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

 
Note: See TracTickets for help on using tickets.