The SIO2 project
  1. The SIO2 project
  2. SIO-1254

Problem reupload causes evaluating submission error

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: Current Version, 0.1.10
    • Component/s: OIOIOI
    • Labels:
      None

      Description

      Sentry: SZKOPUL-8, SZKOPUL-9

      Traceback (most recent call last):
        File "/home/sio2/sio2/oioioi/oioioi/evalmgr/__init__.py", line 137, in evalmgr_job
          env = _run_phase(env, phase)
        File "/home/sio2/sio2/oioioi/oioioi/evalmgr/__init__.py", line 67, in _run_phase
          env = handler_func(env, **kwargs)
        File "/home/sio2/sio2/venv/local/lib/python2.7/site-packages/django/db/transaction.py", line 224, in inner
          return inner
        File "/home/sio2/sio2/oioioi/oioioi/programs/handlers.py", line 368, in make_report
          submission, submission_report = _make_base_report(env, kind)
        File "/home/sio2/sio2/oioioi/oioioi/programs/handlers.py", line 328, in _make_base_report
          submission = Submission.objects.get(id=env['submission_id'])
        File "/home/sio2/sio2/venv/local/lib/python2.7/site-packages/django/db/models/manager.py", line 131, in get
          return self.get_query_set().count()
        File "/home/sio2/sio2/venv/local/lib/python2.7/site-packages/django/db/models/query.py", line 366, in get
          If the QuerySet is already fully cached this simply returns the length
      DoesNotExist: Submission matching query does not exist.

        Issue Links

          Activity

          Connect your code to JIRA

          Link every code change to JIRA just by adding an issue keys in commit messages. Bridge the gap back to your source and know which changes fixed which JIRA issues.

          Git & Mercurial in the cloud

          Collaborate across unlimited private code repositories.

          Git behind the firewall

          Manage and collaborate on Git repositories behind a firewall.

          Browse and search code

          Browse, search, and track source code repositories.

            People

            • Assignee:
              Szymon Acedański
              Reporter:
              Cezary Siłuszyk
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: