Traceback (most recent call last):


 "/home/matthieu/python-venv/super-modular/lib/python3.5/site-packages/superset/views/core.py", line 1764, in testconn

return json_success(json.dumps(engine.table_names(), indent=4))


 "/home/matthieu/python-venv/super-modular/lib/python3.5/site-packages/sqlalchemy/engine/base.py", line 2139, in table_names

return self.dialect.get_table_names(conn, schema)


 "<string>", line 2, in get_table_names


 "/home/matthieu/python-venv/super-modular/lib/python3.5/site-packages/sqlalchemy/engine/reflection.py", line 42, in cache

return fn(self, con, *args, **kw)


 "/home/matthieu/python-venv/super-modular/lib/python3.5/site-packages/clickhouse_sqlalchemy/drivers/base.py", line 482, in get_table_names

return [row.name for row in self._execute(connection, 'SHOW TABLES')]


 "/home/matthieu/python-venv/super-modular/lib/python3.5/site-packages/clickhouse_sqlalchemy/drivers/native/base.py", line 34, in _execute

return connection.execute(sql)


 "/home/matthieu/python-venv/super-modular/lib/python3.5/site-packages/sqlalchemy/engine/base.py", line 942, in execute

return self._execute_text(object, multiparams, params)


 "/home/matthieu/python-venv/super-modular/lib/python3.5/site-packages/sqlalchemy/engine/base.py", line 1104, in _execute_text

statement, parameters


 "/home/matthieu/python-venv/super-modular/lib/python3.5/site-packages/sqlalchemy/engine/base.py", line 1200, in _execute_context

context)


 "/home/matthieu/python-venv/super-modular/lib/python3.5/site-packages/sqlalchemy/engine/base.py", line 1416, in _handle_dbapi_exception

util.reraise(*exc_info)


 "/home/matthieu/python-venv/super-modular/lib/python3.5/site-packages/sqlalchemy/util/compat.py", line 249, in reraise

raise value


 "/home/matthieu/python-venv/super-modular/lib/python3.5/site-packages/sqlalchemy/engine/base.py", line 1193, in _execute_context

context)


 "/home/matthieu/python-venv/super-modular/lib/python3.5/site-packages/clickhouse_sqlalchemy/drivers/base.py", line 492, in do_execute

cursor.execute(statement, parameters, context=context)


 "/home/matthieu/python-venv/super-modular/lib/python3.5/site-packages/clickhouse_sqlalchemy/drivers/native/connector.py", line 125, in execute

external_tables=external_tables, settings=settings


 "/home/matthieu/python-venv/super-modular/lib/python3.5/site-packages/clickhouse_driver/client.py", line 102, in execute

self.connection.force_connect()


 "/home/matthieu/python-venv/super-modular/lib/python3.5/site-packages/clickhouse_driver/connection.py", line 124, in force_connect

self.connect()


 "/home/matthieu/python-venv/super-modular/lib/python3.5/site-packages/clickhouse_driver/connection.py", line 189, in connect

self.send_hello()


 "/home/matthieu/python-venv/super-modular/lib/python3.5/site-packages/clickhouse_driver/connection.py", line 260, in send_hello

write_binary_str(self.password, self.fout)


 "/home/matthieu/python-venv/super-modular/lib/python3.5/site-packages/clickhouse_driver/writer.py", line 18, in write_binary_str

text = text.encode('utf-8')
AttributeError: 'NoneType' object has no attribute 'encode'

Traceback (most recent call last):


 "/usr/local/lib/python3.7/site-packages/xonsh/__amalgam__.py", line 24004, in main

args = premain(argv)


 "/usr/local/lib/python3.7/site-packages/xonsh/__amalgam__.py", line 23955, in premain

env = start_services(shell_kwargs, args)


 "/usr/local/lib/python3.7/site-packages/xonsh/__amalgam__.py", line 23890, in start_services

cacheall=shell_kwargs.get("cacheall", False),


 "/usr/local/lib/python3.7/site-packages/xonsh/__amalgam__.py", line 23021, in __init__

load_builtins(execer=self, ctx=xonsh_ctx)


 "/usr/local/lib/python3.7/site-packages/xonsh/__amalgam__.py", line 22592, in load_builtins

builtins.__xonsh__.load(execer=execer, ctx=ctx)


 "/usr/local/lib/python3.7/site-packages/xonsh/__amalgam__.py", line 22668, in load

self.env = Env(default_env())


 "/usr/local/lib/python3.7/site-packages/xonsh/__amalgam__.py", line 19110, in __init__

self[key] = val


 "/usr/local/lib/python3.7/site-packages/xonsh/__amalgam__.py", line 19272, in __setitem__

val = ensurer.convert(val)


 "/usr/local/lib/python3.7/site-packages/xonsh/__amalgam__.py", line 18218, in convert

return cls.fromstring(x)


 "/usr/local/lib/python3.7/site-packages/xonsh/__amalgam__.py", line 18181, in fromstring

esc, "default", reversed_style=reversed_default


 "/usr/local/lib/python3.7/site-packages/xonsh/__amalgam__.py", line 6986, in ansi_color_escape_code_to_name

ec = ANSI_ESCAPE_CODE_RE.match(escape_code).group(2)
AttributeError: 'NoneType' object has no attribute 'group'
