{"action":"created","issue":{"url":"https://api.github.com/repos/Polyconseil/py-googlemaps/issues/1","repository_url":"https://api.github.com/repos/Polyconseil/py-googlemaps","labels_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/issues/1/comments","events_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/issues/1/events","html_url":"https://github.com/Polyconseil/py-googlemaps/pull/1","id":48078156,"number":1,"title":"fix urlencode","user":{"login":"nicolas-pantel","id":3006178,"avatar_url":"https://avatars.githubusercontent.com/u/3006178?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolas-pantel","html_url":"https://github.com/nicolas-pantel","followers_url":"https://api.github.com/users/nicolas-pantel/followers","following_url":"https://api.github.com/users/nicolas-pantel/following{/other_user}","gists_url":"https://api.github.com/users/nicolas-pantel/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolas-pantel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolas-pantel/subscriptions","organizations_url":"https://api.github.com/users/nicolas-pantel/orgs","repos_url":"https://api.github.com/users/nicolas-pantel/repos","events_url":"https://api.github.com/users/nicolas-pantel/events{/privacy}","received_events_url":"https://api.github.com/users/nicolas-pantel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2014-11-07T12:46:44Z","updated_at":"2016-12-12T14:34:15Z","closed_at":"2016-12-12T14:34:15Z","pull_request":{"url":"https://api.github.com/repos/Polyconseil/py-googlemaps/pulls/1","html_url":"https://github.com/Polyconseil/py-googlemaps/pull/1","diff_url":"https://github.com/Polyconseil/py-googlemaps/pull/1.diff","patch_url":"https://github.com/Polyconseil/py-googlemaps/pull/1.patch"},"body":"erreur après modif:\n\nTraceback (most recent call last):\n  File \"test/test_googlemaps.py\", line 49, in test_geocode\n    results = gmaps.geocode(addr)\n  File \"/home/dev-polyconseil/autolib/py-googlemaps/googlemaps/googlemaps.py\", line 237, in geocode\n    self._GEOCODE_QUERY_URL, params=params, client_id=self.client_id, secret_key=self.secret_key)\n  File \"/home/dev-polyconseil/autolib/py-googlemaps/googlemaps/googlemaps.py\", line 65, in fetch_json\n    params = dict((k.decode('utf8'), v.decode('utf8')) for k, v in params.items())\n  File \"/home/dev-polyconseil/autolib/py-googlemaps/googlemaps/googlemaps.py\", line 65, in <genexpr>\n    params = dict((k.decode('utf8'), v.decode('utf8')) for k, v in params.items())\n  File \"/home/dev-polyconseil/virtualenv/py-googlemaps/lib/python2.7/encodings/utf_8.py\", line 16, in decode\n    return codecs.utf_8_decode(input, errors, True)\nUnicodeEncodeError: 'ascii' codec can't encode character u'\\xe9' in position 12: ordinal not in range(128)\n\nerreur avant modif:\n\nFile \"autoslave/util/selftest/views.py\", line 74, in do_geocode\n    forward = geocoding.geocode(u\"5 rue Édouard VII, 75009 Paris\", timeout=3)\n  File \"bluetils/geo/geocoding.py\", line 30, in geocode\n    return backend.geocode(full_address, include_address=include_address)\n  File \"bluetils/geo/backends/gmaps.py\", line 110, in geocode\n    results = self.gmaps.geocode(full_address)\n  File \"python2.6/googlemaps.py\", line 235, in geocode\n    self._GEOCODE_QUERY_URL, params=params, client_id=self.client_id, secret_key=self.secret_key)\n  File \"python2.6/googlemaps.py\", line 64, in fetch_json\n    encoded_params = urlencode(params)\n  File \"python2.6/urllib.py\", line 1269, in urlencode\n    v = quote_plus(str(v))\n"},"comment":{"url":"https://api.github.com/repos/Polyconseil/py-googlemaps/issues/comments/266445570","html_url":"https://github.com/Polyconseil/py-googlemaps/pull/1#issuecomment-266445570","issue_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/issues/1","id":266445570,"user":{"login":"fbochu","id":2640288,"avatar_url":"https://avatars.githubusercontent.com/u/2640288?v=3","gravatar_id":"","url":"https://api.github.com/users/fbochu","html_url":"https://github.com/fbochu","followers_url":"https://api.github.com/users/fbochu/followers","following_url":"https://api.github.com/users/fbochu/following{/other_user}","gists_url":"https://api.github.com/users/fbochu/gists{/gist_id}","starred_url":"https://api.github.com/users/fbochu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fbochu/subscriptions","organizations_url":"https://api.github.com/users/fbochu/orgs","repos_url":"https://api.github.com/users/fbochu/repos","events_url":"https://api.github.com/users/fbochu/events{/privacy}","received_events_url":"https://api.github.com/users/fbochu/received_events","type":"User","site_admin":false},"created_at":"2016-12-12T14:34:15Z","updated_at":"2016-12-12T14:34:15Z","body":"This PR seem to be stale, so I close it. If we need to fix the described bug, we will open a new PR."}}
{"actor":{"display_login":"fbochu"}}