codalab / codalab-competitions

CodaLab Competitions
https://codalab.lisn.fr
Other
511 stars 129 forks source link

Fix small reference problems #2641

Open ckcollab opened 5 years ago

ckcollab commented 5 years ago
File "/app/codalab/apps/web/views.py", line 1266, in get
  submission = models.CompetitionSubmission.objects.get(pk=kwargs.get('submission_id'))
File "/usr/local/lib/python2.7/site-packages/django/db/models/manager.py", line 151, in get
  return self.get_queryset().get(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/django/db/models/query.py", line 310, in get
  self.model._meta.object_name)
DoesNotExist: CompetitionSubmission matching query does not exist.
Didayolo commented 3 years ago

Do we know the context of this? How to reproduce this problems?

Didayolo commented 2 years ago

https://github.com/codalab/codalab-competitions/blob/eb1059ed9fd227f85f0398d9ebf21967d4c551dc/codalab/apps/web/models.py#L1233