Traceback (most recent call last):


 "manage.py", line 28, in <module>

execute_from_command_line(sys.argv)


 "/opt/py3/lib64/python3.6/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line

utility.execute()


 "/opt/py3/lib64/python3.6/site-packages/django/core/management/__init__.py", line 357, in execute

django.setup()


 "/opt/py3/lib64/python3.6/site-packages/django/__init__.py", line 24, in setup

apps.populate(settings.INSTALLED_APPS)


 "/opt/py3/lib64/python3.6/site-packages/django/apps/registry.py", line 120, in populate

app_config.ready()


 "/opt/jumpserver/apps/common/apps.py", line 12, in ready

django_ready.send(self.__class__)


 "/opt/py3/lib64/python3.6/site-packages/django/dispatch/dispatcher.py", line 175, in send

for receiver in self._live_receivers(sender)


 "/opt/py3/lib64/python3.6/site-packages/django/dispatch/dispatcher.py", line 175, in <listcomp>

for receiver in self._live_receivers(sender)


 "/opt/jumpserver/apps/common/signals_handler.py", line 64, in monkey_patch_settings

Setting.refresh_all_settings()


 "/opt/jumpserver/apps/common/models.py", line 107, in refresh_all_settings

for setting in settings_list:


 "/opt/py3/lib64/python3.6/site-packages/django/db/models/query.py", line 268, in __iter__

self._fetch_all()


 "/opt/py3/lib64/python3.6/site-packages/django/db/models/query.py", line 1186, in _fetch_all

self._result_cache = list(self._iterable_class(self))


 "/opt/py3/lib64/python3.6/site-packages/django/db/models/query.py", line 54, in __iter__

results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size)


 "/opt/py3/lib64/python3.6/site-packages/django/db/models/sql/compiler.py", line 1063, in execute_sql

cursor = self.connection.cursor()


 "/opt/py3/lib64/python3.6/site-packages/django/db/backends/base/base.py", line 255, in cursor

return self._cursor()


 "/opt/py3/lib64/python3.6/site-packages/django/db/backends/base/base.py", line 232, in _cursor

self.ensure_connection()


 "/opt/py3/lib64/python3.6/site-packages/django/db/backends/base/base.py", line 216, in ensure_connection

self.connect()


 "/opt/py3/lib64/python3.6/site-packages/django/db/backends/base/base.py", line 194, in connect

self.connection = self.get_new_connection(conn_params)


 "/opt/py3/lib64/python3.6/site-packages/django/db/backends/mysql/base.py", line 227, in get_new_connection

return Database.connect(**conn_params)


 "/opt/py3/lib64/python3.6/site-packages/MySQLdb/__init__.py", line 85, in Connect

return Connection(*args, **kwargs)


 "/opt/py3/lib64/python3.6/site-packages/MySQLdb/connections.py", line 208, in __init__

super(Connection, self).__init__(*args, **kwargs2)
TypeError: connect() argument 3 must be str, not int

Traceback (most recent call last):


 "scripts/plot_dataframe.py", line 69, in <module>

args = plot_parse_args(sys.argv[1:])


 "scripts/plot_dataframe.py", line 13, in plot_parse_args

parser = common_args_parser(args, 'Graph utility')
TypeError: common_args_parser() takes 1 positional argument but 2 were given
