[wp-trac] [WordPress Trac] #52222: OperationalError: database is locked
WordPress Trac
noreply at wordpress.org
Mon Jan 4 22:09:52 UTC 2021
#52222: OperationalError: database is locked
--------------------------+-------------------------------------------
Reporter: philhuhn | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords: needs-design needs-unit-tests
Focuses: |
--------------------------+-------------------------------------------
==== How to Reproduce ====
While doing a POST operation on `/newticket`, Trac issued an internal
error.
''(please provide additional details here)''
Request parameters:
{{{
{u'__FORM_TOKEN': u'1872757b3f411de668095ade',
u'action': u'create',
u'action_create_and_assign_reassign_owner': u'< default >',
u'field_component': u'Media',
u'field_description': u"I have posted this issue
here:\r\n[https://github.com/WordPress/gutenberg/issues/27787]\r\n\r\nI do
not know if this is a bug or not, but it left me unable to do my task
until I figured out how to correct the situation. To reproduce the
issue:\r\n\r\n1.Go to 'Media -> Library'\r\n2.Click on 'an image'\r\n3.On
the Attachment details form, click the Edit Image button at the bottom of
the form.\r\n4.On the Attachment details form, click the Crop button above
the image and 8 anchor squares appear.\r\n5.Drag the bottom anchor up half
way.\r\n6.In the darkened space below the bottom crop line click and all
crop lines disappear.\r\n7.Click the Crop button again and nothing
happens.\r\n\r\nTo correct the issue:\r\n1.Click the Cancel
button.\r\n2.On the Attachment details form, click the Edit Image button
at the bottom of the form.\r\n3.On the Attachment details form, click the
Crop button above the image and 8 anchor squares appear.\r\n\r\nThe best
solution would not lose the 8 anchors, when one clicks the darkened space
below the bottom crop line click.\r\n\r\nPhil",
u'field_focuses': u'',
u'field_keywords': u'needs-design needs-unit-tests',
u'field_severity': u'normal',
u'field_summary': u'Unable to Crop Image when click Crop button',
u'field_type': u'enhancement',
u'field_version': u'',
u'sfp_email': u'',
u'sfph_mail': u'',
u'submit': u'Create ticket'}
}}}
User agent: `Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36`
==== System Information ====
''System information not available''
==== Enabled Plugins ====
''Plugin information not available''
==== Interface Customization ====
''Interface customization information not available''
==== Python Traceback ====
{{{
Traceback (most recent call last):
File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 623, in
_dispatch_request
dispatcher.dispatch(req)
File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 239, in
dispatch
resp = chosen_handler.process_request(req)
File "build/bdist.linux-x86_64/egg/trac/ticket/web_ui.py", line 175, in
process_request
return self._process_newticket_request(req)
File "build/bdist.linux-x86_64/egg/trac/ticket/web_ui.py", line 523, in
_process_newticket_request
self._do_create(req, ticket, action)
File "build/bdist.linux-x86_64/egg/trac/ticket/web_ui.py", line 1382, in
_do_create
ticket.insert()
File "build/bdist.linux-x86_64/egg/trac/ticket/model.py", line 287, in
insert
for c in custom_fields])
File "build/bdist.linux-x86_64/egg/trac/db/api.py", line 155, in
__exit__
self.db.commit()
OperationalError: database is locked
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52222>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list