You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dear team, i try to run the sms_logger script and got this error
***************** sms_logger *****************
*** Staring sms_logger, DB drive: MySQL
*** Connected to broker, authenticating: guest
*** Authenticated. Ready to receive messages
*** Pooling 20 connections
*** Connected to MySQL
*** submit_log table already exist
*** Got resp of an unknown submit_sm: 598b572b-fba2-4918-a6bd-50f53127ff0c
Unhandled Error
Traceback (most recent call last):
File "/home/jasmin/jasmin_log/env/lib/python3.10/site-packages/twisted/internet/defer.py", line 661, in callback
self._startRunCallbacks(result)
File "/home/jasmin/jasmin_log/env/lib/python3.10/site-packages/twisted/internet/defer.py", line 763, in _startRunCallbacks
self._runCallbacks()
File "/home/jasmin/jasmin_log/env/lib/python3.10/site-packages/twisted/internet/defer.py", line 857, in _runCallbacks
current.result = callback( # type: ignore[misc]
File "/home/jasmin/jasmin_log/env/lib/python3.10/site-packages/twisted/internet/defer.py", line 1750, in gotResult
current_context.run(_inlineCallbacks, r, gen, status)
--- ---
File "/home/jasmin/jasmin_log/env/lib/python3.10/site-packages/twisted/internet/defer.py", line 1660, in _inlineCallbacks
result = current_context.run(gen.send, result)
File "/home/jasmin/jasmin_log/sms_logger.py", line 346, in gotConnection
cursor.execute(insert_log, (
File "/home/jasmin/jasmin_log/env/lib/python3.10/site-packages/mysql/connector/cursor_cext.py", line 359, in execute
prepared = self._cnx.prepare_for_mysql(params)
File "/home/jasmin/jasmin_log/env/lib/python3.10/site-packages/mysql/connector/connection_cext.py", line 866, in prepare_for_mysql
result = self._cmysql.convert_to_mysql(*params)
_mysql_connector.MySQLInterfaceError: Python type CommandStatus cannot be converted
Maybe some error with log type?
The text was updated successfully, but these errors were encountered:
Dear team, i try to run the sms_logger script and got this error
***************** sms_logger *****************
*** Staring sms_logger, DB drive: MySQL
*** Connected to broker, authenticating: guest
*** Authenticated. Ready to receive messages
*** Pooling 20 connections
*** Connected to MySQL
*** submit_log table already exist
*** Got resp of an unknown submit_sm: 598b572b-fba2-4918-a6bd-50f53127ff0c
Unhandled Error
Traceback (most recent call last):
File "/home/jasmin/jasmin_log/env/lib/python3.10/site-packages/twisted/internet/defer.py", line 661, in callback
self._startRunCallbacks(result)
File "/home/jasmin/jasmin_log/env/lib/python3.10/site-packages/twisted/internet/defer.py", line 763, in _startRunCallbacks
self._runCallbacks()
File "/home/jasmin/jasmin_log/env/lib/python3.10/site-packages/twisted/internet/defer.py", line 857, in _runCallbacks
current.result = callback( # type: ignore[misc]
File "/home/jasmin/jasmin_log/env/lib/python3.10/site-packages/twisted/internet/defer.py", line 1750, in gotResult
current_context.run(_inlineCallbacks, r, gen, status)
--- ---
File "/home/jasmin/jasmin_log/env/lib/python3.10/site-packages/twisted/internet/defer.py", line 1660, in _inlineCallbacks
result = current_context.run(gen.send, result)
File "/home/jasmin/jasmin_log/sms_logger.py", line 346, in gotConnection
cursor.execute(insert_log, (
File "/home/jasmin/jasmin_log/env/lib/python3.10/site-packages/mysql/connector/cursor_cext.py", line 359, in execute
prepared = self._cnx.prepare_for_mysql(params)
File "/home/jasmin/jasmin_log/env/lib/python3.10/site-packages/mysql/connector/connection_cext.py", line 866, in prepare_for_mysql
result = self._cmysql.convert_to_mysql(*params)
_mysql_connector.MySQLInterfaceError: Python type CommandStatus cannot be converted
Maybe some error with log type?
The text was updated successfully, but these errors were encountered: