Project

General

Profile

Actions

Bug #8679

closed

Do not consider missed task as an error

Added by Ilja Zakharov over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Urgent
Category:
Bridge
Target version:
Start date:
01/19/2018
Due date:
01/19/2018
% Done:

100%

Estimated time:
Detected in build:
svn
Platform:
Published in build:

Description

During cancellation task solver can still trying send solution to the server and this is not an error. But Bridge always raise an exception:

==================================================
[19.Jan.2018 11:51:57] The task 21 was not found
Traceback (most recent call last):
File "/work/zakharov/src/klever/bridge/service/utils.py", line 564, in init
self.task = Task.objects.get(id=task_id)
File "/home/zakharov/.local/lib/python3.5/site-packages/django/db/models/manager.py", line 85, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "/home/zakharov/.local/lib/python3.5/site-packages/django/db/models/query.py", line 385, in get
self.model._meta.object_name
service.models.DoesNotExist: Task matching query does not exist.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/work/zakharov/src/klever/bridge/service/views.py", line 218, in upload_solution
service.utils.SaveSolution(request.POST['task id'], archive, request.POST['description'])
File "/work/zakharov/src/klever/bridge/service/utils.py", line 566, in init
raise ServiceError('The task %s was not found' % task_id)
service.utils.ServiceError: The task 21 was not found


Related issues 1 (0 open1 closed)

Related to Klever - Feature #8661: Do not consider bad zip archives as errorsClosedVladimir Gratinskiy01/14/201801/19/2018

Actions
Actions

Also available in: Atom PDF