{"action":"created","issue":{"url":"https://api.github.com/repos/ViDA-NYU/reprozip/issues/118","labels_url":"https://api.github.com/repos/ViDA-NYU/reprozip/issues/118/labels{/name}","comments_url":"https://api.github.com/repos/ViDA-NYU/reprozip/issues/118/comments","events_url":"https://api.github.com/repos/ViDA-NYU/reprozip/issues/118/events","html_url":"https://github.com/ViDA-NYU/reprozip/issues/118","id":85812852,"number":118,"title":"`unknown encoding: idna` from report submission","user":{"login":"remram44","id":426784,"avatar_url":"https://avatars.githubusercontent.com/u/426784?v=3","gravatar_id":"","url":"https://api.github.com/users/remram44","html_url":"https://github.com/remram44","followers_url":"https://api.github.com/users/remram44/followers","following_url":"https://api.github.com/users/remram44/following{/other_user}","gists_url":"https://api.github.com/users/remram44/gists{/gist_id}","starred_url":"https://api.github.com/users/remram44/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remram44/subscriptions","organizations_url":"https://api.github.com/users/remram44/orgs","repos_url":"https://api.github.com/users/remram44/repos","events_url":"https://api.github.com/users/remram44/events{/privacy}","received_events_url":"https://api.github.com/users/remram44/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ViDA-NYU/reprozip/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/ViDA-NYU/reprozip/milestones/15","html_url":"https://github.com/ViDA-NYU/reprozip/milestones/0.6.4","labels_url":"https://api.github.com/repos/ViDA-NYU/reprozip/milestones/15/labels","id":1107280,"number":15,"title":"0.6.4","description":"","creator":{"login":"remram44","id":426784,"avatar_url":"https://avatars.githubusercontent.com/u/426784?v=3","gravatar_id":"","url":"https://api.github.com/users/remram44","html_url":"https://github.com/remram44","followers_url":"https://api.github.com/users/remram44/followers","following_url":"https://api.github.com/users/remram44/following{/other_user}","gists_url":"https://api.github.com/users/remram44/gists{/gist_id}","starred_url":"https://api.github.com/users/remram44/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remram44/subscriptions","organizations_url":"https://api.github.com/users/remram44/orgs","repos_url":"https://api.github.com/users/remram44/repos","events_url":"https://api.github.com/users/remram44/events{/privacy}","received_events_url":"https://api.github.com/users/remram44/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":1,"state":"open","created_at":"2015-05-12T18:18:33Z","updated_at":"2015-06-06T21:12:49Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-06-06T21:12:48Z","updated_at":"2015-06-07T04:45:46Z","closed_at":null,"body":"At the end of a trace:\r\n```\r\nTraceback (most recent call last):\r\n  File \"/usr/bin/reprozip\", line 9, in <module>\r\n    load_entry_point('reprozip==0.6.2', 'console_scripts', 'reprozip')()\r\n  File \"/usr/lib64/python2.7/site-packages/reprozip/main.py\", line 328, in main\r\n    submit_usage_report(result=type(e).__name__)\r\n  File \"/usr/lib64/python2.7/site-packages/reprozip/common.py\", line 390, in submit_usage_report\r\n    usagestats.PYTHON_VERSION)\r\n  File \"/usr/lib/python2.7/site-packages/usagestats.py\", line 260, in submit\r\n    timeout=1, verify=self.ssl_verify)\r\n  File \"/usr/lib/python2.7/site-packages/requests/api.py\", line 88, in post\r\n    return request('post', url, data=data, **kwargs)\r\n  File \"/usr/lib/python2.7/site-packages/requests/api.py\", line 44, in request\r\n    return session.request(method=method, url=url, **kwargs)\r\n  File \"/usr/lib/python2.7/site-packages/requests/sessions.py\", line 422, in request\r\n    prep = self.prepare_request(req)\r\n  File \"/usr/lib/python2.7/site-packages/requests/sessions.py\", line 360, in prepare_request\r\n    hooks=merge_hooks(request.hooks, self.hooks),\r\n  File \"/usr/lib/python2.7/site-packages/requests/models.py\", line 294, in prepare\r\n    self.prepare_url(url, params)\r\n  File \"/usr/lib/python2.7/site-packages/requests/models.py\", line 352, in prepare_url\r\n    host = host.encode('idna').decode('utf-8')\r\nLookupError: unknown encoding: idna\r\n```\r\nrequests is 2.3.0, on Fedora 21."},"comment":{"url":"https://api.github.com/repos/ViDA-NYU/reprozip/issues/comments/109690156","html_url":"https://github.com/ViDA-NYU/reprozip/issues/118#issuecomment-109690156","issue_url":"https://api.github.com/repos/ViDA-NYU/reprozip/issues/118","id":109690156,"user":{"login":"remram44","id":426784,"avatar_url":"https://avatars.githubusercontent.com/u/426784?v=3","gravatar_id":"","url":"https://api.github.com/users/remram44","html_url":"https://github.com/remram44","followers_url":"https://api.github.com/users/remram44/followers","following_url":"https://api.github.com/users/remram44/following{/other_user}","gists_url":"https://api.github.com/users/remram44/gists{/gist_id}","starred_url":"https://api.github.com/users/remram44/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remram44/subscriptions","organizations_url":"https://api.github.com/users/remram44/orgs","repos_url":"https://api.github.com/users/remram44/repos","events_url":"https://api.github.com/users/remram44/events{/privacy}","received_events_url":"https://api.github.com/users/remram44/received_events","type":"User","site_admin":false},"created_at":"2015-06-07T04:45:46Z","updated_at":"2015-06-07T04:45:46Z","body":"`u'test'.encode('idna')` works fine on the same machine if run directly in the interactive interpreter. What is going on?"}}