Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

#6578 closed defect (duplicate)

Trac detected an internal error: OperationalError: database is locked

Reported by: t.schneider@… Owned by: Christian Boos
Priority: highest Milestone:
Component: wiki system Version: 0.11b1
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

While doing a GET operation on /wiki/DailyNews, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'page': u'DailyNews'}

System Information

Trac 0.11b1
Python 2.4.1 (#1, Sep 13 2005, 00:39:20)
[GCC 4.0.2 20050901 (prerelease) (SUSE Linux)]
setuptools 0.6c7
SQLite 3.2.2
pysqlite 2.0.7
Genshi 0.4.4
Subversion 1.4.6 (r28521)

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/web/main.py", line 398, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/web/main.py", line 171, in dispatch
    chosen_handler)
  File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/web/main.py", line 284, in _pre_process_request
    chosen_handler = filter_.pre_process_request(req, chosen_handler)
  File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/versioncontrol/api.py", line 79, in pre_process_request
    self.get_repository(req.authname).sync()
  File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/versioncontrol/cache.py", line 80, in sync
    cursor.execute("SELECT name, value FROM system WHERE name IN (%s)" %
  File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/db/util.py", line 51, in execute
    return self.cursor.execute(sql)
  File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/db/sqlite_backend.py", line 58, in execute
    args or [])
  File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/db/sqlite_backend.py", line 50, in _rollback_on_error
    return function(self, *args, **kwargs)
OperationalError: database is locked

Attachments (0)

Change History (1)

comment:1 by Christian Boos, 17 years ago

Milestone: 0.11.1
Resolution: duplicate
Status: newclosed

Duplicate of either #3446 or #4929.

If your situation is the one of #4929, then please follow-up there with the relevant information about your system configuration.

In all cases, upgrade to a more recent PySqlite release (2.4.1 is perfect).

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christian Boos 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.