UnicodeDecodeError: 'utf8' codec can't decode byte 0xe3 in position 6

252 views
Skip to first unread message

Nagaraju Devisetti

unread,
Jul 18, 2018, 1:39:17 AM7/18/18
to Google App Engine

(/base/alloc/tmpfs/dynamic_runtimes/python27/b93f87cfaa0115e5_unzipped/python27_lib/versions/1/google/appengine/runtime/wsgi.py:279) Traceback (most recent call last): File "/base/alloc/tmpfs/dynamic_runtimes/python27/b93f87cfaa0115e5_unzipped/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 268, in Handle for chunk in result: File "/base/alloc/tmpfs/dynamic_runtimes/python27/b93f87cfaa0115e5_unzipped/python27_lib/versions/1/google/appengine/ext/appstats/recording.py", line 1287, in appstats_wsgi_wrapper result = app(environ, appstats_start_response) File "/base/data/home/apps/s~deliveryby/20180709t1130.411005849089989942/pyramid/router.py", line 242, in __call__ response = self.invoke_subrequest(request, use_tweens=True) File "/base/data/home/apps/s~deliveryby/20180709t1130.411005849089989942/pyramid/router.py", line 217, in invoke_subrequest response = handle_request(request) File "/base/data/home/apps/s~deliveryby/20180709t1130.411005849089989942/pyramid/tweens.py", line 46, in excview_tween response = view_callable(exc, request) File "/base/data/home/apps/s~deliveryby/20180709t1130.411005849089989942/pyramid/config/views.py", line 385, in viewresult_to_response result = view(context, request) File "/base/data/home/apps/s~deliveryby/20180709t1130.411005849089989942/pyramid/tweens.py", line 21, in excview_tween response = handler(request) File "/base/data/home/apps/s~deliveryby/20180709t1130.411005849089989942/pyramid/router.py", line 163, in handle_request response = view_callable(context, request) File "/base/data/home/apps/s~deliveryby/20180709t1130.411005849089989942/pyramid/config/views.py", line 245, in _secured_view return view(context, request) File "/base/data/home/apps/s~deliveryby/20180709t1130.411005849089989942/pyramid/config/views.py", line 355, in rendered_view result = view(context, request) File "/base/data/home/apps/s~deliveryby/20180709t1130.411005849089989942/pyramid/config/views.py", line 501, in _requestonly_view response = view(request) File "/base/data/home/apps/s~deliveryby/20180709t1130.411005849089989942/muncommds/views.py", line 8011, in Callcenter form = PurchaseForm(request.POST, purchase) File "/base/data/home/apps/s~deliveryby/20180709t1130.411005849089989942/webob/request.py", line 808, in POST vars = MultiDict.from_fieldstorage(fs) File "/base/data/home/apps/s~deliveryby/20180709t1130.411005849089989942/webob/multidict.py", line 92, in from_fieldstorage obj.add(field.name, decode(value)) File "/base/data/home/apps/s~deliveryby/20180709t1130.411005849089989942/webob/multidict.py", line 78, in <lambda> decode = lambda b: b.decode(charset) File "/base/alloc/tmpfs/dynamic_runtimes/python27/b93f87cfaa0115e5_unzipped/python27_dist/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xe3 in position 6: invalid continuation byte

Kenworth (Google Cloud Platform)

unread,
Jul 18, 2018, 10:04:59 AM7/18/18
to google-a...@googlegroups.com
It seems the logs are explicitly pointing towards an encoding/decoding issue. A quick search shows it can be a simple having non-UTF8 character on computer(host) name, a library that used a non-UTF8 char, and the like. At all cases, the solution is to find what caused the encoding to fail.

Unfortunately, a thread like this is off-topic for Google Groups, and should be posted to
StackOverflow (or GitHub if a library issue). This forum isn't meant for specific 1-on-1 technical issues, but for general discussion of the platform and its services. With StackOverflow, which we also monitor, you'll be in touch with a much larger user-base of people who are going to help you, and in a format which is designed for that purpose. Check out our community support page for the list of tags we monitor and this StackOverflow How-To-Ask guidelines.
Reply all
Reply to author
Forward
0 new messages