Skip to content

Instantly share code, notes, and snippets.

@bobschi
Last active August 29, 2015 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bobschi/c6dfb71bc616b3b38f17 to your computer and use it in GitHub Desktop.
Save bobschi/c6dfb71bc616b3b38f17 to your computer and use it in GitHub Desktop.
[pid: 143|app: 0|req: 765/922] 89.100.220.91 () {44 vars in 1150 bytes} [Mon Apr 13 10:28:01 2015] GET /?sKey=9c493c8e7af97364683cc4664ce82b09cb4a3a46&oid=13577281&mn=1204581&firstName=Julia&lastName=Poi%C3%9FDF&mail=e1204581%40student%2Etuwien%2Eac%2Eat => generated 0 bytes in 21 msecs (HTTP/1.1 302) 4 headers in 263 bytes (1 switches on core 0)
[pid: 143|app: 0|req: 766/923] 89.100.220.91 () {44 vars in 863 bytes} [Mon Apr 13 10:28:01 2015] GET /login/ => generated 2355 bytes in 15 msecs (HTTP/1.1 200) 3 headers in 195 bytes (1 switches on core 0)
Internal Server Error: /
Traceback (most recent call last):
File "/envs/aurora.2014/lib/python3.4/site-packages/django/core/handlers/base.py", line 115, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "./AmanamanProjekt/views.py", line 57, in home
return sso_auth_callback(request)
File "/envs/aurora.2014/lib/python3.4/site-packages/django/views/decorators/http.py", line 41, in inner
return func(request, *args, **kwargs)
File "./PortfolioUser/views.py", line 75, in sso_auth_callback
user = authenticate(params=values)
File "/envs/aurora.2014/lib/python3.4/site-packages/django/contrib/auth/__init__.py", line 60, in authenticate
user = backend.authenticate(**credentials)
File "./PortfolioUser/views.py", line 116, in authenticate
values_string = values_string.encode(encoding='latin1')
UnicodeEncodeError: 'latin-1' codec can't encode character '\ufffd' in position 23: ordinal not in range(256)
[pid: 143|app: 0|req: 769/926] 89.100.220.91 () {46 vars in 1200 bytes} [Mon Apr 13 10:28:05 2015] GET /?sKey=05e9056b7d4b3139f7455225e109c52b7063a82c&oid=13577281&mn=1204581&firstName=Julia&lastName=Poi%DF&mail=e1204581%40student%2Etuwien%2Eac%2Eat => generated 79823 bytes in 65 msecs (HTTP/1.1 500) 2 headers in 77 bytes (11 switches on core 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment