GitHub PullRequestEvent at 2014-11-07 12:46:44
Repository: py-googlemaps
Actor: nicolas-pantel
Payload: {"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/Polyconseil/py-googlemaps/pulls/1","id":24050632,"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","issue_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/issues/1","number":1,"state":"open","locked":false,"title":"fix urlencode","user":{"login":"nicolas-pantel","id":3006178,"avatar_url":"https://avatars.githubusercontent.com/u/3006178?v=2","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},"body":"erreur après modif:\r\n\r\nTraceback (most recent call last):\r\n  File \"test/test_googlemaps.py\", line 49, in test_geocode\r\n    results = gmaps.geocode(addr)\r\n  File \"/home/dev-polyconseil/autolib/py-googlemaps/googlemaps/googlemaps.py\", line 237, in geocode\r\n    self._GEOCODE_QUERY_URL, params=params, client_id=self.client_id, secret_key=self.secret_key)\r\n  File \"/home/dev-polyconseil/autolib/py-googlemaps/googlemaps/googlemaps.py\", line 65, in fetch_json\r\n    params = dict((k.decode('utf8'), v.decode('utf8')) for k, v in params.items())\r\n  File \"/home/dev-polyconseil/autolib/py-googlemaps/googlemaps/googlemaps.py\", line 65, in <genexpr>\r\n    params = dict((k.decode('utf8'), v.decode('utf8')) for k, v in params.items())\r\n  File \"/home/dev-polyconseil/virtualenv/py-googlemaps/lib/python2.7/encodings/utf_8.py\", line 16, in decode\r\n    return codecs.utf_8_decode(input, errors, True)\r\nUnicodeEncodeError: 'ascii' codec can't encode character u'\\xe9' in position 12: ordinal not in range(128)\r\n\r\nerreur avant modif:\r\n\r\nFile \"autoslave/util/selftest/views.py\", line 74, in do_geocode\r\n    forward = geocoding.geocode(u\"5 rue Édouard VII, 75009 Paris\", timeout=3)\r\n  File \"bluetils/geo/geocoding.py\", line 30, in geocode\r\n    return backend.geocode(full_address, include_address=include_address)\r\n  File \"bluetils/geo/backends/gmaps.py\", line 110, in geocode\r\n    results = self.gmaps.geocode(full_address)\r\n  File \"python2.6/googlemaps.py\", line 235, in geocode\r\n    self._GEOCODE_QUERY_URL, params=params, client_id=self.client_id, secret_key=self.secret_key)\r\n  File \"python2.6/googlemaps.py\", line 64, in fetch_json\r\n    encoded_params = urlencode(params)\r\n  File \"python2.6/urllib.py\", line 1269, in urlencode\r\n    v = quote_plus(str(v))","created_at":"2014-11-07T12:46:44Z","updated_at":"2014-11-07T12:46:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/pulls/comments/{number}","comments_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/issues/1/comments","statuses_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/statuses/d619deafb8e33c608a62597c9155fb20dfce5ac2","head":{"label":"Polyconseil:NicoP/urlencode","ref":"NicoP/urlencode","sha":"d619deafb8e33c608a62597c9155fb20dfce5ac2","user":{"login":"Polyconseil","id":818669,"avatar_url":"https://avatars.githubusercontent.com/u/818669?v=2","gravatar_id":"","url":"https://api.github.com/users/Polyconseil","html_url":"https://github.com/Polyconseil","followers_url":"https://api.github.com/users/Polyconseil/followers","following_url":"https://api.github.com/users/Polyconseil/following{/other_user}","gists_url":"https://api.github.com/users/Polyconseil/gists{/gist_id}","starred_url":"https://api.github.com/users/Polyconseil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Polyconseil/subscriptions","organizations_url":"https://api.github.com/users/Polyconseil/orgs","repos_url":"https://api.github.com/users/Polyconseil/repos","events_url":"https://api.github.com/users/Polyconseil/events{/privacy}","received_events_url":"https://api.github.com/users/Polyconseil/received_events","type":"Organization","site_admin":false},"repo":{"id":5613847,"name":"py-googlemaps","full_name":"Polyconseil/py-googlemaps","owner":{"login":"Polyconseil","id":818669,"avatar_url":"https://avatars.githubusercontent.com/u/818669?v=2","gravatar_id":"","url":"https://api.github.com/users/Polyconseil","html_url":"https://github.com/Polyconseil","followers_url":"https://api.github.com/users/Polyconseil/followers","following_url":"https://api.github.com/users/Polyconseil/following{/other_user}","gists_url":"https://api.github.com/users/Polyconseil/gists{/gist_id}","starred_url":"https://api.github.com/users/Polyconseil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Polyconseil/subscriptions","organizations_url":"https://api.github.com/users/Polyconseil/orgs","repos_url":"https://api.github.com/users/Polyconseil/repos","events_url":"https://api.github.com/users/Polyconseil/events{/privacy}","received_events_url":"https://api.github.com/users/Polyconseil/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Polyconseil/py-googlemaps","description":"GitHub copy of http://py-googlemaps.sourceforge.net/","fork":true,"url":"https://api.github.com/repos/Polyconseil/py-googlemaps","forks_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/forks","keys_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/teams","hooks_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/hooks","issue_events_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/issues/events{/number}","events_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/events","assignees_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/assignees{/user}","branches_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/branches{/branch}","tags_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/tags","blobs_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/git/refs{/sha}","trees_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/statuses/{sha}","languages_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/languages","stargazers_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/stargazers","contributors_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/contributors","subscribers_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/subscribers","subscription_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/subscription","commits_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/commits{/sha}","git_commits_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/git/commits{/sha}","comments_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/comments{/number}","issue_comment_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/issues/comments/{number}","contents_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/contents/{+path}","compare_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/merges","archive_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/downloads","issues_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/issues{/number}","pulls_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/pulls{/number}","milestones_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/milestones{/number}","notifications_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/labels{/name}","releases_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/releases{/id}","created_at":"2012-08-30T11:11:21Z","updated_at":"2014-06-30T11:53:00Z","pushed_at":"2014-11-07T12:43:29Z","git_url":"git://github.com/Polyconseil/py-googlemaps.git","ssh_url":"git@github.com:Polyconseil/py-googlemaps.git","clone_url":"https://github.com/Polyconseil/py-googlemaps.git","svn_url":"https://github.com/Polyconseil/py-googlemaps","homepage":"http://py-googlemaps.sourceforge.net/","size":228,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Polyconseil:master","ref":"master","sha":"44ad40d865ed6b921ac7a8e54d506e25232a084f","user":{"login":"Polyconseil","id":818669,"avatar_url":"https://avatars.githubusercontent.com/u/818669?v=2","gravatar_id":"","url":"https://api.github.com/users/Polyconseil","html_url":"https://github.com/Polyconseil","followers_url":"https://api.github.com/users/Polyconseil/followers","following_url":"https://api.github.com/users/Polyconseil/following{/other_user}","gists_url":"https://api.github.com/users/Polyconseil/gists{/gist_id}","starred_url":"https://api.github.com/users/Polyconseil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Polyconseil/subscriptions","organizations_url":"https://api.github.com/users/Polyconseil/orgs","repos_url":"https://api.github.com/users/Polyconseil/repos","events_url":"https://api.github.com/users/Polyconseil/events{/privacy}","received_events_url":"https://api.github.com/users/Polyconseil/received_events","type":"Organization","site_admin":false},"repo":{"id":5613847,"name":"py-googlemaps","full_name":"Polyconseil/py-googlemaps","owner":{"login":"Polyconseil","id":818669,"avatar_url":"https://avatars.githubusercontent.com/u/818669?v=2","gravatar_id":"","url":"https://api.github.com/users/Polyconseil","html_url":"https://github.com/Polyconseil","followers_url":"https://api.github.com/users/Polyconseil/followers","following_url":"https://api.github.com/users/Polyconseil/following{/other_user}","gists_url":"https://api.github.com/users/Polyconseil/gists{/gist_id}","starred_url":"https://api.github.com/users/Polyconseil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Polyconseil/subscriptions","organizations_url":"https://api.github.com/users/Polyconseil/orgs","repos_url":"https://api.github.com/users/Polyconseil/repos","events_url":"https://api.github.com/users/Polyconseil/events{/privacy}","received_events_url":"https://api.github.com/users/Polyconseil/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Polyconseil/py-googlemaps","description":"GitHub copy of http://py-googlemaps.sourceforge.net/","fork":true,"url":"https://api.github.com/repos/Polyconseil/py-googlemaps","forks_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/forks","keys_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/teams","hooks_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/hooks","issue_events_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/issues/events{/number}","events_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/events","assignees_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/assignees{/user}","branches_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/branches{/branch}","tags_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/tags","blobs_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/git/refs{/sha}","trees_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/statuses/{sha}","languages_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/languages","stargazers_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/stargazers","contributors_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/contributors","subscribers_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/subscribers","subscription_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/subscription","commits_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/commits{/sha}","git_commits_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/git/commits{/sha}","comments_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/comments{/number}","issue_comment_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/issues/comments/{number}","contents_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/contents/{+path}","compare_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/merges","archive_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/downloads","issues_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/issues{/number}","pulls_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/pulls{/number}","milestones_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/milestones{/number}","notifications_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/labels{/name}","releases_url":"https://api.github.com/repos/Polyconseil/py-googlemaps/releases{/id}","created_at":"2012-08-30T11:11:21Z","updated_at":"2014-06-30T11:53:00Z","pushed_at":"2014-11-07T12:43:29Z","git_url":"git://github.com/Polyconseil/py-googlemaps.git","ssh_url":"git@github.com:Polyconseil/py-googlemaps.git","clone_url":"https://github.com/Polyconseil/py-googlemaps.git","svn_url":"https://github.com/Polyconseil/py-googlemaps","homepage":"http://py-googlemaps.sourceforge.net/","size":228,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Polyconseil/py-googlemaps/pulls/1"},"html":{"href":"https://github.com/Polyconseil/py-googlemaps/pull/1"},"issue":{"href":"https://api.github.com/repos/Polyconseil/py-googlemaps/issues/1"},"comments":{"href":"https://api.github.com/repos/Polyconseil/py-googlemaps/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Polyconseil/py-googlemaps/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Polyconseil/py-googlemaps/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/Polyconseil/py-googlemaps/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Polyconseil/py-googlemaps/statuses/d619deafb8e33c608a62597c9155fb20dfce5ac2"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":9,"deletions":6,"changed_files":2}}