Modify

Opened 17 years ago

Closed 3 years ago

#2185 closed defect (wontfix)

Locked database after cancelled operation

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

Description

I stopped the tracd service while the perforce plugin was (I believe) enumerating changesets on a large database. This error message resulted the next time I ran tracd and connected a web browser:

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 406, in 
dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 191, in 
dispatch
    chosen_handler = self._pre_process_request(req, chosen_handler)
  File "/usr/lib/python2.5/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.5/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 227, in sync
    self.updateCache(fromChange=youngestStored+1)
  File "build/bdist.linux-i686/egg/p4trac/api.py", line 203, in 
updateCache
    self.storeChangesInDB(changes)
  File "build/bdist.linux-i686/egg/p4trac/api.py", line 156, in 
storeChangesInDB
    cs.message))
  File "/usr/lib/python2.5/site-packages/trac/db/util.py", line 50, in 
execute
    return self.cursor.execute(sql_escape_percent(sql), args)
  File "/usr/lib/python2.5/site-packages/trac/db/sqlite_backend.py", line 
56, in execute
    args or [])
  File "/usr/lib/python2.5/site-packages/trac/db/sqlite_backend.py", line 
48, in _rollback_on_error
    return function(self, *args, **kwargs)
OperationalError: database is locked

Attachments (0)

Change History (2)

comment:1 Changed 17 years ago by ttressieres

Status: newassigned

comment:2 Changed 3 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.