WordPress.org

Making WordPress.org

Opened 4 years ago

Closed 4 years ago

#999 closed defect (worksforme)

OperationalError: (1290, 'The MySQL server is running with the --read-only option so it cannot execute this statement')

Reported by: iseulde Owned by:
Milestone: Priority: normal
Component: Trac Keywords:
Cc:

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'a2d82026cafd7e48d43aabe1',
 'field_component': u'TinyMCE',
 'field_description': u'We forgot to update it from `ctrl` to `meta`. In 4.2 you have to use `ctrl` instead of `cmd`.\r\n\r\nSee https://github.com/tinymce/tinymce/commit/7de8b6ce3578b063154148c840642d9fd8e7c503.\r\n\r\nDiscovered in #31655.',
 'field_focuses': u'',
 'field_keywords': u'',
 'field_milestone': u'4.2.1',
 'field_owner': u'< default >',
 'field_priority': u'normal',
 'field_reporter': u'iseulde',
 'field_severity': u'normal',
 'field_summary': u'cmd+s does not work to save on a mac',
 'field_type': u'defect (bug)',
 'field_version': u'4.2',
 'sfp_email': u'',
 'sfph_mail': u'',
 'submit': u'Create ticket'}

User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36

System Information

System information not available

Enabled Plugins

Plugin information not available

Python Traceback

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/Trac-1.0.1-py2.7.egg/trac/web/main.py", line 497, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/local/lib/python2.7/dist-packages/Trac-1.0.1-py2.7.egg/trac/web/main.py", line 214, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/local/lib/python2.7/dist-packages/Trac-1.0.1-py2.7.egg/trac/ticket/web_ui.py", line 180, in process_request
    return self._process_newticket_request(req)
  File "/usr/local/lib/python2.7/dist-packages/Trac-1.0.1-py2.7.egg/trac/ticket/web_ui.py", line 465, in _process_newticket_request
    self._do_create(req, ticket) # (redirected if successful)
  File "/usr/local/lib/python2.7/dist-packages/Trac-1.0.1-py2.7.egg/trac/ticket/web_ui.py", line 1289, in _do_create
    ticket.insert()
  File "/usr/local/lib/python2.7/dist-packages/Trac-1.0.1-py2.7.egg/trac/ticket/model.py", line 241, in insert
    [values[name] for name in std_fields])
  File "/usr/local/lib/python2.7/dist-packages/Trac-1.0.1-py2.7.egg/trac/db/util.py", line 65, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
  File "/usr/lib/python2.7/dist-packages/MySQLdb/cursors.py", line 174, in execute
    self.errorhandler(self, exc, value)
  File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
    raise errorclass, errorvalue
OperationalError: (1290, 'The MySQL server is running with the --read-only option so it cannot execute this statement')

Change History (1)

#1 @iseulde
4 years ago

  • Resolution set to worksforme
  • Status changed from new to closed

Fixed.

Note: See TracTickets for help on using tickets.