Fwd: [SchoolApps] Celery-Task aleksis.core.tasks.clear_oauth_tokens fehlgeschlagen! [Ticket#751413]
Hallo,
der Celery-Task aleksis.core.tasks.clear_oauth_tokens ist mit folgenden Informationen fehlgeschlagen:
- Task: aleksis.core.tasks.clear_oauth_tokens
- Task-ID: ccb1badf-094b-4173-aced-364e172e9240
- Geworfene Exception: cannot import name 'clear_tokens' from 'oauth2_provider.models' (/srv/aleksis/envs/production/lib/python3.9/site-packages/oauth2_provider/models.py)
- Argumente:
- Schlüsselwort-Argumente: Traceback (most recent call last): File "/srv/aleksis/envs/production/lib/python3.9/site-packages/celery/app/trace.py", line 451, in trace_task R = retval = fun(*args, **kwargs) File "/srv/aleksis/envs/production/lib/python3.9/site-packages/celery/app/trace.py", line 734, in protected_call return self.run(*args, **kwargs) File "/srv/aleksis/envs/production/lib/python3.9/site-packages/sentry_sdk/integrations/celery.py", line 197, in _inner reraise(*exc_info) File "/srv/aleksis/envs/production/lib/python3.9/site-packages/sentry_sdk/_compat.py", line 54, in reraise raise value File "/srv/aleksis/envs/production/lib/python3.9/site-packages/sentry_sdk/integrations/celery.py", line 192, in _inner return f(*args, **kwargs) File "/srv/aleksis/envs/production/lib/python3.9/site-packages/aleksis/core/tasks.py", line 48, in clear_oauth_tokens from oauth2_provider.models import clear_tokens # noqa ImportError: cannot import name 'clear_tokens' from 'oauth2_provider.models' (/srv/aleksis/envs/production/lib/python3.9/site-packages/oauth2_provider/models.py)
- SchoolApps