Anki will throw the following error in profile selection:
Traceback (most recent call last):
File "aqt.progress", line 118, in handler
File "aqt.main", line 198, in on_window_init
File "aqt.hooks_gen", line 2801, in __call__
File "/Users/grzesiek/Library/Application Support/Anki2/addons21/112228974/main.py", line 142, in setup_menu
anki_asset_manager = create_anki_asset_manager(main_window.col)
File "/Users/grzesiek/Library/Application Support/Anki2/addons21/112228974/main.py", line 45, in create_anki_asset_manager
col.models), col.media, ASSET_PREFIX,
AttributeError: 'NoneType' object has no attribute 'models'
Reproduction
Anki will throw the following error in profile selection: