flashingpumpkin/django-socialregistration — Issue #135: UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 4352: ordinal not in range(128)
Author: diafygi
Created: 2011-12-15 23:13:25+00:00
State: open

Traceback (most recent call last):

File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)

File "/usr/local/lib/python2.7/dist-packages/django/views/generic/base.py", line 47, in view
return self.dispatch(request, *args, **kwargs)

File "/usr/local/lib/python2.7/dist-packages/django/views/generic/base.py", line 68, in dispatch
return handler(request, *args, **kwargs)

File "/home/user/python-manual-installs/src/socialregistration/socialregistration/views.py", line 171, in post
return HttpResponseRedirect(client.get_redirect_url())

File "/home/user/python-manual-installs/src/socialregistration/socialregistration/clients/oauth.py", line 146, in get_redirect_url
'oauth_token': self.get_request_token().key,

File "/home/user/python-manual-installs/src/socialregistration/socialregistration/clients/oauth.py", line 126, in get_request_token
self._request_token = self._get_request_token()

File "/home/user/python-manual-installs/src/socialregistration/socialregistration/clients/oauth.py", line 94, in _get_request_token
response['status'], self.request_token_url, content))

File "/usr/local/lib/python2.7/dist-packages/django/utils/functional.py", line 227, in __mod__
return unicode(self) % rhs

UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 4352: ordinal not in range(128)

'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0.1) Gecko/20100101 Firefox/8.0.1',