{"action":"created","issue":{"url":"https://api.github.com/repos/ludios/grab-site/issues/64","labels_url":"https://api.github.com/repos/ludios/grab-site/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/ludios/grab-site/issues/64/comments","events_url":"https://api.github.com/repos/ludios/grab-site/issues/64/events","html_url":"https://github.com/ludios/grab-site/issues/64","id":124282527,"number":64,"title":"OS X 10.11: default US-ASCII codec breaks click","user":{"login":"rwoodpecker","id":604548,"avatar_url":"https://avatars.githubusercontent.com/u/604548?v=3","gravatar_id":"","url":"https://api.github.com/users/rwoodpecker","html_url":"https://github.com/rwoodpecker","followers_url":"https://api.github.com/users/rwoodpecker/followers","following_url":"https://api.github.com/users/rwoodpecker/following{/other_user}","gists_url":"https://api.github.com/users/rwoodpecker/gists{/gist_id}","starred_url":"https://api.github.com/users/rwoodpecker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwoodpecker/subscriptions","organizations_url":"https://api.github.com/users/rwoodpecker/orgs","repos_url":"https://api.github.com/users/rwoodpecker/repos","events_url":"https://api.github.com/users/rwoodpecker/events{/privacy}","received_events_url":"https://api.github.com/users/rwoodpecker/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-12-29T23:27:11Z","updated_at":"2015-12-30T02:50:03Z","closed_at":null,"body":"I've just tried running grab-site on OSX (after having no problems on Linux) and regardless of what I input, for example grab-site and grab-site http://www.google.com I get the following:\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/Volumes/Macintosh HD/Users/user/Library/Python/3.4/bin/grab-site\", line 4, in <module>\r\n    main.main()\r\n  File \"/Volumes/Macintosh HD/Users/user/Library/Python/3.4/lib/python/site-packages/click/core.py\", line 716, in __call__\r\n    return self.main(*args, **kwargs)\r\n  File \"/Volumes/Macintosh HD/Users/user/Library/Python/3.4/lib/python/site-packages/click/core.py\", line 675, in main\r\n    _verify_python3_env()\r\n  File \"/Volumes/Macintosh HD/Users/user/Library/Python/3.4/lib/python/site-packages/click/_unicodefun.py\", line 69, in _verify_python3_env\r\n    if locale.lower().endswith(('.utf-8', '.utf8')):\r\nTypeError: 'str' does not support the buffer interface\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/ludios/grab-site/issues/comments/167922469","html_url":"https://github.com/ludios/grab-site/issues/64#issuecomment-167922469","issue_url":"https://api.github.com/repos/ludios/grab-site/issues/64","id":167922469,"user":{"login":"ivan","id":4458,"avatar_url":"https://avatars.githubusercontent.com/u/4458?v=3","gravatar_id":"","url":"https://api.github.com/users/ivan","html_url":"https://github.com/ivan","followers_url":"https://api.github.com/users/ivan/followers","following_url":"https://api.github.com/users/ivan/following{/other_user}","gists_url":"https://api.github.com/users/ivan/gists{/gist_id}","starred_url":"https://api.github.com/users/ivan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivan/subscriptions","organizations_url":"https://api.github.com/users/ivan/orgs","repos_url":"https://api.github.com/users/ivan/repos","events_url":"https://api.github.com/users/ivan/events{/privacy}","received_events_url":"https://api.github.com/users/ivan/received_events","type":"User","site_admin":false},"created_at":"2015-12-30T02:50:03Z","updated_at":"2015-12-30T02:50:03Z","body":"OK, I have played around with OS X 10.11 some more and it looks like you want \"Set locale environment variables on startup\" **checked** in Terminal.app -> Profiles -> Advanced.  That was the default here on a clean OS X 10.11 install.  Text encoding should be Unicode (UTF-8).  Not sure what the iTerm 2 equivalent of these settings are."}}