Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

#4401 closed defect (worksforme)

Internal error while searching: database table is locked

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

Description

My trac installation is producing this error anytime that I try and search trac.

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 387, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 238, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.4/site-packages/trac/Search.py", line 181, in process_request
    results += list(source.get_search_results(req, terms, filters))
  File "/usr/lib/python2.4/site-packages/trac/versioncontrol/web_ui/changeset.py", line 765, in get_search_results
    if not repos.authz.has_permission_for_changeset(rev):
  File "/usr/lib/python2.4/site-packages/trac/versioncontrol/svn_authz.py", line 96, in has_permission_for_changeset
    changeset = self.repos.get_changeset(rev)
  File "/usr/lib/python2.4/site-packages/trac/versioncontrol/cache.py", line 41, in get_changeset
    self.sync()
  File "/usr/lib/python2.4/site-packages/trac/versioncontrol/cache.py", line 95, in sync
    "VALUES (%s,%s,%s,%s)", (str(current_rev),
  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/trac/db/sqlite_backend.py", line 56, in execute
    args or [])
  File "/usr/lib/python2.4/site-packages/trac/db/sqlite_backend.py", line 48, in _rollback_on_error
    return function(self, *args, **kwargs)
OperationalError: database table is locked

Attachments (0)

Change History (1)

comment:1 by Christian Boos, 18 years ago

Resolution: worksforme
Status: newclosed

Most certainly fixed in 0.10.3. Please reopen if this is not the case after having upgraded.

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.