Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Won't Fix
-
Affects Version/s: Current Version
-
Fix Version/s: Current Version
-
Component/s: OIOIOI
-
Labels:None
Description
When a submission is deleted before it's processed in evalmgr:
Traceback (most recent call last):
File "/vol/sio2/oioioi/oioioi/evalmgr/__init__.py", line 149, in evalmgr_job
File "/vol/sio2/oioioi/oioioi/evalmgr/__init__.py", line 77, in _run_phase
kwargs = phase[2].copy()
File "/vol/sio2/oioioi/oioioi/submitsqueue/handlers.py", line 9, in mark_submission_in_progress
submission = Submission.objects.get(id=env['submission_id'])
File "/vol/sio2/venv/local/lib/python2.7/site-packages/django/db/models/manager.py", line 143, in get
return self.get_query_set().get(*args, **kwargs)
File "/vol/sio2/venv/local/lib/python2.7/site-packages/django/db/models/query.py", line 404, in get
self.model._meta.object_name)
DoesNotExist: Submission matching query does not exist.
This ticket should also include writing a test for this case.
Traceback (most recent call last):
File "/vol/sio2/oioioi/oioioi/evalmgr/__init__.py", line 149, in evalmgr_job
File "/vol/sio2/oioioi/oioioi/evalmgr/__init__.py", line 77, in _run_phase
kwargs = phase[2].copy()
File "/vol/sio2/oioioi/oioioi/submitsqueue/handlers.py", line 9, in mark_submission_in_progress
submission = Submission.objects.get(id=env['submission_id'])
File "/vol/sio2/venv/local/lib/python2.7/site-packages/django/db/models/manager.py", line 143, in get
return self.get_query_set().get(*args, **kwargs)
File "/vol/sio2/venv/local/lib/python2.7/site-packages/django/db/models/query.py", line 404, in get
self.model._meta.object_name)
DoesNotExist: Submission matching query does not exist.
This ticket should also include writing a test for this case.
Activity
Transition | Time In Source Status | Execution Times | Last Executer | Last Execution Date | |||||
---|---|---|---|---|---|---|---|---|---|
|
7h 22m | 1 | Tomasz Zakrzewski | 2014-02-8 15:46 | |||||
|
5d 23h 22m | 1 | Tomasz Zakrzewski | 2014-02-14 15:09 | |||||
|
227d 5h 32m | 1 | Szymon Acedański | 2014-09-29 21:42 |