sqlalchemy error:RuntimeError:reentrant call insider <_io.BufferedReader name=19>

asked 2017-09-30 01:06:51 -0500

lu-meihong gravatar image

updated 2017-09-30 01:14:56 -0500

sqlalchemy version is 1.0.11;the error as follow occurs frequently,thanks for you help

2017-09-26 00:29:45.414 42251 ERROR oslo_db.sqlalchemy.exc_filters [req-60ff3bab-e820-432f-9329-508713fbc6f5 - - - - -] DB exception wrapped.

2017-09-26 00:29:45.414 42251 ERROR oslo_db.sqlalchemy.exc_filters Traceback (most recent call last):

2017-09-26 00:29:45.414 42251 ERROR oslo_db.sqlalchemy.exc_filters File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 1139, in _execute_context

2017-09-26 00:29:45.414 42251 ERROR oslo_db.sqlalchemy.exc_filters context)

2017-09-26 00:29:45.414 42251 ERROR oslo_db.sqlalchemy.exc_filters File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/default.py", line 450, in do_execute

2017-09-26 00:29:45.414 42251 ERROR oslo_db.sqlalchemy.exc_filters cursor.execute(statement, parameters)

2017-09-26 00:29:45.414 42251 ERROR oslo_db.sqlalchemy.exc_filters File "/usr/lib/python2.7/site-packages/pymysql/cursors.py", line 166, in execute

2017-09-26 00:29:45.414 42251 ERROR oslo_db.sqlalchemy.exc_filters result = self._query(query)

2017-09-26 00:29:45.414 42251 ERROR oslo_db.sqlalchemy.exc_filters File "/usr/lib/python2.7/site-packages/pymysql/cursors.py", line 322, in _query

2017-09-26 00:29:45.414 42251 ERROR oslo_db.sqlalchemy.exc_filters conn.query(q)

2017-09-26 00:29:45.414 42251 ERROR oslo_db.sqlalchemy.exc_filters File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 841, in query

2017-09-26 00:29:45.414 42251 ERROR oslo_db.sqlalchemy.exc_filters self._affected_rows = self._read_query_result(unbuffered=unbuffered)

2017-09-26 00:29:45.414 42251 ERROR oslo_db.sqlalchemy.exc_filters File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 1029, in _read_query_result

2017-09-26 00:29:45.414 42251 ERROR oslo_db.sqlalchemy.exc_filters result.read()

2017-09-26 00:29:45.414 42251 ERROR oslo_db.sqlalchemy.exc_filters File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 1312, in read

2017-09-26 00:29:45.414 42251 ERROR oslo_db.sqlalchemy.exc_filters first_packet = self.connection._read_packet() 2017-09-26 00:29:45.414 42251 ERROR oslo_db.sqlalchemy.exc_filters File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 971, in _read_packet 2017-09-26 00:29:45.414 42251 ERROR oslo_db.sqlalchemy.exc_filters packet_header = self._read_bytes(4)

2017-09-26 00:29:45.414 42251 ERROR oslo_db.sqlalchemy.exc_filters File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 998, in _read_bytes

2017-09-26 00:29:45.414 42251 ERROR oslo_db.sqlalchemy.exc_filters data = self._rfile.read(num_bytes)

2017-09-26 00:29:45.414 42251 ERROR oslo_db.sqlalchemy.exc_filters RuntimeError: reentrant call inside <_io.BufferedReader name=15>

2017-09-26 00:29:45.414 42251 ERROR oslo_db.sqlalchemy.exc_filters

edit retag flag offensive close merge delete