Traceback (most recent call last):


 "/Users/hankehly/src/airflow-2-docker-example/.venv/bin/airflow", line 8, in <module>

sys.exit(main())


 "/Users/hankehly/src/airflow-2-docker-example/.venv/lib/python3.7/site-packages/airflow/__main__.py", line 40, in main

args.func(args)


 "/Users/hankehly/src/airflow-2-docker-example/.venv/lib/python3.7/site-packages/airflow/cli/cli_parser.py", line 48, in command

return func(*args, **kwargs)


 "/Users/hankehly/src/airflow-2-docker-example/.venv/lib/python3.7/site-packages/airflow/cli/commands/db_command.py", line 31, in initdb

db.initdb()


 "/Users/hankehly/src/airflow-2-docker-example/.venv/lib/python3.7/site-packages/airflow/utils/db.py", line 549, in initdb

upgradedb()


 "/Users/hankehly/src/airflow-2-docker-example/.venv/lib/python3.7/site-packages/airflow/utils/db.py", line 688, in upgradedb

command.upgrade(config, 'heads')


 "/Users/hankehly/src/airflow-2-docker-example/.venv/lib/python3.7/site-packages/alembic/command.py", line 298, in upgrade

script.run_env()


 "/Users/hankehly/src/airflow-2-docker-example/.venv/lib/python3.7/site-packages/alembic/script/base.py", line 489, in run_env

util.load_python_file(self.dir, "env.py")


 "/Users/hankehly/src/airflow-2-docker-example/.venv/lib/python3.7/site-packages/alembic/util/pyfiles.py", line 98, in load_python_file

module = load_module_py(module_id, path)


 "/Users/hankehly/src/airflow-2-docker-example/.venv/lib/python3.7/site-packages/alembic/util/compat.py", line 184, in load_module_py

spec.loader.exec_module(module)


 "<frozen importlib._bootstrap_external>", line 728, in exec_module


 "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed


 "/Users/hankehly/src/airflow-2-docker-example/.venv/lib/python3.7/site-packages/airflow/migrations/env.py", line 108, in <module>

run_migrations_online()


 "/Users/hankehly/src/airflow-2-docker-example/.venv/lib/python3.7/site-packages/airflow/migrations/env.py", line 102, in run_migrations_online

context.run_migrations()


 "<string>", line 8, in run_migrations


 "/Users/hankehly/src/airflow-2-docker-example/.venv/lib/python3.7/site-packages/alembic/runtime/environment.py", line 846, in run_migrations

self.get_context().run_migrations(**kw)


 "/Users/hankehly/src/airflow-2-docker-example/.venv/lib/python3.7/site-packages/alembic/runtime/migration.py", line 522, in run_migrations

step.migration_fn(**kw)


 "/Users/hankehly/src/airflow-2-docker-example/.venv/lib/python3.7/site-packages/airflow/migrations/versions/2c6edca13270_resource_based_permissions.py", line 310, in upgrade

remap_permissions()


 "/Users/hankehly/src/airflow-2-docker-example/.venv/lib/python3.7/site-packages/airflow/migrations/versions/2c6edca13270_resource_based_permissions.py", line 287, in remap_permissions

appbuilder = create_app(config={'FAB_UPDATE_PERMS': False}).appbuilder


 "/Users/hankehly/src/airflow-2-docker-example/.venv/lib/python3.7/site-packages/airflow/www/app.py", line 74, in create_app

flask_app.config.from_pyfile(settings.WEBSERVER_CONFIG, silent=True)


 "/Users/hankehly/src/airflow-2-docker-example/.venv/lib/python3.7/site-packages/flask/config.py", line 132, in from_pyfile

exec(compile(config_file.read(), filename, "exec"), d.__dict__)


 "/Users/hankehly/airflow/webserver_config.py", line 21, in <module>

from flask_appbuilder.security.manager import AUTH_DB


 "/Users/hankehly/src/airflow-2-docker-example/.venv/lib/python3.7/site-packages/flask_appbuilder/security/manager.py", line 13, in <module>

from flask_openid import OpenID


 "/Users/hankehly/src/airflow-2-docker-example/.venv/lib/python3.7/site-packages/flask_openid.py", line 26, in <module>

from openid.store.filestore import 
OpenIDStore


 "/Users/hankehly/src/airflow-2-docker-example/.venv/lib/python3.7/site-packages/openid/__init__.py", line 52, in <module>

if len(version_info) != 3:
TypeError: object of type 'map' has no len()

Traceback (most recent call last):


 "/Users/bane/anaconda3/envs/pyvista-env/lib/python3.8/site-packages/IPython/core/interactiveshell.py", line 3357, in run_ast_nodes

if (await self.run_code(code, result,
async_=asy)):


 "/Users/bane/anaconda3/envs/pyvista-env/lib/python3.8/site-packages/IPython/core/interactiveshell.py", line 3454, in run_code

self.showtraceback(running_compiled_code=True)


 "/Users/bane/anaconda3/envs/pyvista-env/lib/python3.8/site-packages/IPython/core/interactiveshell.py", line 2063, in showtraceback

stb = self.InteractiveTB.structured_traceback(etype,


 "/Users/bane/anaconda3/envs/pyvista-env/lib/python3.8/site-packages/IPython/core/ultratb.py", line 1367, in structured_traceback

return FormattedTB.structured_traceback(


 "/Users/bane/anaconda3/envs/pyvista-env/lib/python3.8/site-packages/IPython/core/ultratb.py", line 1267, in structured_traceback

return VerboseTB.structured_traceback(


 "/Users/bane/anaconda3/envs/pyvista-env/lib/python3.8/site-packages/IPython/core/ultratb.py", line 1124, in structured_traceback

formatted_exception = self.format_exception_as_a_whole(etype, evalue, etb, number_of_lines_of_context,


 "/Users/bane/anaconda3/envs/pyvista-env/lib/python3.8/site-packages/IPython/core/ultratb.py", line 1082, in format_exception_as_a_whole

last_unique, recursion_repeat = find_recursion(orig_etype, evalue, records)


 "/Users/bane/anaconda3/envs/pyvista-env/lib/python3.8/site-packages/IPython/core/ultratb.py", line 382, in find_recursion

return len(records), 0
TypeError: object of type 'NoneType' has no len()
