New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 649465 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 649466
Owner: ----
Closed: Oct 2016
Cc:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug



Sign in to add a comment

Recipe engine doesn't handle weird responses from gitiles

Project Member Reported by martiniss@google.com, Sep 22 2016

Issue description

See https://luci-logdog.appspot.com/v/?s=chromium%2Fbb%2Ftryserver.chromium.android%2Fandroid_n5x_swarming_rel%2F34660%2F%2B%2Frecipes%2Fstderr for an example

  File "/b/.remote_run_cipd/recipe_engine/fetch.py", line 193, in checkout
    recipes_cfg_text = base64.b64decode(recipes_cfg_request.text)
  File "/usr/lib/python2.7/base64.py", line 73, in b64decode
    return binascii.a2b_base64(s)
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2019' in position 1467: ordinal not in range(128)

Exception above. This really shouldn't be happening; somehow requests is giving us some weird stuff, it looks like.

We should add some logging about these errors, and try to figure out what exactly is causing this error.
 
Project Member

Comment 1 by sheriffbot@chromium.org, Sep 23 2016

Labels: Hotlist-Google
Mergedinto: 649466
Status: Duplicate (was: ava)

Sign in to add a comment