Traceback (most recent call last):


 "/home/jaraco/.local/pipx/venvs/xonsh/lib/python3.9/site-packages/xonsh/environ.py", line 2240, in xonsh_script_run_control

run_script_with_cache(filename, execer, ctx)


 "/home/jaraco/.local/pipx/venvs/xonsh/lib/python3.9/site-packages/xonsh/codecache.py", line 160, in run_script_with_cache

ccode = compile_code(filename, code, execer, glb, loc, mode)


 "/home/jaraco/.local/pipx/venvs/xonsh/lib/python3.9/site-packages/xonsh/codecache.py", line 119, in compile_code

ccode = execer.compile(code, glbs=glb, locs=loc, mode=mode, filename=filename)


 "/home/jaraco/.local/pipx/venvs/xonsh/lib/python3.9/site-packages/xonsh/execer.py", line 135, in compile

tree = self.parse(input, ctx, mode=mode, filename=filename, transform=transform)


 "/home/jaraco/.local/pipx/venvs/xonsh/lib/python3.9/site-packages/xonsh/execer.py", line 95, in parse

tree, input = self._parse_ctx_free(input, mode=mode, filename=filename)


 "/home/jaraco/.local/pipx/venvs/xonsh/lib/python3.9/site-packages/xonsh/execer.py", line 219, in _parse_ctx_free

tree = self.parser.parse(


 "/home/jaraco/.local/pipx/venvs/xonsh/lib/python3.9/site-packages/xonsh/parsers/base.py", line 497, in parse

tree = self.parser.parse(input=s, lexer=self.lexer, debug=debug_level)


 "/home/jaraco/.local/pipx/venvs/xonsh/lib/python3.9/site-packages/xonsh/ply/ply/yacc.py", line 335, in parse

return self.parseopt_notrack(input, lexer, debug, tracking, tokenfunc)


 "/home/jaraco/.local/pipx/venvs/xonsh/lib/python3.9/site-packages/xonsh/ply/ply/yacc.py", line 1122, in parseopt_notrack

p.callable(pslice)


 "/home/jaraco/.local/pipx/venvs/xonsh/lib/python3.9/site-packages/xonsh/parsers/v38.py", line 519, in p_return_stmt

value=p[2][0] if p[2] is not None else None,
TypeError: 'Call' object is not subscriptable

，select * from t_bak_01，Traceback (most recent call last):


 "/opt/archery/sql/query_privileges.py", line 69, in query_priv_check

table_ref = _table_ref(sql_content, instance, db_name)


 "/opt/archery/sql/query_privileges.py", line 409, in _table_ref

query_tree = engine.query_print(instance=instance, db_name=db_name, sql=sql_content).get('query_tree')


 "/opt/archery/sql/engines/goinception.py", line 147, in query_print

print_info = self.query(db_name=db_name, sql=sql).to_dict()[1]


 "/opt/archery/sql/engines/goinception.py", line 116, in query

conn = self.get_connection()


 "/opt/archery/sql/engines/goinception.py", line 35, in get_connection

self.conn = MySQLdb.connect(host=go_inception_host, port=go_inception_port, charset='utf8mb4',


 "/opt/venv4archery/lib/python3.8/site-packages/MySQLdb/__init__.py", line 130, in Connect

return Connection(*args, **kwargs)


 "/opt/venv4archery/lib/python3.8/site-packages/MySQLdb/connections.py", line 185, in __init__

super().__init__(*args, **kwargs2)
TypeError: connect() argument 1 must be str, not None
