Pylons/webob — Issue #28: UnicodeDecodeError: 'utf8' codec can't decode bytes in position 112-115: invalid data
Author: cvacubo
Created: 2012-02-09 01:45:01+00:00
State: open

2012-02-08 17:01:31,058 ..... user_agent=Mozilla%2F5.0+%28Linux%3B+U%3B+Android+2.3.4%3B+es-us%3B+X500+Build%2FGINGERBREAD%29+AppleWebKit%2F533.1+%28KHTML%2C+como+Gecko%29+versi%F3n%2F4.0+Mobile+Safari%2F533.1
Traceback (most recent call last):
File "/opt/runenv/lib/python2.6/site-packages/pyramid_exclog-0.5-py2.6.egg/pyramid_exclog/__init__.py", line 40, in exclog_tween
return handler(request)
File "/opt/runenv/lib/python2.6/site-packages/pyramid-1.2.1-py2.6.egg/pyramid/tweens.py", line 17, in excview_tween
response = handler(request)
File "/opt/runenv/lib/python2.6/site-packages/pyramid_tm-0.3-py2.6.egg/pyramid_tm/__init__.py", line 61, in tm_tween
response = handler(request)
File "/opt/runenv/lib/python2.6/site-packages/pyramid-1.2.1-py2.6.egg/pyramid/router.py", line 153, in handle_request
response = view_callable(context, request)
File "/opt/runenv/lib/python2.6/site-packages/pyramid-1.2.1-py2.6.egg/pyramid/config/views.py", line 266, in attr_view
return view(context, request)
File "/opt/runenv/lib/python2.6/site-packages/pyramid-1.2.1-py2.6.egg/pyramid/config/views.py", line 239, in predicate_wrapper
return view(context, request)
File "/opt/runenv/lib/python2.6/site-packages/pyramid-1.2.1-py2.6.egg/pyramid/config/views.py", line 292, in rendered_view
result = view(context, request)
File "/opt/runenv/lib/python2.6/site-packages/pyramid-1.2.1-py2.6.egg/pyramid/config/views.py", line 402, in _requestonly_view
response = view(request)
File "/opt/runenv/lib/python2.6/site-packages/offerservice-0.1-py2.6.egg/offerservice/views/adserver.py", line 233, in pick_banner
q = request_logging.convert_multidict_to_dict(request.params)
File "build/bdist.linux-x86_64/egg/webob/request.py", line 794, in params
params = NestedMultiDict(self.GET, self.POST)
File "build/bdist.linux-x86_64/egg/webob/request.py", line 776, in GET
vars = GetDict(data, env)
File "build/bdist.linux-x86_64/egg/webob/multidict.py", line 273, in __init__
MultiDict.__init__(self, data)
File "build/bdist.linux-x86_64/egg/webob/multidict.py", line 37, in __init__
items = list(args[0])
File "build/bdist.linux-x86_64/egg/webob/compat.py", line 124, in parse_qsl_text
yield (x.decode(encoding), y.decode(encoding))
File "/opt/runenv/lib/python2.6/encodings/utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 112-115: invalid data