#3503: OperationalError: database is locked
-----------------------+----------------------------------------------------
 Reporter:  anonymous  |       Owner:  jonas
     Type:  defect     |      Status:  new  
 Priority:  high       |   Milestone:       
Component:  general    |     Version:  devel
 Severity:  normal     |    Keywords:       
-----------------------+----------------------------------------------------
 recent trunk, trac/web/session.py, line 210, in save, attempts to commit a
 transaction without performing properly error handling.  If an
 OperationalError is raised here, it will propagate all the way up to the
 top of the application without being handled.

 A stacktrace recently logged on my server:

 {{{
           File "/home/trac/Projects/Twisted/trunk/twisted/web2/wsgi.py",
 line 138, in run
             result = self.application(self.environment,
 self.startWSGIResponse)
           File "/home/trac/Run/trac/external.py", line 74, in __call__
             return self.application(environ, start_response)
           File "/home/trac/Run/trac/external.py", line 115, in
 tracApplication
             return trac.web.main.dispatch_request(environ, start_response)
           File "/home/trac/Projects/trac/trunk/trac/web/main.py", line
 367, in dispatch_request
             req.send_error(sys.exc_info(), status=500)
           File "/home/trac/Projects/trac/trunk/trac/web/api.py", line 365,
 in send_error
             exc_info)
           File "/home/trac/Projects/trac/trunk/trac/web/main.py", line
 335, in dispatch_request
             dispatcher.dispatch(req)
           File "/home/trac/Projects/trac/trunk/trac/web/main.py", line
 236, in dispatch
             req.session.save()
           File "/home/trac/Projects/trac/trunk/trac/web/session.py", line
 210, in save
             db.commit()
         pysqlite2.dbapi2.OperationalError: database is locked
 }}}

-- 
Ticket URL: <http://trac.edgewall.org/ticket/3503>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-tickets

Reply via email to