{"action":"created","issue":{"url":"https://api.github.com/repos/snarfed/bridgy/issues/548","labels_url":"https://api.github.com/repos/snarfed/bridgy/issues/548/labels{/name}","comments_url":"https://api.github.com/repos/snarfed/bridgy/issues/548/comments","events_url":"https://api.github.com/repos/snarfed/bridgy/issues/548/events","html_url":"https://github.com/snarfed/bridgy/issues/548","id":117520487,"number":548,"title":"ascii codec can't decode Snoøpy","user":{"login":"kylewm","id":950127,"avatar_url":"https://avatars.githubusercontent.com/u/950127?v=3","gravatar_id":"","url":"https://api.github.com/users/kylewm","html_url":"https://github.com/kylewm","followers_url":"https://api.github.com/users/kylewm/followers","following_url":"https://api.github.com/users/kylewm/following{/other_user}","gists_url":"https://api.github.com/users/kylewm/gists{/gist_id}","starred_url":"https://api.github.com/users/kylewm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kylewm/subscriptions","organizations_url":"https://api.github.com/users/kylewm/orgs","repos_url":"https://api.github.com/users/kylewm/repos","events_url":"https://api.github.com/users/kylewm/events{/privacy}","received_events_url":"https://api.github.com/users/kylewm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-18T06:17:05Z","updated_at":"2015-11-18T06:36:09Z","closed_at":null,"body":"I got a HTTP 500 trying to go to https://brid.gy/facebook/Sno%C3%B8py%20Barrett\r\n```\r\n'ascii' codec can't decode byte 0xc3 in position 3: ordinal not in range(128)\r\nTraceback (most recent call last):\r\n  File \"/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py\", line 1511, in __call__\r\n    rv = self.handle_exception(request, response, e)\r\n  File \"/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py\", line 1505, in __call__\r\n    rv = self.router.dispatch(request, response)\r\n  File \"/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py\", line 1253, in default_dispatcher\r\n    return route.handler_adapter(request, response)\r\n  File \"/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py\", line 1077, in __call__\r\n    return handler.dispatch()\r\n  File \"/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py\", line 547, in dispatch\r\n    return self.handle_exception(e, self.app.debug)\r\n  File \"/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py\", line 545, in dispatch\r\n    return method(*args, **kwargs)\r\n  File \"/base/data/home/apps/s~brid-gy/7.388648060844813690/local/lib/python2.7/site-packages/oauth_dropins/webutil/handlers.py\", line 70, in wrapper\r\n    return method(self, *args)\r\n  File \"/base/data/home/apps/s~brid-gy/7.388648060844813690/app.py\", line 202, in get\r\n    ).get(keys_only=True)\r\n  File \"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/ndb/query.py\", line 1222, in get\r\n    return self.get_async(**q_options).get_result()\r\n  File \"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/ndb/tasklets.py\", line 326, in get_result\r\n    self.check_success()\r\n  File \"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/ndb/tasklets.py\", line 369, in _help_tasklet_along\r\n    value = gen.throw(exc.__class__, exc, tb)\r\n  File \"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/ndb/query.py\", line 1235, in _get_async\r\n    res = yield self.fetch_async(1, **q_options)\r\n  File \"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/ndb/context.py\", line 876, in helper\r\n    batch, i, ent = yield inq.getq()\r\n  File \"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/ndb/query.py\", line 931, in run_to_queue\r\n    yield multiquery.run_to_queue(queue, conn, options=options)\r\n  File \"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/ndb/tasklets.py\", line 369, in _help_tasklet_along\r\n    value = gen.throw(exc.__class__, exc, tb)\r\n  File \"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/ndb/query.py\", line 1930, in run_to_queue\r\n    batch, index, result = yield subit.getq()\r\n  File \"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/ndb/query.py\", line 935, in run_to_queue\r\n    dsquery = self._get_query(conn)\r\n  File \"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/ndb/query.py\", line 908, in _get_query\r\n    filters = filters._to_filter()\r\n  File \"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/ndb/query.py\", line 515, in _to_filter\r\n    self.__opsymbol, value)\r\n  File \"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/datastore/datastore_query.py\", line 112, in make_filter\r\n    properties = datastore_types.ToPropertyPb(name, values)\r\n  File \"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/datastore_types.py\", line 1778, in ToPropertyPb\r\n    pbvalue = pack_prop(name, v, pb.mutable_value())\r\n  File \"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/datastore_types.py\", line 1581, in PackString\r\n    pbvalue.set_stringvalue(unicode(value).encode('utf-8'))\r\nUnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 3: ordinal not in range(128)\r\n```"},"comment":{"url":"https://api.github.com/repos/snarfed/bridgy/issues/comments/157619641","html_url":"https://github.com/snarfed/bridgy/issues/548#issuecomment-157619641","issue_url":"https://api.github.com/repos/snarfed/bridgy/issues/548","id":157619641,"user":{"login":"snarfed","id":778068,"avatar_url":"https://avatars.githubusercontent.com/u/778068?v=3","gravatar_id":"","url":"https://api.github.com/users/snarfed","html_url":"https://github.com/snarfed","followers_url":"https://api.github.com/users/snarfed/followers","following_url":"https://api.github.com/users/snarfed/following{/other_user}","gists_url":"https://api.github.com/users/snarfed/gists{/gist_id}","starred_url":"https://api.github.com/users/snarfed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snarfed/subscriptions","organizations_url":"https://api.github.com/users/snarfed/orgs","repos_url":"https://api.github.com/users/snarfed/repos","events_url":"https://api.github.com/users/snarfed/events{/privacy}","received_events_url":"https://api.github.com/users/snarfed/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T06:36:09Z","updated_at":"2015-11-18T06:36:09Z","body":"ooh good catch! definitely a bug."}}