Opened 18 years ago
Closed 18 years ago
#5305 closed defect (duplicate)
Keep getting Database is Locked on the SageMC forum!!!!
Reported by: | anonymous | Owned by: | Jonas Borgström |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Oops… Trac detected an internal error: database is lockedIf you think this really should work and you can reproduce it. Then you should consider to report this problem to the Trac team.
Go to http://trac.edgewall.com/ and create a new ticket where you describe the problem, how to reproduce it. Don't forget to include the python traceback found below.
TracGuide — The Trac User and Administration Guide
Python traceback Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/trac/core.py", line 531, in cgi_start
real_cgi_start()
File "/usr/lib/python2.3/site-packages/trac/core.py", line 526, in real_cgi_start
dispatch_request(path_info, args, req, env)
File "/usr/lib/python2.3/site-packages/trac/core.py", line 433, in dispatch_request
req.session = Session.Session(env, req, newsession)
File "/usr/lib/python2.3/site-packages/trac/Session.py", line 51, in init
self.get_session(sid)
File "/usr/lib/python2.3/site-packages/trac/Session.py", line 114, in get_session
self.update_sess_time()
File "/usr/lib/python2.3/site-packages/trac/Session.py", line 101, in update_sess_time
selfmod_time = now
File "/usr/lib/python2.3/site-packages/trac/Session.py", line 59, in setitem
return self.set_var(key, val)
File "/usr/lib/python2.3/site-packages/trac/Session.py", line 145, in set_var
self.req.authname, val, self.sid, key)
File "/usr/lib/python2.3/site-packages/sqlite/main.py", line 237, in execute
self.con._begin()
File "/usr/lib/python2.3/site-packages/sqlite/main.py", line 503, in _begin
self.db.execute("BEGIN")
OperationalError: database is locked
This is a well-known issue. See #3446, #3503, etc. Also suggest to the site in question to upgrade to version 0.10.4 of trac.