Edgewall Software
Modify

Opened 10 years ago

Closed 10 years ago

#12071 closed defect (duplicate)

OperationalError: database is locked

Reported by: musa.al-ghazali@… 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'cd68ed3d66b964c67a34df02',
 'field_cc': u'',
 'field_checkbox_public': u'1',
 'field_description': u'Hi, \r\nWe have enabled monitoring of Logpoint servers again since the system is not so loaded like before.\r\nBut we still got some few alarms from the LogPoint servers.\r\n1. The UdpDropped Upper Threshold are Exceeded with 38,12\r\nI have a question, why do we have UdpDropped on Searchhead, thought only we have it on the data collector?\r\nattach image\r\n\r\n2. MaxQQueueSize - DC2LP1-SH1\r\nCritical Upper Threshold Exceeded. Current value: 5157266.00, Threshold: 4000000.00\r\nattach image.\r\n',
 'field_reporter': u'musa.al-ghazali@regionh.dk',
 'field_severity': u'critical',
 'field_summary': u'CIMT: UdpDropped - DC2LP1-SH1',
 '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)

Change History (1)

comment:1 by Jun Omae, 10 years ago

Resolution: duplicate
Status: newclosed

You've created the same of #12061. Also, that's a duplicate of #3446, one of MostFrequentDuplicates. Please search tickets before submit a new ticket!

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.