Trac Lockup - Maybe you wont invalid it this time
|Reported by:||Owned by:||daniel|
Here is what is happening since I have nailed down the source. If I have an open trac-admin to a given trac environment, and someone goes to click on the "Timeline" the svn-repo gets locked.
We have to run svnadmin recover to unlock the DB, because unless we do this no one can view the Timeline or Browse the source even when we exit trac-admin.
Here is a stack trace from the problem:
Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/trac/core.py", line 525, in cgi_start real_cgi_start() File "/usr/lib/python2.3/site-packages/trac/core.py", line 520, in real_cgi_start dispatch_request(path_info, args, req, env) File "/usr/lib/python2.3/site-packages/trac/core.py", line 414, in dispatch_request auth_cookie = authenticator.login(req) File "/usr/lib/python2.3/site-packages/trac/auth.py", line 45, in login int(time.time())); 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