KeyError: 'SCOPES' with OAUTH2_PROVIDER
Traceback (most recent call last):
File "/srv/www/aleksis/venv/bin/aleksis-admin", line 8, in <module>
sys.exit(aleksis_cmd())
File "/srv/www/aleksis/venv/lib/python3.9/site-packages/aleksis/core/__main__.py", line 14, in aleksis_cmd
execute_from_command_line(sys.argv)
File "/srv/www/aleksis/venv/lib/python3.9/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line
utility.execute()
File "/srv/www/aleksis/venv/lib/python3.9/site-packages/django/core/management/__init__.py", line 363, in execute
settings.INSTALLED_APPS
File "/srv/www/aleksis/venv/lib/python3.9/site-packages/django/conf/__init__.py", line 82, in __getattr__
self._setup(name)
File "/srv/www/aleksis/venv/lib/python3.9/site-packages/django/conf/__init__.py", line 69, in _setup
self._wrapped = Settings(settings_module)
File "/srv/www/aleksis/venv/lib/python3.9/site-packages/django/conf/__init__.py", line 170, in __init__
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 790, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/srv/www/aleksis/venv/lib/python3.9/site-packages/aleksis/core/settings.py", line 341, in <module>
OAUTH2_PROVIDER["SCOPES"].update(
KeyError: 'SCOPES'
Edited by Jonathan Weth