Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Study.DoesNotExist: Study matching query does not exist. #644

Open
sentry-io bot opened this issue Dec 6, 2021 · 0 comments
Open

Study.DoesNotExist: Study matching query does not exist. #644

sentry-io bot opened this issue Dec 6, 2021 · 0 comments
Assignees

Comments

@sentry-io
Copy link

sentry-io bot commented Dec 6, 2021

Sentry Issue: EDUCATION-BACKEND-4T

Study.DoesNotExist: Study matching query does not exist.
(4 additional frame(s) were not displayed)
...
  File "diplomas/services/diploma_generator.py", line 65, in get_external_service_url
    return urljoin(settings.DIPLOMA_GENERATOR_HOST, f'/{self.template.slug}.png')
  File "diplomas/services/diploma_generator.py", line 41, in template
    homework_accepted=self.study.homework_accepted,
  File "diplomas/services/diploma_generator.py", line 34, in study
    return Study.objects.get(student=self.student, course=self.course)
  File "django/db/models/manager.py", line 85, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "django/db/models/query.py", line 435, in get
    raise self.model.DoesNotExist(
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant