{"action":"closed","issue":{"url":"https://api.github.com/repos/ClemsonSoCUnix/django-anyvcs/issues/14","labels_url":"https://api.github.com/repos/ClemsonSoCUnix/django-anyvcs/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/ClemsonSoCUnix/django-anyvcs/issues/14/comments","events_url":"https://api.github.com/repos/ClemsonSoCUnix/django-anyvcs/issues/14/events","html_url":"https://github.com/ClemsonSoCUnix/django-anyvcs/issues/14","id":106979623,"number":14,"title":"Repo encoding crash (actually in python-anyvcs)","user":{"login":"OEP","id":238075,"avatar_url":"https://avatars.githubusercontent.com/u/238075?v=3","gravatar_id":"","url":"https://api.github.com/users/OEP","html_url":"https://github.com/OEP","followers_url":"https://api.github.com/users/OEP/followers","following_url":"https://api.github.com/users/OEP/following{/other_user}","gists_url":"https://api.github.com/users/OEP/gists{/gist_id}","starred_url":"https://api.github.com/users/OEP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OEP/subscriptions","organizations_url":"https://api.github.com/users/OEP/orgs","repos_url":"https://api.github.com/users/OEP/repos","events_url":"https://api.github.com/users/OEP/events{/privacy}","received_events_url":"https://api.github.com/users/OEP/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-17T13:05:20Z","updated_at":"2015-09-17T13:05:20Z","closed_at":"2015-09-17T13:05:20Z","body":"Traceback (most recent call last):\n\n  File \"/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py\", line 112, in get_response\n    response = wrapped_callback(request, *callback_args, **callback_kwargs)\n\n  File \"/usr/local/lib/python2.7/dist-packages/django/db/transaction.py\", line 371, in inner\n    return func(*args, **kwargs)\n\n  File \"/usr/local/lib/python2.7/dist-packages/buffet/core/decorators.py\", line 22, in _wrapped_view\n    return view_func(request, *args, **kw)\n\n  File \"/usr/local/lib/python2.7/dist-packages/buffet/vcs/views.py\", line 111, in _wrapped_view\n    return view_func(request, username, resource_name, *args, **kw)\n\n  File \"/usr/local/lib/python2.7/dist-packages/buffet/vcs/views.py\", line 259, in repo_commit_detail\n    diff += client.diff(entry.parents[0], rev, info.path)\n\n  File \"/usr/local/lib/python2.7/dist-packages/anyvcs/git.py\", line 350, in diff\n    return self._command(cmd).decode(self.encoding)\n\n  File \"/usr/lib/python2.7/encodings/utf_8.py\", line 16, in decode\n    return codecs.utf_8_decode(input, errors, True)\n\nUnicodeDecodeError: 'utf8' codec can't decode byte 0xb2 in position 424: invalid start byte\n\n----------------------------------------\n- Bitbucket: https://bitbucket.org/OEP/ClemsonSoCUnix/django-anyvcs/issue/14\n- Originally reported by: Chuck Cook\n- Originally created at: 2015-04-20T20:15:24.650\n"}}