Opened 12 years ago

Closed 12 years ago

#1227 closed Defect (worksforme)

OperationalError: database is locked

Reported by: amine548 Owned by:
Priority: Undetermined Milestone: Undetermined
Component: Undetermined Version: 7.0.45
Keywords: Cc:

Description

Comment reproduire

En exécutant une opération GET sur /query, Trac a levé une erreur interne.

(merci de fournir de plus amples détails ici)

Paramètres de la requête :

{'group': u'status',
 'milestone': u'Undetermined',
 'status': [u'assigned', u'new', u'reopened']}

User agent: #USER_AGENT#

Information système

Information système non disponible

Extensions activées

Information sur les extensions non disponible

Pile d'appel Python

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/trac/web/main.py", line 522, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.7/site-packages/trac/web/main.py", line 266, in dispatch
    req.session.save()
  File "/usr/lib/python2.7/site-packages/trac/web/session.py", line 105, in save
    @self.env.with_transaction()
  File "/usr/lib/python2.7/site-packages/trac/db/api.py", line 77, in transaction_wrapper
    fn(ldb)
  File "/usr/lib/python2.7/site-packages/trac/web/session.py", line 140, in save_session
    """, (self.sid, authenticated))
  File "/usr/lib/python2.7/site-packages/trac/db/util.py", line 65, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
  File "/usr/lib/python2.7/site-packages/trac/db/sqlite_backend.py", line 78, in execute
    result = PyFormatCursor.execute(self, *args)
  File "/usr/lib/python2.7/site-packages/trac/db/sqlite_backend.py", line 56, in execute
    args or [])
  File "/usr/lib/python2.7/site-packages/trac/db/sqlite_backend.py", line 48, in _rollback_on_error
    return function(self, *args, **kwargs)
OperationalError: database is locked

Change History (1)

comment:1 Changed 12 years ago by Christian Beer

Resolution: worksforme
Status: newclosed

This was just a trac/database hiccup. The query works again.

Note: See TracTickets for help on using tickets.