{"action":"created","issue":{"url":"https://api.github.com/repos/mgaitan/waliki/issues/60","labels_url":"https://api.github.com/repos/mgaitan/waliki/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/mgaitan/waliki/issues/60/comments","events_url":"https://api.github.com/repos/mgaitan/waliki/issues/60/events","html_url":"https://github.com/mgaitan/waliki/issues/60","id":55414702,"number":60,"title":"can't view diffs on LMDE","user":{"login":"aszepieniec","id":1583170,"avatar_url":"https://avatars.githubusercontent.com/u/1583170?v=3","gravatar_id":"","url":"https://api.github.com/users/aszepieniec","html_url":"https://github.com/aszepieniec","followers_url":"https://api.github.com/users/aszepieniec/followers","following_url":"https://api.github.com/users/aszepieniec/following{/other_user}","gists_url":"https://api.github.com/users/aszepieniec/gists{/gist_id}","starred_url":"https://api.github.com/users/aszepieniec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aszepieniec/subscriptions","organizations_url":"https://api.github.com/users/aszepieniec/orgs","repos_url":"https://api.github.com/users/aszepieniec/repos","events_url":"https://api.github.com/users/aszepieniec/events{/privacy}","received_events_url":"https://api.github.com/users/aszepieniec/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-25T12:58:22Z","updated_at":"2015-01-25T13:59:00Z","closed_at":null,"body":"Trying to view the diffs from a page's history causes a server error:\r\n\r\nException Type: \t`UnicodeDecodeError`\r\nException Value: \t`'ascii' codec can't decode byte 0xa0 in position 0: ordinal not in range(128)`\r\nException Location: \t`/usr/local/lib/python2.7/dist-packages/waliki/git/views.py in diff, line 56`\r\nTraceback:\r\n```\r\nFile \"/usr/lib/python2.7/dist-packages/django/core/handlers/base.py\" in get_response\r\n  114.                     response = wrapped_callback(request, *callback_args, **callback_kwargs)\r\nFile \"/usr/local/lib/python2.7/dist-packages/waliki/acl.py\" in _wrapped_view\r\n  63.                 return view_func(request, *args, **kwargs)\r\nFile \"/usr/local/lib/python2.7/dist-packages/waliki/git/views.py\" in diff\r\n  56.     old_content = Git().version(page, old).replace('\\t', '    ').replace(' ', '\\xA0')\r\n```\r\n\r\nI am running python 2.7.\r\n"},"comment":{"url":"https://api.github.com/repos/mgaitan/waliki/issues/comments/71374200","html_url":"https://github.com/mgaitan/waliki/issues/60#issuecomment-71374200","issue_url":"https://api.github.com/repos/mgaitan/waliki/issues/60","id":71374200,"user":{"login":"aszepieniec","id":1583170,"avatar_url":"https://avatars.githubusercontent.com/u/1583170?v=3","gravatar_id":"","url":"https://api.github.com/users/aszepieniec","html_url":"https://github.com/aszepieniec","followers_url":"https://api.github.com/users/aszepieniec/followers","following_url":"https://api.github.com/users/aszepieniec/following{/other_user}","gists_url":"https://api.github.com/users/aszepieniec/gists{/gist_id}","starred_url":"https://api.github.com/users/aszepieniec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aszepieniec/subscriptions","organizations_url":"https://api.github.com/users/aszepieniec/orgs","repos_url":"https://api.github.com/users/aszepieniec/repos","events_url":"https://api.github.com/users/aszepieniec/events{/privacy}","received_events_url":"https://api.github.com/users/aszepieniec/received_events","type":"User","site_admin":false},"created_at":"2015-01-25T13:59:00Z","updated_at":"2015-01-25T13:59:00Z","body":"Nevermind. After running\r\n```\r\npython setup.py build\r\n```\r\nand \r\n```\r\npython setup.py install\r\n```\r\nthe error disappears. I guess I should have run those commands from the start.\r\n"}}