[Boost-bugs] [Boost C++ Libraries] #4586: OperationalError: database is locked

Subject: [Boost-bugs] [Boost C++ Libraries] #4586: OperationalError: database is locked
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-08-24 06:56:24


#4586: OperationalError: database is locked
------------------------------+---------------------------------------------
 Reporter: anonymous | Owner:
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: None
  Version: Boost 1.44.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------------------------
 ==== How to Reproduce ====

 While doing a POST operation on `/ticket/4258`, Trac issued an internal
 error.

 ''(please provide additional details here)''

 Request parameters:
 {{{
 {'__FORM_TOKEN': u'df472745600ad46e730920bd',
  'action': u'leave',
  'author': u'anonymous',
  'cnum': u'5',
  'comment': u"When adding some preprocessor checks in tss_pe.cpp that
 prevent the declaration _tls_used for MinGW, I've been able to fix this
 problem! All I did was to wrap it with \r\n\r\n#if
 !defined(__MINGW__)\r\n...\r\n#endif",
  'field_component': u'thread',
  'field_keywords': u'',
  'field_milestone': u'Boost 1.43.0',
  'field_severity': u'Problem',
  'field_summary': u'Linking with boost thread does not work on mingw/gcc
 4.5',
  'field_type': u'Bugs',
  'field_version': u'Boost 1.44.0',
  'id': u'4258',
  'replyto': u'4',
  'submit': u'Submit changes',
  'ts': u'2010-06-07 06:50:49+00:00'}
 }}}

 User agent: `Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.8)
 Gecko/20100722 Firefox/3.6.8`

 ==== System Information ====
 ''System information not available''

 ==== Enabled Plugins ====
 ''Plugin information not available''

 ==== Python Traceback ====
 {{{
 Traceback (most recent call last):
   File "build/bdist.linux-i686/egg/trac/web/main.py", line 513, in
 _dispatch_request
     dispatcher.dispatch(req)
   File "build/bdist.linux-i686/egg/trac/web/main.py", line 235, in
 dispatch
     resp = chosen_handler.process_request(req)
   File "build/bdist.linux-i686/egg/trac/ticket/web_ui.py", line 169, in
 process_request
     return self._process_ticket_request(req)
   File "build/bdist.linux-i686/egg/trac/ticket/web_ui.py", line 534, in
 _process_ticket_request
     valid = self._validate_ticket(req, ticket, not valid) and valid
   File "build/bdist.linux-i686/egg/trac/ticket/web_ui.py", line 1179, in
 _validate_ticket
     for field, message in manipulator.validate_ticket(req, ticket):
   File "build/bdist.linux-i686/egg/tracspamfilter/adapters.py", line 67,
 in validate_ticket
     FilterSystem(self.env).test(req, author, changes)
   File "build/bdist.linux-i686/egg/tracspamfilter/api.py", line 133, in
 test
     score, ['%s (%d): %s' % r for r in reasons]).insert()
   File "build/bdist.linux-i686/egg/tracspamfilter/model.py", line 138, in
 insert
     '\n'.join(self.reasons)))
   File "build/bdist.linux-i686/egg/trac/db/util.py", line 65, in execute
     return self.cursor.execute(sql_escape_percent(sql), args)
   File "build/bdist.linux-i686/egg/trac/db/sqlite_backend.py", line 78, in
 execute
     result = PyFormatCursor.execute(self, *args)
   File "build/bdist.linux-i686/egg/trac/db/sqlite_backend.py", line 56, in
 execute
     args or [])
   File "build/bdist.linux-i686/egg/trac/db/sqlite_backend.py", line 48, in
 _rollback_on_error
     return function(self, *args, **kwargs)
 OperationalError: database is locked
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4586>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:04 UTC