Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

#8749 closed defect (duplicate)

Error: Database is locked

Reported by: ssiddiqui@… Owned by:
Priority: normal Milestone:
Component: general Version: none
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Christian Boos)

Trying to add comments and submit changes in Trac and getting error that database is locked.

Trace as follows.

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 356, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 224, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.4/site-packages/trac/ticket/web_ui.py", line 279, in process_request
    self._do_save(req, db, ticket)
  File "/usr/lib/python2.4/site-packages/trac/ticket/web_ui.py", line 546, in _do_save
    cnum=internal_cnum)
  File "/usr/lib/python2.4/site-packages/trac/ticket/model.py", line 252, in save_changes
    (self.id, when, author, cnum, comment))
  File "/usr/lib/python2.4/site-packages/trac/db/util.py", line 47, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
  File "/usr/lib/python2.4/site-packages/sqlite/main.py", line 237, in execute
    self.con._begin()
  File "/usr/lib/python2.4/site-packages/sqlite/main.py", line 503, in _begin
    self.db.execute("BEGIN")
OperationalError: database is locked

Attachments (0)

Change History (1)

comment:1 by Christian Boos, 15 years ago

Description: modified (diff)
Resolution: duplicate
Status: newclosed

sqlite/main.py, that's SQLite v1, not really supported anymore.

See #3446.

Modify Ticket

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