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

DjangoUnicodeDecodeError when trying to show Problem adding error

    Details

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

      Description

      Traceback (most recent call last):

        File "/home/users/sio2/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/users/sio2/sio2/venv/src/oioioi/oioioi/problems/views.py", line 98, in add_or_update_problem_view
          content = problem_or_content.render().content

        File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/template/response.py", line 105, in render
          self.content = self.rendered_content

        File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/template/response.py", line 82, in rendered_content
          content = template.render(context)

        File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/template/base.py", line 140, in render
          return self._render(context)

        File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/test/utils.py", line 66, in instrumented_test_render
          return self.nodelist.render(context)

        File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/template/base.py", line 830, in render
          bit = self.render_node(node, context)

        File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/template/base.py", line 844, in render_node
          return node.render(context)

        File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/template/loader_tags.py", line 156, in render
          return self.render_template(self.template, context)

        File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/template/loader_tags.py", line 138, in render_template
          output = template.render(context)

        File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/template/base.py", line 140, in render
          return self._render(context)

        File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/test/utils.py", line 66, in instrumented_test_render
          return self.nodelist.render(context)

        File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/template/base.py", line 830, in render
          bit = self.render_node(node, context)

        File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/template/base.py", line 844, in render_node
          return node.render(context)

        File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/template/defaulttags.py", line 196, in render
          nodelist.append(node.render(context))

        File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/template/base.py", line 887, in render
          return _render_value_in_context(output, context)

        File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/template/base.py", line 865, in _render_value_in_context
          value = force_text(value)

        File "/home/users/sio2/sio2/venv/local/lib/python2.7/site-packages/django/utils/encoding.py", line 115, in force_text
          raise DjangoUnicodeDecodeError(s, *e.args)

      DjangoUnicodeDecodeError: 'utf8' codec can't decode byte 0xf3 in position 63: invalid continuation byte. You passed in 'Failed to execute command: make inwer\nBrak weryfikatora do test\xf3w\nmake: *** [inwer] Error 2\n' (<type 'str'>)

        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:
            Maciej Matraszek
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: