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

Viewing histogram for user with no submission should be covered in tests

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Trivial Trivial
    • Resolution: Obsolete
    • Affects Version/s: Current Version
    • Fix Version/s: Current Version
    • Component/s: OIOIOI
    • Labels:
      None

      Issue Links

        Activity

        Marek Bardoński made changes -
        Field Original Value New Value
        Link This issue is related to SIO-1319 [ SIO-1319 ]
        Hide
        Marek Bardoński added a comment -
        Tego mi nie wykryło :)

          File "/home/oioioi/sio2/venv/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 115, in get_response
            response = callback(request, *callback_args, **callback_kwargs)

          File "/home/oioioi/sio2/oioioi/oioioi/base/permissions.py", line 126, in _wrapped_view
            return view_func(request, *args, **kwargs)

          File "/home/oioioi/sio2/oioioi/oioioi/statistics/views.py", line 67, in statistics_view
            plot_kind, object)

          File "/home/oioioi/sio2/oioioi/oioioi/statistics/controllers.py", line 199, in statistics_data
            result = plot_function(object)

          File "/home/oioioi/sio2/oioioi/oioioi/statistics/plotfunctions.py", line 84, in points_histogram_problem
            max_score = results[0].submission_report.score_report.max_score

        AttributeError: 'NoneType' object has no attribute 'score_report'
        Show
        Marek Bardoński added a comment - Tego mi nie wykryło :)   File "/home/oioioi/sio2/venv/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 115, in get_response     response = callback(request, *callback_args, **callback_kwargs)   File "/home/oioioi/sio2/oioioi/oioioi/base/permissions.py", line 126, in _wrapped_view     return view_func(request, *args, **kwargs)   File "/home/oioioi/sio2/oioioi/oioioi/statistics/views.py", line 67, in statistics_view     plot_kind, object)   File "/home/oioioi/sio2/oioioi/oioioi/statistics/controllers.py", line 199, in statistics_data     result = plot_function(object)   File "/home/oioioi/sio2/oioioi/oioioi/statistics/plotfunctions.py", line 84, in points_histogram_problem     max_score = results[0].submission_report.score_report.max_score AttributeError: 'NoneType' object has no attribute 'score_report'
        Michał Adamczyk made changes -
        Assignee Paweł Wawruch [ pawlo ]
        Hide
        Szymon Acedański added a comment -
        This issue has been automatically closed as Obsolete due to no activity for 365 days.

        Feel free to reopen it or create a new one if it's still relevant.
        Show
        Szymon Acedański added a comment - This issue has been automatically closed as Obsolete due to no activity for 365 days. Feel free to reopen it or create a new one if it's still relevant.
        Szymon Acedański made changes -
        Status New [ 10000 ] Resolved [ 5 ]
        Assignee Szymon Acedański [ accek ]
        Resolution Obsolete [ 7 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        New New Resolved Resolved
        2181d 7h 41m 1 Szymon Acedański 2020-04-27 16:28

          People

          • Assignee:
            Szymon Acedański
            Reporter:
            Marek Bardoński
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: