Modify ↓
Opened 11 years ago
Closed 11 years ago
#12072 closed defect (duplicate)
OperationalError: database is locked
| Reported by: | Owned by: | ||
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | general | Version: | 0.12.2 |
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
How to Reproduce
While doing a POST operation on /newticket, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{'__FORM_TOKEN': u'4c80c1b60aee65b2b1fed2fd',
'attachment': u'on',
'field_cc': u'',
'field_checkbox_public': u'1',
'field_description': u'There is a missing searchabel event field in the REPO PGP_Computers. The field that is missing is the user-field. See attached screenshot. It is important to be able to search on this field to connect computer with user.\r\nWith regards,\r\nJonas Rendahl',
'field_reporter': u'jonas.rendahl@alfalaval.com',
'field_severity': u'critical',
'field_summary': u'Missing searchabel event field in REPO',
'field_type': u'defect',
'submit': u'Create ticket'}
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36
System Information
Trac | 0.12.2
|
Docutils | 0.8.1
|
Genshi | 0.6
|
Pygments | 1.4
|
pysqlite | 2.6.0
|
Python | 2.7.3 (default, Feb 27 2014, 19:58:35) [GCC 4.6.3]
|
setuptools | 7.0
|
SQLite | 3.7.9
|
jQuery | 1.4.2
|
Enabled Plugins
CustomerIntegration | 1.0
|
FlexibleAssignTo | 0.8.13
|
TracAccountManager | 0.2.1dev-r4679
|
Python Traceback
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Trac-0.12.2-py2.7.egg/trac/web/main.py", line 511, in _dispatch_request
dispatcher.dispatch(req)
File "/usr/local/lib/python2.7/dist-packages/Trac-0.12.2-py2.7.egg/trac/web/main.py", line 237, in dispatch
resp = chosen_handler.process_request(req)
File "/usr/local/lib/python2.7/dist-packages/Trac-0.12.2-py2.7.egg/trac/ticket/web_ui.py", line 170, in process_request
return self._process_newticket_request(req)
File "/usr/local/lib/python2.7/dist-packages/Trac-0.12.2-py2.7.egg/trac/ticket/web_ui.py", line 443, in _process_newticket_request
self._do_create(req, ticket) # (redirected if successful)
File "/usr/local/lib/python2.7/dist-packages/Trac-0.12.2-py2.7.egg/trac/ticket/web_ui.py", line 1266, in _do_create
ticket.insert()
File "/usr/local/lib/python2.7/dist-packages/Trac-0.12.2-py2.7.egg/trac/ticket/model.py", line 233, in insert
@self.env.with_transaction(db)
File "/usr/local/lib/python2.7/dist-packages/Trac-0.12.2-py2.7.egg/trac/db/api.py", line 78, in transaction_wrapper
ldb.commit()
OperationalError: database is locked
Attachments (0)
Note:
See TracTickets
for help on using tickets.



It has been reported on the same environment of #12061 and #12071. Don't report the same issue. Please search tickets before submitting a new ticket!