New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't view diffs on LMDE #60

aszepieniec opened this Issue Jan 25, 2015 · 1 comment


None yet
2 participants

aszepieniec commented Jan 25, 2015

Trying to view the diffs from a page's history causes a server error:

Exception Type: UnicodeDecodeError
Exception Value: 'ascii' codec can't decode byte 0xa0 in position 0: ordinal not in range(128)
Exception Location: /usr/local/lib/python2.7/dist-packages/waliki/git/ in diff, line 56

File "/usr/lib/python2.7/dist-packages/django/core/handlers/" in get_response
  114.                     response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/local/lib/python2.7/dist-packages/waliki/" in _wrapped_view
  63.                 return view_func(request, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/waliki/git/" in diff
  56.     old_content = Git().version(page, old).replace('\t', '    ').replace(' ', '\xA0')

I am running python 2.7.


This comment has been minimized.

aszepieniec commented Jan 25, 2015

Nevermind. After running

python build


python install

the error disappears. I guess I should have run those commands from the start.

@mgaitan mgaitan closed this Feb 28, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment