mysql / mysql/mysql-shell-plugins
Getting this error: TypeError: DbModuleSession.on_session_message() missing 1 required positional argument: 'result'
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 96
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
Description
2:6:9.888314 ERROR: Thread ServiceSession-ee994889-1081-11f1-bcb4-d89c6776f4c6 exiting with code MySQL Error (1054): Unknown column 'sys' in 'where clause'
Exception in thread sql-ServiceSession-ee994889-1081-11f1-bcb4-d89c6776f4c6:
Traceback (most recent call last):
File "c:\Users\hriti.vscode\extensions\oracle.mysql-shell-for-vs-code-2026.2.0-win32-x64\shell\lib\Python3.13\Lib\threading.py", line 1043, in _bootstrap_inner
self.run()
~~~~~~~~^^
File "c:\Users\hriti.vscode\extensions\oracle.mysql-shell-for-vs-code-2026.2.0-win32-x64\shell\lib\mysqlsh\plugins\gui_plugin\core\dbms\DbSession.py", line 480, in run
self.terminate_thread()
~~~~~~~~~~~~~~~~~~~~~^^
File "c:\Users\hriti.vscode\extensions\oracle.mysql-shell-for-vs-code-2026.2.0-win32-x64\shell\lib\mysqlsh\plugins\gui_plugin\core\dbms\DbSession.py", line 247, in terminate_thread
self._message_callback('ERROR', self.thread_error)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: DbModuleSession.on_session_message() missing 1 required positional argument: 'result'
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the traceback in plugins/gui_plugin/core/dbms/DbSession.py, especially terminate_thread and the call to DbModuleSession.on_session_message. Trace the callback definition and reproduce the MySQL Error 1054 condition; done means the original database error is handled without raising the missing-result TypeError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- mysql, python
- Domain
- database
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100