#1661: Database locks after an error involving database with mod_python
---------------------------------+------------------------------------------
Reporter: sam | Owner: cmlenz
Type: defect | Status: reopened
Priority: highest | Milestone:
Component: mod_python frontend | Version: 0.9.4
Severity: critical | Resolution:
Keywords: database locked |
---------------------------------+------------------------------------------
Changes (by anonymous):
* version: devel => 0.9.4
* status: closed => reopened
* resolution: worksforme =>
* priority: high => highest
* cc: [EMAIL PROTECTED] => [EMAIL PROTECTED], [EMAIL PROTECTED]
Comment:
We get the same error. We have installed trac 0.9.4, sqlite 3.3.4 and
pysqlite 2.1.3 on a SUSE 9.0. sqlite was compiled with --enable-
threadsafe.
Trac is installed as fastcgi with apache 2.
The problem is usually noticed when somebody tries to login to trac.
{{{
Oops...
Trac detected an internal error:
database is locked
If 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 227 The Trac User and Administration Guide
Python traceback
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/trac/web/fcgi_frontend.py", line
40, in _handler
dispatch_request(req.path_info, req, env)
File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 139, in
dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 107, in
dispatch
resp = chosen_handler.process_request(req)
File "/usr/lib/python2.3/site-packages/trac/web/auth.py", line 82, in
process_request
self._do_login(req)
File "/usr/lib/python2.3/site-packages/trac/web/auth.py", line 118, in
_do_login
db.commit()
OperationalError: database is locked
}}}
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/1661>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-tickets